In this section
- Youengineer Code Review — World Cup Knockout Style Sheet render · youengineer-code-review / world-cup-knockout/styles.css lines 1–362
Youengineer Code Review — World Cup Knockout Style Sheet
A style sheet. Served with the page at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/.
renderyouengineer-code-review / world-cup-knockout/styles.css · lines 1–362 of 362 · Entry point
- What it does
- Side effects: changes the web page (DOM).
- Downstream impact
- Used directly by 1 file: Youengineer Code Review — World Cup Knockout Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/). Reached from 2 other entry points, including Civilisation Map (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/civilisation-map.html); Youengineer Code Review — Index Page (youengineer-code-review, https://ventusltd.github.io/youengineer-code-review/). It is itself an entry point, published at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/.
- What it achieves
- No statement of purpose was found in the file, a README line naming it, or its name.
- Why it matters
- Loaded by the World Cup Knockout page at https://ventusltd.github.io/youengineer-code-review/world-cup-knockout/.
- Application
- youengineer-code-review · world-cup-knockout · style sheet
- Uses
- none found
- Used by
- loaded by Youengineer Code Review — World Cup Knockout Page (stylesheet)
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- youengineer-code-review@929a6d4a955524122e4fd18bd3c85ceaf1a86c56 world-cup-knockout/styles.css:1-362 · blob 16728281a7205ed8ca7cb49236bc401c3fa4d697 · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: unknown · users: none · canonical: unknown
:root {
--bg: #111318;
--panel: #1b1e25;
--panel-2: #242832;
--line: #3b404d;
--text: #f3f5fb;
--muted: #a8afbf;
--accent: #b8ccff;
--accent-2: #00e5ff;
--gold: #ffcc66;
--danger: #ff6666;
--card-w: 218px;
--card-h: 128px;
--round-gap: 14px;
--col-gap: 62px;
--bracket-pad: 12px;
--title-offset: 38px;
}
* { box-sizing: border-box; }
html,
body {
margin: 0;
width: 100%;
min-height: 100%;
background: var(--bg);
color: var(--text);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
overflow: hidden;
}
button { font: inherit; }
.app-shell {
display: grid;
grid-template-rows: auto auto auto 1fr auto;
height: 100vh;
height: 100dvh;
padding: calc(env(safe-area-inset-top) + 10px) 10px calc(env(safe-area-inset-bottom) + 8px);
gap: 8px;
}
.topbar {
display: flex;
justify-content: space-between;
gap: 10px;
align-items: center;
border: 1px solid var(--line);
border-radius: 14px;
padding: 10px 12px;
background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}
.eyebrow {
margin: 0 0 3px;
color: var(--accent);
font-size: 0.66rem;
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
}
h1 {
margin: 0;
font-size: clamp(1.1rem, 4.2vw, 2rem);
line-height: 1.02;
}
.actions {
display: flex;
gap: 6px;
flex-shrink: 0;
}
.actions button,
.round-nav button {
border: 1px solid var(--line);
border-radius: 999px;
background: var(--panel-2);
color: var(--text);
padding: 8px 11px;
cursor: pointer;
}
.actions button:hover,
.round-nav button:hover,
.actions button:focus-visible,
.round-nav button:focus-visible {
border-color: var(--accent-2);
outline: none;
}
.round-nav {
display: flex;
gap: 6px;
overflow-x: auto;
padding-bottom: 2px;
scrollbar-width: none;
}
.round-nav::-webkit-scrollbar,
.bracket-wrap::-webkit-scrollbar { display: none; }
.round-nav button {
white-space: nowrap;
color: var(--muted);
font-size: 0.86rem;
}
.round-nav button.active {
border-color: var(--accent);
color: var(--text);
background: rgba(184, 204, 255, 0.15);
}
.scoreboard {
display: grid;
grid-template-columns: 1fr auto;
gap: 8px;
align-items: center;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--panel);
padding: 9px 11px;
}
.label {
display: block;
color: var(--muted);
font-size: 0.65rem;
font-weight: 800;
letter-spacing: 0.11em;
text-transform: uppercase;
}
#championName {
color: var(--gold);
font-size: 1.12rem;
}
.bracket-wrap {
min-height: 0;
overflow: auto;
overscroll-behavior: contain;
scroll-behavior: smooth;
border: 1px solid var(--line);
border-radius: 16px;
background: radial-gradient(circle at top left, rgba(184,204,255,0.12), transparent 30%), #0d0f14;
}
.bracket {
position: relative;
min-width: 100%;
min-height: 100%;
}
.connector-layer {
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
}
.connector-path {
fill: none;
stroke: rgba(184,204,255,0.33);
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.round-title {
position: absolute;
z-index: 3;
width: var(--card-w);
margin: 0;
padding: 5px 3px;
color: var(--accent);
background: linear-gradient(90deg, rgba(13,15,20,0.96), rgba(13,15,20,0.62));
font-size: 0.78rem;
letter-spacing: 0.07em;
text-transform: uppercase;
}
.match-card {
position: absolute;
z-index: 2;
width: var(--card-w);
height: var(--card-h);
overflow: hidden;
border: 1px solid var(--line);
border-radius: 13px;
background: rgba(36, 40, 50, 0.94);
box-shadow: 0 10px 20px rgba(0,0,0,0.24);
padding: 7px;
}
.match-meta {
display: flex;
justify-content: space-between;
gap: 6px;
color: var(--muted);
font-size: 0.62rem;
font-weight: 800;
margin-bottom: 4px;
}
.team-button {
display: grid;
grid-template-columns: 26px 1fr auto;
align-items: center;
gap: 7px;
width: 100%;
min-height: 32px;
border: 1px solid transparent;
border-radius: 10px;
background: transparent;
color: var(--text);
text-align: left;
cursor: pointer;
padding: 4px 5px;
transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.team-button:not(:disabled):hover,
.team-button:not(:disabled):focus-visible {
background: rgba(255,255,255,0.06);
border-color: var(--accent-2);
outline: none;
transform: translateX(2px);
}
.team-button:disabled {
color: #727b8f;
cursor: not-allowed;
}
.team-button.selected {
background: rgba(0, 229, 255, 0.12);
border-color: var(--accent-2);
}
.team-button.locked {
background: rgba(255, 204, 102, 0.12);
border-color: rgba(255, 204, 102, 0.55);
color: var(--text);
}
.flag {
display: grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 7px;
background: #111318;
font-size: 1rem;
}
.team-name {
font-size: 0.8rem;
font-weight: 800;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pick-indicator {
color: var(--gold);
font-weight: 900;
font-size: 0.82rem;
}
.team-tools {
display: flex;
gap: 4px;
margin: 2px 0 0 33px;
}
.team-tools a {
border: 1px solid var(--line);
border-radius: 999px;
color: var(--muted);
font-size: 0.52rem;
font-weight: 900;
letter-spacing: 0.05em;
padding: 1px 6px;
text-decoration: none;
text-transform: uppercase;
}
.team-tools a:hover,
.team-tools a:focus-visible {
border-color: var(--accent-2);
color: var(--accent-2);
outline: none;
}
.champion-card {
border-color: var(--gold);
background: linear-gradient(135deg, rgba(255,204,102,0.18), rgba(36,40,50,0.95));
}
.champion-card .team-button { cursor: default; }
.note {
color: var(--muted);
font-size: 0.64rem;
line-height: 1.3;
padding: 0 4px;
}
body.focus-mode .app-shell {
grid-template-rows: auto auto 1fr;
padding-top: calc(env(safe-area-inset-top) + 5px);
gap: 5px;
}
body.focus-mode .eyebrow,
body.focus-mode .scoreboard,
body.focus-mode .note { display: none; }
body.focus-mode .topbar {
padding: 7px 10px;
border-radius: 12px;
}
body.focus-mode h1 { font-size: clamp(0.96rem, 3.8vw, 1.25rem); }
body.focus-mode .round-nav { padding-bottom: 0; }
body.focus-mode .bracket-wrap { border-radius: 12px; }
@media (max-width: 720px) {
:root {
--card-w: 206px;
--card-h: 124px;
--round-gap: 12px;
--col-gap: 52px;
--bracket-pad: 10px;
--title-offset: 34px;
}
.app-shell {
padding-left: 7px;
padding-right: 7px;
}
.topbar { padding: 9px 10px; }
.actions { flex-direction: column; }
.actions button {
padding: 7px 9px;
font-size: 0.72rem;
}
.scoreboard { grid-template-columns: 1fr; }
.team-button { min-height: 31px; }
.team-name { font-size: 0.77rem; }
.match-meta { font-size: 0.58rem; }
body.focus-mode .topbar { gap: 8px; }
body.focus-mode .actions button { min-width: 62px; }
}