files-tcg/decks/files-deck-1/program-front.css
Forrest fa1fcbadf3 Card design updates
Card CSS tweaks (execution, hardware, program, server fronts), a new
card-sheets.pdf, card art renamed from .jpg to .jpeg, and a backup of
the old turn card template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 14:21:45 -04:00

234 lines
5.3 KiB
CSS

/* ======================================================
Program card — software / terminal-window
Accent color driven by Type (V/B/G/P), matching Avatars.
====================================================== */
.card {
position: relative;
width: 750px;
height: 1050px;
box-sizing: border-box;
padding: 0;
overflow: hidden;
font-family: "Consolas", "Courier New", monospace;
background: #05070a;
--accent: #8b949e;
--accent-dk: #3a3f47;
--chamfer: 22px;
}
/* ----- Neon HUD outline (shared across card types) ----- */
.neon {
position: absolute;
inset: 13px;
z-index: 40;
pointer-events: none;
border: 3px solid var(--accent);
clip-path: polygon(
var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer)
);
box-shadow: 0 0 16px var(--accent), 0 0 6px var(--accent), inset 0 0 16px rgba(0,0,0,0.4);
}
/* Type-driven accent palette (shared with Avatar cards) */
.type-v { --accent: #3fb950; --accent-dk: #176b2c; } /* Virus */
.type-b { --accent: #ff5c5c; --accent-dk: #a11a1a; } /* Bug */
.type-g { --accent: #d264ff; --accent-dk: #7a1fb0; } /* Glitch */
.type-p { --accent: #4aa3ff; --accent-dk: #0b57c9; } /* Patch */
/* ----- Application window shell ----- */
.app {
position: absolute;
inset: 20px;
box-sizing: border-box;
border-radius: 16px;
padding: 0 0 24px;
color: #e6edf3;
background: linear-gradient(180deg, #2b2f36 0%, #1c1f25 100%);
box-shadow:
inset 0 0 60px rgba(0,0,0,0.55),
0 0 0 2px rgba(0,0,0,0.6),
0 10px 24px rgba(0,0,0,0.6);
overflow: hidden;
}
/* ----- Window title bar ----- */
.titlebar {
position: relative;
display: flex;
align-items: center;
gap: 16px;
height: 82px;
padding: 0 20px;
background: linear-gradient(180deg, #12161c 0%, #0a0d11 100%);
border-bottom: 2px solid var(--accent-dk);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.win-dots { display: flex; gap: 12px; flex: none; }
.win-dots i {
width: 20px;
height: 20px;
border-radius: 50%;
background: #2a2f36;
box-shadow: inset 0 0 3px rgba(0,0,0,0.7);
}
.win-dots i:first-child {
background: var(--accent);
box-shadow: 0 0 10px var(--accent), inset 0 0 3px rgba(0,0,0,0.4);
}
.app-name {
flex: 1;
font-size: 36px;
font-weight: 800;
letter-spacing: 1px;
text-transform: uppercase;
color: #f2f7fb;
text-shadow: 0 2px 4px #000;
line-height: 1.02;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.type-badge {
flex: none;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
font-size: 34px;
font-weight: 800;
color: #05070a;
background: var(--accent);
border: 3px solid #05070a;
box-shadow: 0 0 16px var(--accent);
}
/* ----- Toolbar: exec path + RAM chip ----- */
.toolbar {
position: relative;
display: flex;
align-items: center;
gap: 16px;
margin: 22px 24px 0;
padding: 14px 18px;
border-radius: 10px;
background: rgba(0,0,0,0.35);
border: 2px solid var(--accent-dk);
}
.path {
flex: 1;
font-size: 24px;
font-weight: 700;
letter-spacing: 1px;
color: var(--accent);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ram-chip {
flex: none;
min-width: 96px;
height: 60px;
padding: 0 16px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
border-radius: 8px;
color: #fff;
background: #0a0f14;
border: 3px solid var(--accent);
box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}
.ram-value {
font-size: 40px;
font-weight: 800;
line-height: 1;
text-shadow: 0 2px 3px rgba(0,0,0,0.7);
}
.ram-label {
font-size: 20px;
font-weight: 700;
letter-spacing: 2px;
color: var(--accent);
}
/* ----- Art viewport ----- */
.viewport {
position: relative;
margin: 22px 24px 0;
height: 500px;
border-radius: 10px;
overflow: hidden;
background: #020405;
border: 4px solid var(--accent-dk);
box-shadow: inset 0 0 0 3px rgba(0,0,0,0.6), 0 0 18px rgba(0,0,0,0.6);
}
.art {
width: 100%;
height: 100%;
display: block;
image-rendering: pixelated;
background-color: #ffffff;
background-image: url({{index assets card.image}});
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
/* ----- Console output / description ----- */
.console {
position: relative;
margin: 22px 24px 0;
min-height: 200px;
padding: 16px 18px;
border-radius: 10px;
background: rgba(0,0,0,0.4);
border: 2px dashed var(--accent-dk);
}
.console .prompt {
color: var(--accent);
font-weight: 800;
font-size: 24px;
margin-right: 8px;
}
.description {
margin: 6px 0 0;
font-size: 23px;
line-height: 1.4;
color: #eef5fb;
}
/* ----- Status bar footer ----- */
.statusbar {
position: absolute;
left: 24px;
right: 24px;
bottom: 18px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 20px;
font-weight: 700;
letter-spacing: 2px;
color: #8a9099;
}
.statusbar .run {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--accent);
}
.statusbar .run::before {
content: "";
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}