/* Isolated “加页手记” customer theme. Other wheel themes remain untouched. */
.play-page.theme-cryptic-notes{
  --cn-ink:#0c1110;--cn-panel:#151b18;--cn-panel-2:#202923;--cn-paper:#d8c79e;--cn-cream:#f4e8c8;
  --cn-brass:#b99a5e;--cn-brass-light:#e4cc8a;--cn-green:#4e7b67;--cn-green-deep:#1f4b3d;--cn-line:rgba(218,194,137,.24);
  min-height:100dvh;color:var(--cn-cream);background-color:#0a0e0d;
  background-image:
    radial-gradient(circle at 50% -7%,rgba(104,137,113,.3),transparent 30rem),
    radial-gradient(circle at 5% 38%,rgba(143,107,54,.12),transparent 24rem),
    radial-gradient(circle at 94% 75%,rgba(49,103,81,.14),transparent 26rem),
    linear-gradient(155deg,#101714 0%,#080c0b 48%,#15150f 100%);
  background-attachment:fixed;
}
.theme-cryptic-notes::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.22;background-image:repeating-linear-gradient(93deg,transparent 0 38px,rgba(224,200,137,.025) 39px 40px),repeating-linear-gradient(3deg,transparent 0 54px,rgba(255,255,255,.018) 55px 56px)}
.theme-cryptic-notes::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.42),transparent 13%,transparent 87%,rgba(0,0,0,.42)),linear-gradient(180deg,transparent 58%,rgba(0,0,0,.38))}
.theme-cryptic-notes .ambient{display:none}
.theme-cryptic-notes .play-shell{width:min(1120px,94vw);padding:24px 0 56px}

.theme-cryptic-notes .brand{position:relative;min-height:190px;margin:0 0 24px;padding:36px 20px 32px;display:flex;flex-direction:column;justify-content:center;text-align:center;border:1px solid rgba(210,183,119,.18);border-radius:4px;background:radial-gradient(circle at 50% 0,rgba(92,129,109,.2),transparent 58%),linear-gradient(180deg,rgba(24,32,28,.88),rgba(10,14,12,.78));box-shadow:0 24px 70px rgba(0,0,0,.38),inset 0 0 0 4px rgba(0,0,0,.16)}
.theme-cryptic-notes .brand::before,.theme-cryptic-notes .brand::after{content:"";position:absolute;top:18px;bottom:18px;width:1px;background:linear-gradient(transparent,var(--cn-brass),transparent);opacity:.55}
.theme-cryptic-notes .brand::before{left:22px}.theme-cryptic-notes .brand::after{right:22px}
.theme-cryptic-notes .club-logo,.theme-cryptic-notes .secure-badge{display:none}
.theme-cryptic-notes .brand p{width:max-content;margin:0 auto 14px;padding:0;color:#b9a77c;font-family:Georgia,"Times New Roman",serif;font-size:10px;font-weight:700;letter-spacing:.3em}
.theme-cryptic-notes .brand h1{margin:0;color:#f0e2bd;font-family:"Songti SC","STSong","Noto Serif SC",serif;font-size:clamp(36px,7vw,54px);font-weight:800;letter-spacing:.16em;text-shadow:0 3px 0 #332918,0 12px 34px rgba(0,0,0,.78)}
.theme-cryptic-notes .brand-campaign-title{display:block;margin:18px auto 0;color:var(--cn-brass-light);font-family:"Songti SC","STSong","Noto Serif SC",serif;font-size:clamp(20px,3vw,29px);font-weight:700;letter-spacing:.2em;line-height:1.35;text-shadow:0 4px 15px rgba(0,0,0,.86)}
.theme-cryptic-notes .brand-campaign-title::after{content:"CRYPTIC NOTES · RELIC ARCHIVE";display:block;margin-top:8px;color:#718b7c;font-family:Georgia,"Times New Roman",serif;font-size:9px;font-weight:700;letter-spacing:.32em;line-height:1.4}

.theme-cryptic-notes .game-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px}
.theme-cryptic-notes .wheel-column{position:relative;padding:28px 18px 24px;border:1px solid rgba(206,179,112,.34);border-radius:6px;background:radial-gradient(circle at 50% 38%,rgba(72,101,85,.16),transparent 24rem),linear-gradient(150deg,rgba(28,37,32,.97),rgba(10,15,13,.97));box-shadow:0 28px 80px rgba(0,0,0,.48),inset 0 0 0 5px rgba(0,0,0,.2)}
.theme-cryptic-notes .wheel-column::before{content:"";position:absolute;inset:9px;pointer-events:none;border:1px solid rgba(218,194,137,.1);border-radius:2px}
.theme-cryptic-notes .welcome{position:relative;z-index:1;margin:0 auto 12px;gap:12px}
.theme-cryptic-notes .welcome span{max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b7aa8b;font-family:"Songti SC","STSong",serif;font-size:14px;font-weight:600;letter-spacing:.04em}
.theme-cryptic-notes .welcome strong{padding:8px 14px;border:1px solid rgba(218,194,137,.28);border-radius:3px;color:#c6b58d;background:#0d1311;box-shadow:0 5px 16px rgba(0,0,0,.3);font-size:12px;font-weight:600;letter-spacing:.06em}
.theme-cryptic-notes .welcome em{color:var(--cn-brass-light);font-family:Georgia,serif;font-size:21px}
.theme-cryptic-notes .wheel-title,.theme-cryptic-notes .campaign-rule{display:none!important}
.theme-cryptic-notes .wheel-wrap{width:min(590px,68vh,82vw);margin:0 auto;aspect-ratio:1}
.theme-cryptic-notes .wheel{width:91%;height:91%;filter:drop-shadow(0 24px 32px rgba(0,0,0,.65));box-shadow:0 0 0 2px #d8c184,0 0 0 7px #171d19,0 0 0 9px rgba(216,193,132,.48);transition:transform 5.2s cubic-bezier(.12,.72,.1,1)}
.theme-cryptic-notes .pointer{top:.4%;border-left-width:17px;border-right-width:17px;border-top-width:46px;border-top-color:#d0ad67;filter:drop-shadow(0 4px 0 #28332d) drop-shadow(0 8px 6px rgba(0,0,0,.62))}
.theme-cryptic-notes .pointer::before{content:"";position:absolute;left:-12px;top:-49px;width:24px;height:24px;border:3px solid #d9bd7b;border-radius:50%;background:#1e2d27;box-shadow:0 0 0 3px #0d1210,inset 0 0 0 4px rgba(88,139,115,.35)}
.theme-cryptic-notes .hub,.theme-cryptic-notes .hub:disabled{width:96px;height:96px;opacity:1;border:5px solid #dfc986;color:#f5e8c7;background:radial-gradient(circle at 38% 26%,#507a67 0%,#2b5948 42%,#173b31 100%);box-shadow:0 0 0 4px #171d19,0 0 0 6px #9f824d,0 9px 0 #0c1d18,0 18px 34px rgba(0,0,0,.62),inset 0 2px 0 rgba(255,255,255,.16)}
.theme-cryptic-notes .hub:disabled{filter:saturate(.64) brightness(.78)}
.theme-cryptic-notes .hub span{font-family:"Songti SC","STSong",serif;font-size:29px;font-weight:800}.theme-cryptic-notes .hub small{color:#cbbd97;letter-spacing:.18em}
.theme-cryptic-notes .status{position:relative;z-index:1;margin:12px 6px 0;color:#b5a782;font-family:"Songti SC","STSong",serif;font-size:13px;font-weight:600;letter-spacing:.05em}
.theme-cryptic-notes .cryptic-rule{position:relative;z-index:1;margin:10px auto 2px;padding:11px 14px;width:max-content;max-width:94%;border-top:1px solid rgba(218,194,137,.18);border-bottom:1px solid rgba(218,194,137,.12);color:#d9ccb0;font-family:"Songti SC","STSong","Noto Serif SC",serif;font-size:15px;font-weight:600;line-height:1.7;letter-spacing:.02em;text-align:center}
.theme-cryptic-notes .cryptic-rule strong{color:#e3c982;font-weight:800}
.theme-cryptic-notes .cryptic-rule img{display:inline-block;width:46px;height:46px;margin:0 4px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 5px 7px rgba(0,0,0,.65))}
.theme-cryptic-notes .batch-control{display:none!important}

.theme-cryptic-notes .history-panel{border:1px solid rgba(206,179,112,.34);border-radius:6px;color:var(--cn-cream);background:linear-gradient(155deg,rgba(28,37,32,.98),rgba(10,15,13,.98));box-shadow:0 28px 80px rgba(0,0,0,.43);backdrop-filter:none}
.theme-cryptic-notes .panel-title{padding:24px 22px;border-color:var(--cn-line)}
.theme-cryptic-notes .panel-title span{color:#6f8f7f;font-family:Georgia,serif;font-size:8px;letter-spacing:.26em}
.theme-cryptic-notes .panel-title h2{color:#eee0bd;font-family:"Songti SC","STSong",serif;font-size:22px;font-weight:700;letter-spacing:.08em}
.theme-cryptic-notes .panel-title b{color:#c3a96c;font-family:Georgia,serif;font-size:11px;font-weight:500}
.theme-cryptic-notes .history{padding:6px 18px 22px}.theme-cryptic-notes .record{grid-template-columns:38px 1fr;padding:15px 4px;border-color:rgba(218,194,137,.13)}
.theme-cryptic-notes .record-index{width:34px;height:34px;border:1px solid rgba(218,194,137,.38);border-radius:50%;color:#d7bd7c;background:#18231e;font-family:Georgia,serif;font-weight:500}
.theme-cryptic-notes .record strong{color:#e9ddbd;font-family:"Songti SC","STSong",serif;font-size:14px;letter-spacing:.03em}.theme-cryptic-notes .record time{color:#887f6b}.theme-cryptic-notes .empty{color:#827965}

.theme-cryptic-notes .modal-backdrop{background:rgba(4,8,6,.82);backdrop-filter:blur(12px)}
.theme-cryptic-notes .result-card{color:#efe2c1;border:1px solid #b99a5e;border-radius:7px;background:radial-gradient(circle at 50% 0,rgba(71,112,91,.23),transparent 15rem),linear-gradient(155deg,#222d27,#0d1311);box-shadow:0 38px 120px rgba(0,0,0,.78),inset 0 0 0 5px rgba(0,0,0,.22)}
.theme-cryptic-notes .result-card::before{content:"ARCHIVE ENTRY";display:block;color:#7d988a;font-family:Georgia,serif;font-size:8px;font-weight:700;letter-spacing:.32em}
.theme-cryptic-notes .result-card>p,.theme-cryptic-notes .result-card time{color:#a79b7e}.theme-cryptic-notes .result-card h2{color:#e3c982;font-family:"Songti SC","STSong",serif;font-size:31px;font-weight:700;letter-spacing:.05em}.theme-cryptic-notes .result-spark{color:#6b9d83;font-size:34px;text-shadow:0 0 20px rgba(84,148,116,.45)}
.theme-cryptic-notes .result-history-block{border-color:rgba(218,194,137,.24);border-radius:3px;background:rgba(5,9,7,.32)}.theme-cryptic-notes .result-history-head,.theme-cryptic-notes .result-history-item{border-color:rgba(218,194,137,.12)}.theme-cryptic-notes .result-history-head,.theme-cryptic-notes .result-history-item strong{color:#e8ddbf}.theme-cryptic-notes .result-history-head span,.theme-cryptic-notes .result-history-item time{color:#8f856f}.theme-cryptic-notes .result-history-item>span{border:1px solid rgba(218,194,137,.34);border-radius:50%;color:#d5bb79;background:#16221d}
.theme-cryptic-notes .result-card .primary{min-height:50px;border:1px solid #a98a51;border-radius:3px;color:#f5e9c8;background:linear-gradient(135deg,#3f725c,#214c3d);box-shadow:0 5px 0 #0c211a}
.theme-cryptic-notes button:focus-visible{outline:3px solid #e0c77f;outline-offset:4px}

@media(max-width:900px){.theme-cryptic-notes .game-layout{display:block}.theme-cryptic-notes .history-panel{margin-top:22px}.theme-cryptic-notes .wheel-wrap{width:min(570px,66vh,88vw)}}
@media(max-width:600px){
  .theme-cryptic-notes .play-shell{width:100%;padding:max(10px,env(safe-area-inset-top)) 10px calc(36px + env(safe-area-inset-bottom))}
  .theme-cryptic-notes .brand{min-height:180px;margin-bottom:14px;padding:30px 8px 26px}.theme-cryptic-notes .brand::before{left:12px}.theme-cryptic-notes .brand::after{right:12px}
  .theme-cryptic-notes .brand p{font-size:8px;letter-spacing:.22em}.theme-cryptic-notes .brand h1{font-size:38px}.theme-cryptic-notes .brand-campaign-title{font-size:21px;letter-spacing:.14em}.theme-cryptic-notes .brand-campaign-title::after{font-size:7px;letter-spacing:.23em}
  .theme-cryptic-notes .wheel-column{padding:24px 4px 20px}.theme-cryptic-notes .welcome{justify-content:space-between;margin:0 12px 10px}.theme-cryptic-notes .welcome span{font-size:13px}.theme-cryptic-notes .welcome strong{padding:7px 10px}
  .theme-cryptic-notes .wheel-wrap{width:min(calc(100vw - 28px),400px)}.theme-cryptic-notes .wheel{width:91%;height:91%}.theme-cryptic-notes .pointer{border-left-width:15px;border-right-width:15px;border-top-width:40px}.theme-cryptic-notes .pointer::before{left:-10px;top:-43px;width:20px;height:20px}
  .theme-cryptic-notes .hub,.theme-cryptic-notes .hub:disabled{width:84px;height:84px;border-width:5px}.theme-cryptic-notes .hub span{font-size:26px}.theme-cryptic-notes .status{margin-top:10px;font-size:12px}
  .theme-cryptic-notes .cryptic-rule{margin-top:8px;padding:9px 5px;font-size:13px;line-height:1.65;white-space:normal}.theme-cryptic-notes .cryptic-rule img{width:40px;height:40px;margin-inline:2px}
  .theme-cryptic-notes .history-panel{border-radius:5px}.theme-cryptic-notes .result-card{padding:28px 20px 20px;border-radius:6px}.theme-cryptic-notes .modal{align-items:center}
}
@media(max-width:380px){.theme-cryptic-notes .brand h1{font-size:34px}.theme-cryptic-notes .brand-campaign-title{font-size:18px}.theme-cryptic-notes .wheel-wrap{width:min(calc(100vw - 20px),360px)}}
@media(prefers-reduced-motion:reduce){.theme-cryptic-notes .wheel{transition-duration:.01ms!important}}
