Paper windows, a display serif and chalk hand, a symmetric tactics board, the match day as a stage

- Material: menu windows are sheets of paper (warm surface, edge, two sheets beneath,
  serif headings) that slide in once when their menu opens; the desk stays glass.
  Source Serif 4 and Cabin Sketch ship in assets/modern/fonts (SIL OFL, see
  THIRD_PARTY_NOTICES.md); system fonts remain the fallback.
- Tactics board: 320 x 200 units mirrored about its middle - the pitch of the
  attitude on the left, six equal tiles for the play settings on the right with
  their names in chalk, the commitment with a scale across the foot.
- Live match: a 4:3 sheet like the menus (same window zoom) on the darkened stadium.
  One score board per match of a human manager - a full-width card for one match,
  two side by side, a 2 x 2 grid for three or four - with crests, a score plate in
  the clubs' colours (read from the crests), a clock ring, a pressure bar, and a
  time line of goals, cards and injuries. Compact ticker rows with a mark per kind,
  a goal banner on the card, a horizontal speed control, and optional halts at half
  time and when falling behind.
- QA: script command demo-start begins a demo career with 1-4 managers.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-14 16:15:11 +01:00
1 parent 54fef90a5b
commit 9b5d448fb6
21 files changed
+887 -125

No files matched your search

+108
View File
@@ -127,3 +127,111 @@ body.matchday {--live-bg:#242426;--live-surface:#302f34ec;--live-wash:#efc7ce0a;
.live-lineup-side h3 {display:block;font-size:34dp;font-weight:normal;color:var(--live-accent);margin-bottom:14dp;}
.live-lineup-side p {display:block;font-size:30dp;color:var(--live-muted);}
.live-lineup-row {height:62dp;display:flex;gap:16dp;align-items:center;border-bottom:2dp var(--live-line);font-size:32dp;}
/* --- The match day as a sheet in the menus' 4:3 format: a stage of score boards on top
(one card per match of a human manager: 1, 2, or a 2 x 2 grid for 3-4), the ticker and
the manager's squad below, the controls at the foot. --- */
.live-backdrop {position:absolute;left:0;top:0;width:3840dp;height:2160dp;background-color:#05090dc4;}
.live-stage {left:560dp;top:60dp;width:2720dp;height:2040dp;overflow:hidden;border:2dp var(--paper-edge);border-radius:10dp;background-color:transparent;decorator:linear-gradient(175deg,var(--paper-top),var(--paper-bottom));box-shadow:0dp 18dp 54dp var(--paper-shadow);font-size:36dp;}
.live-header {left:48dp;right:48dp;top:0;height:104dp;border-bottom:2dp var(--rule);}
.live-header h1 {font-family:Display;font-size:54dp;flex:1;min-width:0;}
.live-demo-tag {border-radius:10dp;padding:10dp 22dp;}
.live-body {left:48dp;right:48dp;top:128dp;bottom:150dp;height:auto;flex-direction:column;gap:28dp;}
.live-cards {padding:0;display:flex;flex-wrap:wrap;gap:16dp;flex-shrink:0;}
.live-stage .live-game {position:relative;display:block;width:100%;height:600dp;flex-grow:0;flex-shrink:0;padding:18dp 40dp;border:2dp #00000090;border-radius:16dp;background-color:transparent;decorator:linear-gradient(180deg,#1d2832,#0f161d);color:#f1f4f6;overflow:hidden;}
.live-stage .live-game:hover,.live-stage .live-game:focus-visible {background-color:transparent;border-color:#ffffff66;}
.live-stage .live-game.duo {width:1296dp;}
.live-stage .live-game.quad {width:1296dp;height:292dp;padding:10dp 28dp;}
.live-stage .live-game.active {border-color:#00000090;}
.live-stage .live-game.duo.active,.live-stage .live-game.quad.active {border-color:#f2c230;}
.live-card-top {height:48dp;display:flex;align-items:center;justify-content:space-between;gap:24dp;}
.live-game.quad .live-card-top {height:38dp;}
.live-card-competition {display:block;font-size:30dp;letter-spacing:2dp;color:#c8d2da;white-space:nowrap;}
.live-game .live-match-info {display:block;margin:0;font-size:28dp;color:#aab6c0;text-align:right;}
.live-card-main {height:348dp;display:flex;align-items:center;gap:24dp;}
.live-game.quad .live-card-main {height:146dp;}
.live-side {flex:1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14dp;}
.live-game.quad .live-side {flex-direction:row;gap:20dp;}
.live-game.quad .live-side.home {justify-content:flex-end;}
.live-game.quad .live-side.away {flex-direction:row-reverse;justify-content:flex-end;}
.live-game .live-team-name {display:block;flex:0 0 auto;width:100%;max-height:none;font-family:Display;font-size:46dp;line-height:1.15;text-align:center;color:#f4f6f8;white-space:nowrap;overflow:hidden;}
.live-game.duo .live-team-name {font-size:36dp;}
.live-game.quad .live-team-name {font-size:32dp;width:auto;min-width:0;flex:1;white-space:normal;}
.live-game.quad .live-side.home .live-team-name {text-align:right;}
.live-game.quad .live-side.away .live-team-name {text-align:left;}
.live-centre {width:520dp;flex-shrink:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16dp;}
.live-game.duo .live-centre {width:360dp;}
.live-game.quad .live-centre {width:300dp;gap:4dp;}
.live-clock {display:flex;align-items:center;justify-content:center;gap:22dp;width:100%;height:96dp;}
.live-clock-text {display:block;font-family:Display;font-size:52dp;color:#f4f6f8;}
.live-clock-inline {display:block;font-size:28dp;color:#c8d2da;}
.live-plate {display:flex;width:420dp;height:150dp;border:3dp #ffffff30;border-radius:14dp;overflow:hidden;box-shadow:0dp 6dp 18dp #00000080;}
.live-game.duo .live-plate {width:330dp;height:130dp;}
.live-game.quad .live-plate {width:240dp;height:92dp;}
.live-plate-half {flex:1;display:flex;align-items:center;justify-content:center;}
.live-plate-half+.live-plate-half {border-left:3dp #ffffff40;}
.live-plate-half span {display:block;font-size:112dp;font-weight:bold;color:#ffffff;}
.live-game.duo .live-plate-half span {font-size:96dp;}
.live-game.quad .live-plate-half span {font-size:66dp;}
.live-press {display:flex;width:420dp;height:14dp;border-radius:7dp;overflow:hidden;background-color:#ffffff22;}
.live-game.duo .live-press {width:330dp;}
.live-press-home {height:100%;}
.live-press-away {flex:1;height:100%;}
.live-timeline {display:flex;justify-content:center;height:124dp;}
.live-game.quad .live-timeline {height:84dp;}
@keyframes live-moment-in {from {opacity:0;transform:translateX(-220dp);} to {opacity:1;transform:translateX(0dp);}}
.live-moment {position:absolute;left:0;right:0;top:120dp;height:260dp;display:flex;align-items:center;justify-content:center;gap:48dp;border-top:4dp #ffffffb0;border-bottom:4dp #ffffffb0;box-shadow:0dp 10dp 40dp #000000a0;color:#ffffff;pointer-events:none;}
.live-game.quad .live-moment {top:44dp;height:150dp;gap:28dp;}
.live-moment.fresh {animation:0.45s cubic-out live-moment-in;}
body.calm .live-moment.fresh {animation:none;}
.live-moment>div {display:block;min-width:0;}
.live-moment strong {display:block;font-family:Display;font-size:96dp;letter-spacing:6dp;}
.live-game.quad .live-moment strong {font-size:56dp;}
.live-moment-text {display:block;font-size:36dp;margin-top:6dp;}
.live-game.quad .live-moment-text {font-size:28dp;}
.live-moment-score {display:block;font-size:120dp;font-weight:bold;}
.live-game.quad .live-moment-score {font-size:70dp;}
.live-columns {flex:1;min-height:0;display:flex;gap:28dp;}
.live-panel {border-radius:12dp;}
.live-columns .live-ticker {flex:1.5;min-width:0;height:100%;}
.live-columns .live-detail {flex:1;min-width:0;height:100%;}
.live-panel-heading {height:96dp;padding:16dp 30dp;}
.live-panel-heading h2 {font-family:Display;font-size:42dp;flex:0 0 auto;}
.live-panel-heading .live-filters {flex:1;justify-content:flex-end;padding:0;border-bottom-width:0;}
.live-filters button {height:60dp;padding:0 20dp;font-size:28dp;}
.live-detail>.live-panel-heading {height:112dp;padding:14dp 30dp;}
.live-detail-heading h2 {font-size:38dp;}
.live-tabs {padding:16dp 20dp;gap:10dp;}
.live-tabs button {height:62dp;font-size:28dp;padding:0 8dp;}
.live-event {align-items:center;gap:18dp;padding:16dp 28dp;border-left:8dp transparent;}
.live-event-time {width:78dp;font-size:30dp;text-align:right;}
.live-event-mark {width:36dp;height:44dp;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
.live-event-mark .mark {width:16dp;height:16dp;border-radius:8dp;background-color:var(--live-muted);opacity:0.5;}
.kind-goal .live-event-mark .mark {width:30dp;height:30dp;border-radius:15dp;background-color:var(--live-text);opacity:1;border:5dp var(--live-accent);}
.kind-yellow .live-event-mark .mark,.kind-second_yellow .live-event-mark .mark {width:20dp;height:28dp;border-radius:3dp;background-color:#f2c230;opacity:1;}
.kind-red .live-event-mark .mark {width:20dp;height:28dp;border-radius:3dp;background-color:#d6453d;opacity:1;}
.kind-injury .live-event-mark .mark {width:26dp;height:26dp;border-radius:5dp;background-color:#d6453d;opacity:1;}
.kind-chance .live-event-mark .mark,.kind-miss .live-event-mark .mark {width:20dp;height:20dp;border-radius:10dp;background-color:transparent;border:4dp var(--live-muted);opacity:1;}
.is-whistle .live-event-mark .mark {width:28dp;height:6dp;border-radius:3dp;opacity:0.8;}
.live-event-copy h3 {font-size:32dp;}
.live-event-copy p {font-size:28dp;margin-top:4dp;line-height:1.3;}
.live-event.is-whistle .live-event-copy h3 {font-family:Display;color:var(--live-muted);}
.live-event-score {font-size:32dp;min-width:90dp;color:var(--live-text);}
.live-ticker-footer {height:64dp;padding:10dp 30dp;}
.live-detail-footer {height:96dp;padding:14dp 24dp;}
.live-roster {padding:8dp 24dp;}
.live-roster-row {height:58dp;font-size:30dp;}
.live-lineups {padding:20dp 30dp;gap:40dp;}
.live-lineup-side h3 {font-family:Display;font-size:34dp;}
.live-lineup-row {height:54dp;font-size:30dp;}
.live-bottom {left:48dp;right:48dp;height:150dp;gap:24dp;border-top:2dp var(--rule);}
.live-bottom button {height:92dp;padding:0 34dp;font-size:32dp;}
.live-speed {position:static;left:auto;top:auto;width:auto;flex-direction:row;align-items:center;gap:16dp;font-size:28dp;flex-shrink:0;}
#live-speed {width:300dp;height:60dp;}
#live-speed slidertrack {width:auto;height:8dp;margin:26dp 0;}
#live-speed sliderbar {width:32dp;height:32dp;margin-top:14dp;border-radius:16dp;}
.live-speed-value {font-size:28dp;min-width:90dp;text-align:left;}
.live-halts {display:flex;gap:12dp;flex-shrink:0;}
.live-halts button {height:70dp;padding:0 20dp;font-size:28dp;}
.live-bottom-note {text-align:right;}
.live-dialog-layer {border-radius:10dp;}
.live-dialog {width:1900dp;border-radius:12dp;}