body.game header { height:64px; }
body.game #layout { height:calc(100dvh - 64px); grid-template-columns:minmax(0,1fr) 360px; }
#headerTools { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
#headerTools button { padding:5px 9px; font-size:13px; }
#gameScore { font:600 18px Georgia,serif; color:#ffe2a3; min-width:110px; text-align:right; }
#gameBadge { font-size:13px; }
#transport label { display:flex; align-items:center; gap:4px; }
.speedControl input { width:90px; flex:none; }
.rolePortrait { display:block; width:96px; height:80px; margin:0 auto 5px; }
.rolePortrait svg { width:100%; height:100%; }
#stepHeading { padding:6px 16px 8px; }
#title3d { font-size:19px; }

#decision { position:absolute; left:50%; bottom:14px; transform:translateX(-50%); width:min(760px,94%); z-index:4; padding:12px 16px 10px; border-radius:10px; background:#fbf6ecf5; box-shadow:0 6px 24px #0005; border:2px solid #b89a5e; }
#decision.floor { background:#fbf6ecd9; }
#decision.right { border-color:#3f8a5a; }
#decision.wrong { border-color:#b0473a; }
#decisionHead { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:12px; text-transform:uppercase; letter-spacing:.6px; color:var(--gold); }
#decisionTimer { flex:0 0 160px; height:8px; border-radius:4px; background:#e6dccb; overflow:hidden; }
#decisionTimer:empty, #decisionTimer[hidden] { display:none; }
#decisionTimer span { display:block; height:100%; width:100%; background:#3f8a5a; transition:width .1s linear; }
#decisionTimer.low span { background:#c0503f; }
#decisionPrompt { font:600 18px Georgia,serif; margin:4px 0 2px; }
#decisionHint { margin:0 0 8px; }
#decisionHint:empty { display:none; }
#decisionOptions { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:6px; }
#decisionOptions.palette { grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); font-size:13px; }
#decisionOptions.checklist { grid-template-columns:1fr; max-height:38vh; overflow:auto; }
#decisionOptions button { text-align:left; padding:8px 10px; line-height:1.3; }
#decisionOptions button .key { display:inline-block; min-width:1.5em; font-weight:700; color:var(--gold); }
#decisionOptions button.correct { background:#d8ecd9; border-color:#3f8a5a; }
#decisionOptions button.incorrect { background:#f3d6d0; border-color:#b0473a; text-decoration:line-through; }
#decisionOptions label { display:flex; gap:8px; align-items:flex-start; padding:4px 6px; border-radius:5px; background:#fffaf1; border:1px solid #e1d4bd; }
#decisionTools { display:flex; gap:8px; margin-top:8px; }
#decisionTools:not(:has(button:not([hidden]))) { display:none; }
#decisionFeedback { margin:6px 0 0; font-size:14px; }
#decisionFeedback:empty { display:none; }
#decisionFeedback .ref { color:#685e50; font-size:12px; }
#gameToast { position:absolute; top:70px; left:50%; transform:translateX(-50%); z-index:4; max-width:80%; padding:8px 16px; border-radius:8px; background:#253f32ed; color:#fff7e4; font-size:14px; pointer-events:none; }
#gameToast.bad { background:#6c2a22ed; }
#mediaWarning { position:absolute; top:112px; left:50%; transform:translateX(-50%); z-index:4; width:min(360px,80%); padding:6px 12px 8px; border-radius:8px; background:#1d2c4fe6; color:#f6efd9; font-size:13px; pointer-events:none; display:grid; gap:5px; }
#mediaWarning[hidden] { display:none; }
#mediaWarning .label::before { content:'🎵 '; }
#mediaWarning .track { height:7px; border-radius:4px; background:#ffffff30; overflow:hidden; }
#mediaWarning .fill { display:block; height:100%; width:0; background:linear-gradient(90deg,#e7c46a,#f08a3c); }
body.game #caption { bottom:auto; top:64px; }
body.game.deciding #caption { display:none; }

#gameStatus h2 { margin-bottom:4px; }
#gameNow p { margin:6px 0; }
#gameNow .next { font-size:13px; color:#42735b; }
#gameChecklist { list-style:none; margin:8px 0 0; padding:0; font-size:13px; display:grid; gap:3px; }
#gameChecklist li::before { content:'☐ '; }
#gameChecklist li.done::before { content:'☑ '; color:#3f8a5a; }
#gameChecklist li.missed::before { content:'☒ '; color:#b0473a; }
#gameChecklist li.done { color:#42735b; }
#gameLog { margin:0; padding-left:22px; font-size:12.5px; max-height:280px; overflow:auto; display:grid; gap:4px; }
#gameLog li.right::marker { color:#3f8a5a; }
#gameLog li.wrong { color:#8a3329; }
#gameLog .ref { color:#7b6f5f; }
#engineDrawer summary { padding:12px 20px; cursor:pointer; font-size:13px; color:#685e50; border-bottom:1px solid #d7cbb6; }

.modal { position:fixed; inset:0; z-index:20; display:grid; place-items:center; background:#151b1fc0; padding:16px; overflow:auto; }
.modal[hidden] { display:none; }
.sheet { width:min(980px,100%); max-height:calc(100dvh - 32px); overflow:auto; background:var(--paper); border-radius:12px; padding:18px 24px; box-shadow:0 10px 40px #0008; }
.sheet h2 { font:26px Georgia,serif; margin:0 0 6px; }
.sheet fieldset { border:1px solid #d1c3aa; border-radius:8px; margin:12px 0; padding:8px 12px 12px; }
.sheet legend { font:600 15px Georgia,serif; padding:0 6px; }
.cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:8px; }
.cards label { display:block; position:relative; padding:9px 10px; border-radius:8px; border:2px solid #d6c8ae; background:#fffaf1; cursor:pointer; font-size:12px; line-height:1.35; }
.cards label strong { display:block; font-size:14px; margin-bottom:2px; }
.cards input { position:absolute; opacity:0; }
.cards label:has(input:checked) { border-color:#42735b; background:#e6f1e4; }
.cards label:has(input:focus-visible) { outline:3px solid #4785a5; }
.optionGrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:8px 16px; font-size:14px; }
.optionGrid label { display:flex; align-items:center; gap:8px; }
.optionGrid select { flex:1; min-width:0; }
.optionHead { grid-column:1/-1; margin:10px 0 0; padding-bottom:3px; font-size:14px; border-bottom:1px solid rgba(201,166,74,.45); display:flex; align-items:center; }
.optionHead:first-child { margin-top:0; }
.optionGrid .optIcon { margin-right:0; flex:none; }
body.noSymbols .optionGrid .optIcon, body.noSymbols .optionHead .iconWrap { display:inline-flex; }
.sheetActions { display:flex; gap:10px; justify-content:flex-end; margin-top:10px; }
button.primary { background:#42735b; color:#fff; border-color:#2f5a45; font-weight:600; padding:9px 22px; }
button.primary:hover { background:#36614c; }
#highScores table { border-collapse:collapse; margin-top:6px; }
#highScores td, #highScores th { padding:2px 10px 2px 0; text-align:left; }

.book { width:min(760px,100%); background:#fdf8ee; }
.bookHead, .bookNav { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.bookNav select { flex:1; }
#bookBody { font:16px/1.55 Georgia,serif; margin-top:10px; }
#bookBody h3 { font:600 14px system-ui,sans-serif; color:#9b2a1c; margin:16px 0 4px; text-transform:uppercase; letter-spacing:.5px; }
#bookBody h3 small { text-transform:none; color:#7b6f5f; font-weight:400; letter-spacing:0; }
#bookBody .rubric { color:#9b2a1c; font-size:13px; font-style:italic; }
#bookBody button.line { display:block; width:100%; text-align:left; margin:3px 0; font:inherit; background:transparent; border:1px solid transparent; }
#bookBody button.line:hover:not(:disabled) { background:#f1e6cf; border-color:#d6c3a0; }
#bookBody button.line:disabled { opacity:1; cursor:default; }
#bookBody .unused { opacity:.6; }
#summaryLog { max-height:45vh; overflow:auto; font-size:13px; }
#summaryLog table { width:100%; border-collapse:collapse; }
#summaryLog td { padding:4px 6px; border-bottom:1px solid #e3d8c4; vertical-align:top; }
#summaryLog tr.wrong td:first-child { color:#b0473a; }
#summaryLog tr.right td:first-child { color:#3f8a5a; }

/* The Path: celebrations of the liturgical year and seniority */
.pathStrip { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 8px; padding:6px 10px; border-radius:8px; background:#f6efdf; border:1px solid #e0d2b4; font-size:13px; }
.pathNote { margin:10px 0 0; padding:8px 10px; border-left:4px solid #c9a64a; background:#faf4e6; font-size:14px; }
.pathNote:empty { display:none; }
.pathSheet { width:min(1100px,100%); }
.pathRank { font:600 15px Georgia,serif; color:#5b4a26; margin:6px 0 10px; }
.pathBody { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:16px; align-items:start; }
.pathMap { background:radial-gradient(circle at 50% 0,#fffaf0,#f1e6cf); border:1px solid #dccdb0; border-radius:10px; max-height:70vh; overflow:auto; }
.pathSvg { display:block; width:100%; height:auto; }
.pathDetail { position:sticky; top:0; padding:10px 14px; border:1px solid #dccdb0; border-radius:10px; background:#fffaf1; font-size:14px; }
.pathDetail h3 { font:600 19px Georgia,serif; margin:2px 0 4px; }
.pathDetail .future { color:#7d7468; font-style:italic; }
.pathEdge { fill:none; stroke:#c8b897; stroke-width:5; }
.pathEdge.main { stroke:#b08e4a; stroke-width:12; stroke-linecap:round; }
.pathEdge.future { stroke-dasharray:14 12; stroke:#cfc6b4; }
.pathEdge.main.future { stroke:#d8cdb6; }
.pathEdge.done { stroke:#5e8c62; }
.pathBranch { font:italic 26px Georgia,serif; fill:#7b6a49; }
.pathTriduum { fill:#efe2e0; stroke:#a8322b; stroke-width:2; stroke-dasharray:6 6; opacity:.6; }
.pathNode { cursor:pointer; outline:none; }
.pathDisc { fill:#fffdf6; stroke-width:7; }
.pathIcon { fill:none; stroke:#5b4a26; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.pathNode.future .pathDisc { fill:#ece8df; stroke-dasharray:8 6; }
.pathNode.future .pathIcon { stroke:#9a9184; }
.pathNode.mark-attended .pathDisc, .pathNode.mark-served .pathDisc, .pathNode.mark-distinction .pathDisc { fill:#e6f1e4; }
.pathNode:hover .pathDisc, .pathNode:focus-visible .pathDisc { filter:drop-shadow(0 0 6px #4785a5); }
.pathNode.selected .pathDisc { stroke-width:11; }
.pathHalo { fill:none; stroke:#4785a5; stroke-width:4; stroke-dasharray:10 8; animation:pathTurn 12s linear infinite; transform-box:fill-box; transform-origin:center; }
@keyframes pathTurn { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .pathHalo { animation:none; } }
.pathStation { fill:#7b2d26; }
.pathStationText { fill:#fff; font:600 15px system-ui,sans-serif; }
.pathTick { fill:#2f6b45; font:700 26px system-ui,sans-serif; }
.pathName { font:600 21px Georgia,serif; fill:#2d2a26; paint-order:stroke; stroke:#fffaf0; stroke-width:6; }
.pathSub { font:16px system-ui,sans-serif; fill:#6c6152; paint-order:stroke; stroke:#fffaf0; stroke-width:5; }
.pathNode.future .pathName { fill:#7d7468; }
.pathList { display:none; list-style:none; margin:10px 0 0; padding:0; }
.pathListHead { font:600 14px Georgia,serif; color:#7b6a49; margin:12px 0 4px; }
.pathListItem { display:flex; align-items:center; gap:8px; width:100%; text-align:left; margin:2px 0; background:#fffaf1; }
.pathListItem.future { opacity:.65; }
.pathListItem.recommended { border-color:#4785a5; }
.pathListItem.mark-attended, .pathListItem.mark-served, .pathListItem.mark-distinction { background:#e6f1e4; }
.pathSwatch { width:14px; height:14px; border-radius:50%; border:4px solid; flex:none; }
@media(max-width:900px) {
  .pathBody { display:block; }
  .pathMap { display:none; }
  .pathList { display:block; }
  .pathDetail { position:static; }
  .pathStrip { flex-wrap:wrap; }
}
@media(max-width:900px) {
  body.game #layout { display:block; height:auto; }
  #decision { position:relative; left:auto; transform:none; width:auto; margin:8px; bottom:auto; }
  #headerTools a { display:none; }
}

/* Symbols beside answers, checklist items and the log */
.iconWrap { display:inline-flex; vertical-align:-4px; margin-right:6px; color:var(--gold); }
.iconWrap:empty { display:none; }
.iconWrap svg { width:18px; height:18px; }
#gameLog .iconWrap svg, #gameChecklist .iconWrap svg, #summaryLog .iconWrap svg { width:15px; height:15px; }
body.noSymbols .iconWrap { display:none; }
#gameLog li.auto { color:#5d6b7a; }
#gameQuestions[aria-pressed="false"] { background:#2f6f7a; color:#fff; border-color:#2f6f7a; }
#decisionOptions button:hover, #decisionOptions button:focus-visible, #decisionOptions label:hover { outline:2px solid #3fd0e6; outline-offset:1px; }
/* Round 5: role identity, side quests, camera pad and skip */
#roleCard { display:flex; align-items:center; gap:10px; padding:6px 8px; margin-bottom:8px; border:1px solid #d9c7a2; border-radius:8px; background:#fffaf0; }
#roleCard .rolePortrait { width:64px; height:54px; margin:0; flex:none; }
#roleCard div { display:flex; flex-direction:column; line-height:1.2; }
#roleCard strong { font:600 17px Georgia,serif; }
#roleCard small { color:#6c5f4b; font-size:12px; }
#decisionRole { display:inline-flex; align-items:center; gap:4px; padding:1px 8px 1px 3px; border-radius:10px; background:#efe3c8; color:#5a4518; font-weight:700; white-space:nowrap; }
#decisionRole .iconWrap svg { width:16px; height:16px; }
#decisionHead { justify-content:flex-start; }
#decisionStep { flex:1; }
#decisionPortrait { display:none; }
@media (min-width:1150px) and (min-height:640px) {
  #decision { padding-left:104px; }
  #decisionPortrait { display:block; position:absolute; left:10px; top:12px; width:84px; }
  #decisionPortrait .rolePortrait { width:84px; height:70px; }
}
#decision.sideQuest { background:#eef3fbf5; border-color:#4f6fa8; border-style:dashed; }
#decision.sideQuest #decisionRole { background:#d6e2f5; color:#28467a; }
#decision.sideQuest.right { border-color:#3f8a5a; }
#decision.sideQuest.wrong { border-color:#b0473a; }
#decisionSkip { margin-left:auto; background:transparent; border:1px dashed #4f6fa8; color:#28467a; }
#cameraPad { position:absolute; right:10px; top:52px; z-index:3; display:grid; grid-template-columns:repeat(2,30px); gap:4px; padding:5px; border-radius:8px; background:#ffffffb8; box-shadow:0 2px 8px #0003; }
#cameraPad button { width:30px; height:28px; padding:0; font-size:15px; line-height:1; }
body.deciding #cameraPad { opacity:.75; }
#transport .subtle { background:transparent; border:1px solid #c9b994; color:#6c5f4b; font-size:12px; padding:3px 8px; opacity:.8; }
#transport .subtle:hover, #transport .subtle:focus-visible { opacity:1; }
@media(max-width:900px) { #cameraPad { top:auto; bottom:8px; grid-template-columns:repeat(5,28px); } }
/* Round 5: hints, direction arrow, first person */
#decision.hinted #decisionHint { color:#0f7f91; font-weight:600; }
#dirArrow { position:absolute; left:50%; top:46%; transform:translate(-50%,-50%); z-index:3; display:flex; flex-direction:column; align-items:center; pointer-events:none; color:#0f7f91; text-shadow:0 0 6px #fff, 0 0 12px #fff; }
#dirArrow[hidden] { display:none; }
#dirArrow span { font-size:54px; line-height:1; transition:transform .15s; }
#dirArrow small { font:700 14px system-ui,sans-serif; background:#ffffffd0; padding:1px 8px; border-radius:8px; }/* Round 8: hover names, search and feedback */
#hoverTip { position:absolute; z-index:6; pointer-events:none; max-width:220px; padding:4px 9px; border-radius:6px; background:#1f2733e8; color:#fff; font:600 13px system-ui,sans-serif; box-shadow:0 2px 8px #0004; }
#hoverTip[hidden] { display:none; }
#searchBox { position:relative; }
#gameSearch { width:230px; padding:5px 9px; border-radius:16px; border:1px solid #c9b994; font-size:13px; }
#searchPanel { position:absolute; right:0; top:calc(100% + 6px); z-index:20; width:min(420px,92vw); max-height:72vh; overflow:auto; display:flex; flex-direction:column; gap:8px; padding:10px; border-radius:10px; background:#fffdf7; color:#2a241b; box-shadow:0 8px 24px #0005; text-align:left; }
#searchPanel[hidden] { display:none; }
#searchPanel button { font-size:13px; }
.searchResults { display:flex; flex-direction:column; gap:2px; }
.searchResults .searchItem { justify-content:flex-start; }
#searchPanel .searchItem { display:flex; align-items:center; gap:2px; padding:4px 8px; background:#f6efdf; border:1px solid #e3d6b8; color:#2a241b; border-radius:6px; }
#searchPanel .searchItem:hover, #searchPanel .searchItem:focus-visible { background:#d7f3f7; border-color:#3fd0e6; }
.searchItem mark { background:#ffe08a; color:inherit; border-radius:2px; }
.searchCategories { border-top:1px solid #e6dcc6; padding-top:6px; display:flex; flex-direction:column; gap:6px; }
.searchCategory h4 { margin:0 0 3px; font:700 12px system-ui,sans-serif; color:#6c5f4b; text-transform:uppercase; letter-spacing:.04em; }
.searchRow { display:flex; flex-wrap:wrap; gap:4px; }
#searchPanel .searchMore { background:transparent; border:1px dashed #c9b994; color:#6c5f4b; padding:3px 8px; border-radius:6px; }
.indexCard { position:relative; border:2px solid #3fd0e6; border-radius:10px; padding:8px 30px 6px 10px; background:#f2fcfd; }
.indexCard .cardHead { display:flex; align-items:center; font:700 16px Georgia,serif; }
.indexCard p { margin:5px 0; font-size:13px; }
#searchPanel .cardClose { position:absolute; right:6px; top:6px; padding:0 6px; background:transparent; border:none; font-size:15px; color:#555; }
#feedbackDialog { max-width:440px; width:92vw; border:none; border-radius:12px; box-shadow:0 10px 30px #0006; }
#feedbackDialog form { display:flex; flex-direction:column; gap:8px; }
#feedbackDialog h2 { margin:0; }
#feedbackDialog textarea { width:100%; box-sizing:border-box; font:inherit; }
#feedbackDialog label { display:flex; flex-direction:column; gap:3px; }
#feedbackDialog label:has(input[type=checkbox]) { flex-direction:row; align-items:center; }
.dialogButtons { display:flex; justify-content:flex-end; gap:8px; }
@media(max-width:900px) { #gameSearch { width:150px; } }
#searchPanel span:not(.iconWrap) { color:inherit; font-size:inherit; }

/* Round 9: compact phone layout. Header tools, view options and the camera
   pad each fold into one icon button; tapping elsewhere folds them away. */
.compactToggle { display:none; }
body.compactUi header { position:relative; height:auto; min-height:48px; padding:6px 10px; }
body.compactUi header h1 { font-size:18px; line-height:1.15; }
body.compactUi #gameBadge { display:block; max-width:62vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:11px; }
body.compactUi .compactToggle { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; padding:0; font-size:20px; line-height:1; border-radius:10px; flex:none; }
body.compactUi #toolsToggle { background:#3a444b; color:#fff5dc; border-color:#5d6a72; }
body.compactUi .compactToggle.open { background:#e7d3a6; color:#2a241b; }
body.compactUi #headerTools { position:absolute; top:100%; right:6px; left:auto; z-index:30; width:min(320px,calc(100vw - 12px)); flex-direction:column; align-items:stretch; gap:8px; padding:10px; border-radius:0 0 10px 10px; background:#242b30; box-shadow:0 8px 20px #0006; }
body.compactUi #headerTools.collapsed, body.compactUi #cameraBar.collapsed, body.compactUi #cameraPad.collapsed { display:none; }
body.compactUi #headerTools button { padding:9px 10px; font-size:15px; text-align:left; }
body.compactUi #headerTools a { display:block; padding:4px 2px; }
body.compactUi #gameSearch { width:100%; }
body.compactUi #searchPanel { left:0; right:0; width:auto; max-height:60dvh; }
body.compactUi #gameScore { order:-1; }
body.compactUi #cameraBarToggle { position:absolute; left:8px; bottom:8px; z-index:4; background:#fffaf1e6; }
body.compactUi #cameraPadToggle { position:absolute; right:8px; bottom:8px; z-index:4; background:#fffaf1e6; }
body.compactUi #cameraBar { top:auto; bottom:56px; left:8px; right:8px; width:auto; gap:8px 12px; z-index:5; }
body.compactUi #cameraPad { top:auto; bottom:56px; right:8px; z-index:5; grid-template-columns:repeat(4,40px); gap:6px; }
body.compactUi #cameraPad button { width:40px; height:38px; font-size:18px; }
body.compactUi #hint { display:none; }
body.compactUi #caption { bottom:56px; width:calc(100% - 112px); font-size:13px; padding:6px 10px; }
@media(max-width:600px) { .cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; } .cards .rolePortrait { width:64px; height:54px; } .cards small, .cards p { font-size:12px; line-height:1.25; } }

/* Round 25: Liturgical Season Ribbon & Breviary */
.liturgicalRibbon {
  display:inline-flex; align-items:center; gap:8px;
  padding:5px 14px 5px 10px; border-radius:6px;
  background:var(--ribbon-bg, #27683d); color:var(--ribbon-text, #fff8e7);
  border:1.5px solid rgba(218,178,74,.75);
  box-shadow:0 2px 8px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.2);
  cursor:pointer; font:600 13px Georgia, serif;
  transition:all .2s ease; position:relative; flex:none;
}
.liturgicalRibbon:hover {
  transform:translateY(-1px); border-color:#ffd700;
  box-shadow:0 4px 14px rgba(218,178,74,.4), inset 0 1px 0 rgba(255,255,255,.3);
}
.liturgicalRibbon:focus-visible { outline:2px solid #ffd700; outline-offset:2px; }
.ribbonCross { color:#ffd700; font-size:14px; text-shadow:0 1px 2px rgba(0,0,0,.5); }
.ribbonText { white-space:nowrap; max-width:180px; overflow:hidden; text-overflow:ellipsis; }

/* Breviary Sheet */
.breviarySheet { width:min(740px, 96vw); max-height:88vh; padding:20px 24px; }
.brevHeaderLeft { display:flex; align-items:center; gap:14px; }
.brevRibbonTag {
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:8px; font-size:22px;
  background:var(--ribbon-bg, #27683d); color:#ffd700;
  border:2px solid #d4af37; box-shadow:0 2px 8px rgba(0,0,0,.25); flex:none;
}
.brevSeason { text-transform:uppercase; font-size:11px; letter-spacing:1.2px; color:var(--gold); font-weight:700; display:block; }
.brevRank { font-size:12px; color:#685e50; font-style:italic; display:block; margin-top:1px; }
.brevContent { display:grid; gap:12px; margin:16px 0 12px; }
.brevCard { background:#fffaf1; border:1px solid #d9ccb6; border-radius:8px; padding:12px 16px; }
.brevCard h3 { font:700 13px system-ui, sans-serif; text-transform:uppercase; letter-spacing:.6px; color:#8a3a2a; margin:0 0 8px; }
.brevColourRow { display:flex; align-items:center; gap:14px; }
.brevSwatch { width:36px; height:36px; border-radius:6px; border:2px solid #c9a64a; display:inline-block; flex:none; box-shadow:0 2px 6px rgba(0,0,0,.15); }
.brevTable { width:100%; border-collapse:collapse; font-size:13.5px; }
.brevTable th { width:160px; text-align:left; padding:5px 12px 5px 0; color:#685e50; font-weight:600; vertical-align:top; border-bottom:1px solid #f0e6d6; }
.brevTable td { padding:5px 0; color:#2c251d; vertical-align:top; border-bottom:1px solid #f0e6d6; }
.brevTable tr:last-child th, .brevTable tr:last-child td { border-bottom:none; }
.brevSpecialList { margin:4px 0 0; padding-left:18px; font-size:13px; line-height:1.45; color:#3a3227; }
.brevSpecialList li { margin-bottom:3px; }

/* Round 25: Visual Chime Overlay & Ripple Animation */
.chimeOverlay {
  position:absolute; top:75px; left:50%; transform:translateX(-50%);
  z-index:10; pointer-events:none; display:flex; flex-direction:column; align-items:center;
}
.chimeOverlay[hidden] { display:none; }
.chimeBadge {
  position:relative; z-index:2;
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 18px; border-radius:30px;
  background:rgba(20, 26, 30, 0.92);
  color:#fff7e6; border:2px solid #e5b947;
  box-shadow:0 4px 18px rgba(0,0,0,.5), 0 0 16px rgba(229,185,71,.5);
  font:600 14px Georgia, serif; letter-spacing:.3px;
}
.chimeIcon { font-size:16px; }
.chimeRipples {
  position:absolute; top:50%; left:50%; width:0; height:0; pointer-events:none; z-index:1;
}
.chimeRing {
  position:absolute; top:50%; left:50%; width:80px; height:80px;
  margin:-40px 0 0 -40px; border-radius:50%;
  border:2px solid #e5b947; opacity:0;
  box-shadow:0 0 12px rgba(229,185,71,.6);
}
.animPulse .chimeBadge {
  animation:chimeBadgePop .35s ease-out;
}
.animPulse .ring1 { animation:chimeRingExpand 1.6s ease-out 0s; }
.animPulse .ring2 { animation:chimeRingExpand 1.6s ease-out .25s; }
.animPulse .ring3 { animation:chimeRingExpand 1.6s ease-out .5s; }

@keyframes chimeBadgePop {
  0% { transform:scale(.7); opacity:0; }
  60% { transform:scale(1.08); opacity:1; }
  100% { transform:scale(1); opacity:1; }
}

@keyframes chimeRingExpand {
  0% { transform:scale(.4); opacity:.85; }
  40% { opacity:.6; }
  100% { transform:scale(2.5); opacity:0; }
}
