:root {
  --accent: #ff8a1f;
  --accent2: #ffb347;
  --green: #3ecf6e;
  --blue: #4aa8ff;
  --red: #ff5a5a;
  --gold: #ffd25a;
  --glass: rgba(16, 22, 30, 0.72);
  --glass2: rgba(24, 32, 42, 0.86);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f1f4f7;
  --muted: #9aa7b4;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #0d1216; color: var(--text); font-family: var(--font); user-select: none; }
#app { position: fixed; inset: 0; }
#gl { position: absolute; inset: 0; display: block; outline: none; }
.hidden { display: none !important; }
.screen { position: absolute; inset: 0; z-index: 10; }
b { font-weight: 700; }
kbd {
  display: inline-block; min-width: 22px; padding: 1px 6px; margin: 0 2px; border-radius: 5px; font: 600 12px/18px var(--font);
  text-align: center; color: #1b2128; background: linear-gradient(#fff, #d9dee4); box-shadow: 0 2px 0 #8d98a4;
}

/* ---------- 按钮 ---------- */
.btn {
  font: 600 15px var(--font); color: var(--text); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 18px; border-radius: 12px; cursor: pointer; transition: all .15s; backdrop-filter: blur(6px);
}
.btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, #ff9a2e, #f06a12); border-color: #ffb066; box-shadow: 0 6px 18px rgba(240, 106, 18, .35); }
.btn.primary:hover:not(:disabled) { background: linear-gradient(135deg, #ffab4a, #ff7a22); }
.btn.danger { background: rgba(255, 80, 80, .14); border-color: rgba(255, 90, 90, .45); color: #ffb3b3; }
.btn.ghost { background: transparent; }
.btn.big { padding: 14px 28px; font-size: 18px; border-radius: 14px; }
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn.full { width: 100%; margin-top: 10px; }
.btn.buy { background: linear-gradient(135deg, #2fbf62, #1f9a4c); border-color: #5fe08d; }

/* ---------- 加载 ---------- */
#loading { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #23384a, #0b1015 70%); }
.load-box { text-align: center; width: 360px; }
.logo-mark { font-size: 64px; animation: bob 1.4s ease-in-out infinite; }
.logo-big { font-size: 40px; font-weight: 900; letter-spacing: 6px; margin: 8px 0 26px; background: linear-gradient(#fff, #ffc27a); -webkit-background-clip: text; color: transparent; }
.load-bar { height: 8px; background: rgba(255, 255, 255, .1); border-radius: 8px; overflow: hidden; }
#load-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .3s; }
#load-text { margin-top: 12px; color: var(--muted); font-size: 14px; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-6deg); } }

/* ---------- 标题 ---------- */
#title { display: flex; align-items: center; padding-left: 8vw; background: linear-gradient(90deg, rgba(8, 14, 20, .78) 0%, rgba(8, 14, 20, .35) 45%, rgba(0, 0, 0, 0) 70%); }
.title-wrap { max-width: 560px; animation: fadeUp .8s ease both; }
.title-badge { display: inline-block; padding: 5px 14px; border-radius: 30px; font: 800 13px var(--font); letter-spacing: 4px; color: #1a1205; background: linear-gradient(90deg, var(--gold), var(--accent)); }
#title h1 { font-size: 88px; font-weight: 900; letter-spacing: 8px; margin: 14px 0 6px; line-height: 1.05; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); background: linear-gradient(180deg, #ffffff 30%, #ffd59a); -webkit-background-clip: text; color: transparent; }
.subtitle { font-size: 20px; color: #d6e0ea; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.title-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.title-feats span { padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-size: 14px; backdrop-filter: blur(6px); }
.title-buttons { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.title-foot { position: absolute; bottom: 20px; left: 8vw; color: rgba(255, 255, 255, .55); font-size: 13px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

/* ---------- 环卫中心 ---------- */
#hub { display: flex; flex-direction: column; pointer-events: none; }
#hub > * { pointer-events: auto; }
.topbar {
  display: flex; align-items: center; gap: 22px; padding: 12px 20px; margin: 12px 12px 0; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.brand { font-size: 20px; font-weight: 800; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; }
.brand-icon { font-size: 24px; }
.tb-level { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 420px; }
.lv-badge { width: 48px; height: 48px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #4aa8ff, #2463a6); box-shadow: 0 4px 14px rgba(74, 168, 255, .35); line-height: 1; }
.lv-badge small { font-size: 10px; opacity: .8; }
.lv-badge span { font-size: 22px; font-weight: 900; }
.xp { flex: 1; }
.xp-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.xp-label b { color: var(--text); }
.xp-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#hub-xp-fill { height: 100%; background: linear-gradient(90deg, #4aa8ff, #8fd0ff); transition: width .6s; }
.tb-money { font-size: 22px; font-weight: 800; color: var(--gold); padding: 6px 16px; border-radius: 12px; background: rgba(255, 210, 90, .08); border: 1px solid rgba(255, 210, 90, .25); }
.tb-btns { margin-left: auto; display: flex; gap: 8px; }
.hub-body { flex: 1; display: flex; gap: 12px; padding: 12px; min-height: 0; pointer-events: none; }
.hub-body > .panel { pointer-events: auto; }
.hub-spacer { flex: 1; }
.panel { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(12px); display: flex; flex-direction: column; min-height: 0; }
.panel.side { width: 430px; }
.panel.detail { width: 380px; padding: 20px; overflow-y: auto; }
.tabs { display: flex; padding: 8px; gap: 6px; border-bottom: 1px solid var(--line); }
.tab { flex: 1; font: 700 15px var(--font); color: var(--muted); background: transparent; border: none; padding: 10px; border-radius: 10px; cursor: pointer; }
.tab.active { color: #fff; background: rgba(255, 138, 31, .2); box-shadow: inset 0 0 0 1px rgba(255, 138, 31, .5); }
.tab-content { overflow-y: auto; padding: 12px; flex: 1; }
.tab-content::-webkit-scrollbar, .panel.detail::-webkit-scrollbar { width: 6px; }
.tab-content::-webkit-scrollbar-thumb, .panel.detail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .15); border-radius: 6px; }
.mgroup { margin-bottom: 14px; }
.mgroup-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; margin-bottom: 8px; color: var(--c); }
.mgroup-title small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mcard {
  position: relative; padding: 10px; border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08); transition: all .15s; overflow: hidden;
}
.mcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: .8; }
.mcard:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.mcard.sel { border-color: var(--c); background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 1px var(--c), 0 6px 20px rgba(0, 0, 0, .3); }
.mcard.locked { opacity: .55; }
.mc-top { display: flex; gap: 4px; align-items: center; margin-bottom: 4px; }
.mc-name { font-weight: 700; font-size: 14px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-info { font-size: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.mc-stars { margin-top: 4px; color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.dim { color: rgba(255, 255, 255, .18); }
.rew { color: var(--gold); font-weight: 700; }
.xpv { color: #8fd0ff; }
.req { color: #ff9b9b; font-size: 12px; }
.own { color: var(--green); font-size: 13px; }
.diff { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 6px; }
.diff.d1 { background: rgba(62, 207, 110, .2); color: #6ff09a; }
.diff.d2 { background: rgba(255, 179, 71, .2); color: #ffc36e; }
.diff.d3 { background: rgba(255, 90, 90, .22); color: #ff8c8c; }
.tag-limit { font-size: 11px; color: #ffb3b3; }
.d-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.d-icon { width: 60px; height: 60px; border-radius: 16px; font-size: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px var(--c); }
.d-type { font-size: 13px; color: var(--muted); }
.d-head h2 { font-size: 24px; font-weight: 900; }
.d-desc { color: #c9d3dc; line-height: 1.7; font-size: 14px; margin-bottom: 14px; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.d-grid > div { padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.d-grid label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.d-grid b { font-size: 16px; }
.gold { color: var(--gold); } .blue { color: #8fd0ff; } .red { color: #ff8c8c; }
.d-record { padding: 10px 12px; border-radius: 10px; background: rgba(255, 210, 90, .07); font-size: 14px; color: var(--gold); margin-bottom: 8px; }
.d-record .new { color: #ffd59a; }
.d-tip { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.vlist { display: flex; flex-direction: column; gap: 8px; }
.vcard { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); cursor: pointer; transition: all .15s; }
.vcard:hover { background: rgba(255, 255, 255, .1); }
.vcard.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: rgba(255, 138, 31, .1); }
.vcard.locked { opacity: .55; }
.v-icon { font-size: 30px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.v-name { font-weight: 700; margin-bottom: 3px; }
.stats { margin: 4px 0 14px; }
.sbar { display: grid; grid-template-columns: 76px 1fr 86px; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.sbar label { color: var(--muted); }
.sbar b { text-align: right; }
.track { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.track .fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 8px; transition: width .4s; }
.ups { display: flex; flex-direction: column; gap: 8px; }
.up { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.up-l small { display: block; color: var(--muted); font-size: 12px; margin: 2px 0 5px; }
.pips { display: flex; gap: 4px; }
.pips i { width: 22px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .15); }
.pips i.on { background: linear-gradient(90deg, var(--green), #9cf0b8); }

/* ---------- HUD ---------- */
#hud { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); border-radius: 14px; }
.hud-tl { position: absolute; left: 16px; top: 16px; width: 340px; padding: 12px 14px; }
#hud-mission { font-weight: 800; font-size: 17px; margin-bottom: 4px; }
#hud-objective { font-size: 13px; color: #c9d3dc; line-height: 1.5; margin-bottom: 8px; }
.prog { height: 9px; border-radius: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#hud-prog-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), #b4f5c9); transition: width .25s; }
#hud-prog-text { font-size: 12px; color: var(--muted); margin-top: 5px; }
.hud-tc { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); text-align: center; }
#hud-timer { font: 900 38px/1 "Consolas", var(--font); letter-spacing: 2px; text-shadow: 0 3px 12px rgba(0, 0, 0, .6); }
#hud-timer.warn { color: var(--red); animation: pulse 1s infinite; }
#hud-timer-sub { font-size: 12px; color: #e3e9ef; text-shadow: 0 1px 6px #000; margin-top: 3px; }
#hud-guide { margin-top: 8px; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(0, 0, 0, .45); display: inline-block; }
#hud-guide:empty { display: none; }
@keyframes pulse { 50% { opacity: .55; } }
.hud-tr { position: absolute; right: 16px; top: 16px; padding: 10px 16px; font-weight: 800; font-size: 16px; color: var(--gold); }
.hud-tr .sep { display: inline-block; width: 1px; height: 14px; background: var(--line); margin: 0 10px; vertical-align: middle; }
.hud-bl { position: absolute; left: 16px; bottom: 16px; }
#minimap { border-radius: 50%; box-shadow: 0 6px 24px rgba(0, 0, 0, .5); display: block; transition: width .2s, height .2s; }
.mm-hint { text-align: center; font-size: 11px; color: rgba(255, 255, 255, .6); margin-top: 4px; text-shadow: 0 1px 4px #000; }
.hud-br { position: absolute; right: 16px; bottom: 16px; width: 270px; padding: 12px 14px; }
.speed { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
#hud-speed { font: 900 40px/1 "Consolas", var(--font); }
.speed small { color: var(--muted); }
.gauge { display: grid; grid-template-columns: 40px 1fr 60px; align-items: center; gap: 8px; font-size: 13px; margin: 6px 0; }
.gauge label { color: var(--muted); }
.gauge span { text-align: right; font-weight: 700; }
.gauge .gtext { grid-column: 2 / 4; text-align: left; }
.gauge .fill { transition: width .2s; }
#hud-keys { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: #c9d3dc; }
#hud-prompt {
  position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); padding: 12px 22px; border-radius: 14px; font-size: 17px; font-weight: 700;
  background: rgba(10, 14, 20, .8); border: 1px solid rgba(255, 179, 71, .5); box-shadow: 0 6px 24px rgba(0, 0, 0, .4); white-space: nowrap; animation: fadeIn .2s;
}
#hud-prompt b { color: #1b2128; background: linear-gradient(#fff, #d9dee4); padding: 1px 8px; border-radius: 5px; margin: 0 3px; box-shadow: 0 2px 0 #8d98a4; }
@keyframes fadeIn { from { opacity: 0; } }
#banner { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
#banner.anim { animation: banner 3.6s ease both; }
.b-title { font-size: 52px; font-weight: 900; letter-spacing: 4px; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); background: linear-gradient(#fff, #ffd59a); -webkit-background-clip: text; color: transparent; }
.b-sub { font-size: 18px; margin-top: 8px; padding: 8px 18px; border-radius: 10px; background: rgba(0, 0, 0, .5); display: inline-block; }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.9); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%); } }

/* ---------- 小游戏 ---------- */
#minigame {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); width: 560px; padding: 16px 20px; z-index: 20;
  background: rgba(10, 16, 24, .86); border: 1px solid rgba(91, 140, 255, .5); border-radius: 18px; backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.mg-title { font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.mg-hp { position: relative; height: 20px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 14px; }
#mg-hp-fill { height: 100%; background: linear-gradient(90deg, #6d5a3a, #a8823f); transition: width .25s; }
#mg-hp-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.mg-bar { position: relative; height: 34px; border-radius: 10px; background: linear-gradient(90deg, #3a1f1f, #2a2f3a 30%, #2a2f3a 70%, #3a1f1f); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#mg-zone { position: absolute; top: 0; bottom: 0; background: rgba(62, 207, 110, .55); box-shadow: inset 0 0 0 2px #6ff09a; }
#mg-perfect { position: absolute; top: 0; bottom: 0; background: rgba(255, 210, 90, .75); }
#mg-needle { position: absolute; top: -4px; bottom: -4px; width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 10px #fff, 0 0 2px #000; border-radius: 2px; }
.mg-row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: #c9d3dc; }
#mg-combo { color: var(--gold); font-weight: 800; }
.mg-flash { height: 26px; text-align: center; font-size: 20px; font-weight: 900; margin-top: 2px; }
.mg-flash.perfect { color: var(--gold); animation: pop .3s; }
.mg-flash.hit { color: var(--green); animation: pop .3s; }
.mg-flash.miss { color: var(--red); animation: shake .3s; }
.mg-help { font-size: 12px; color: var(--muted); text-align: center; }
.mg-help .g { color: #6ff09a; } .mg-help .y { color: var(--gold); }
@keyframes pop { from { transform: scale(1.5); } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- 弹窗 ---------- */
.modal { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(5, 8, 12, .55); backdrop-filter: blur(4px); animation: fadeIn .2s; }
.modal-box { width: 380px; padding: 26px; border-radius: 20px; background: var(--glass2); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.modal-box.wide { width: 760px; max-width: 94vw; }
.modal-box h2 { font-size: 24px; margin-bottom: 14px; }
.help-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.help-grid h3 { font-size: 15px; color: var(--accent2); margin-bottom: 8px; }
.help-grid p { font-size: 14px; line-height: 1.6; margin-bottom: 7px; color: #d6dee6; }
.help-tip { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(255, 138, 31, .1); font-size: 14px; line-height: 1.6; color: #ffd8b0; }
.result-box { width: 440px; padding: 28px; border-radius: 22px; background: var(--glass2); border: 1px solid var(--line); text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); animation: fadeUp .4s; }
.result-box.ok { border-color: rgba(62, 207, 110, .5); }
.result-box.fail { border-color: rgba(255, 90, 90, .5); }
.r-title { font-size: 34px; font-weight: 900; letter-spacing: 4px; }
.result-box.ok .r-title { color: #7ff0a4; }
.result-box.fail .r-title { color: #ff8c8c; }
.r-name { color: var(--muted); margin: 4px 0 10px; }
.r-stars { font-size: 54px; letter-spacing: 6px; margin: 4px 0 10px; }
.r-stars span { color: rgba(255, 255, 255, .15); display: inline-block; }
.r-stars span.on { color: var(--gold); text-shadow: 0 0 20px rgba(255, 210, 90, .6); animation: starIn .5s both; }
@keyframes starIn { from { transform: scale(2.4) rotate(-30deg); opacity: 0; } }
.r-fail-icon { font-size: 54px; margin: 6px 0; }
.r-rows { text-align: left; margin: 8px 0 14px; }
.rrow { display: flex; justify-content: space-between; padding: 7px 4px; border-bottom: 1px dashed rgba(255, 255, 255, .08); font-size: 14px; }
.rrow.bad { color: #ff9b9b; }
.rrow.total { font-size: 18px; font-weight: 800; border-bottom: none; padding-top: 10px; }
.r-level { margin: 6px 0 14px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(74, 168, 255, .25), rgba(255, 210, 90, .2)); font-weight: 800; font-size: 17px; animation: pulse 1.6s 2; }
.r-level small { font-weight: 500; font-size: 13px; color: #d6e6f5; }
.r-btns { display: flex; gap: 10px; justify-content: center; }

/* ---------- 提示 ---------- */
#toasts { position: absolute; top: 90px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { padding: 10px 18px; border-radius: 12px; font-size: 15px; font-weight: 600; background: rgba(14, 20, 28, .88); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); animation: toastIn .3s; transition: opacity .4s, transform .4s; }
.toast b { color: var(--gold); }
.toast.good { border-color: rgba(62, 207, 110, .6); }
.toast.bad { border-color: rgba(255, 90, 90, .7); color: #ffc2c2; }
.toast.warn { border-color: rgba(255, 179, 71, .7); color: #ffe0b3; }
.toast.out { opacity: 0; transform: translateY(-10px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px); } }

@media (max-width: 1280px) {
  .panel.side { width: 380px; }
  .panel.detail { width: 340px; }
  .mcards { grid-template-columns: repeat(2, 1fr); }
  #title h1 { font-size: 64px; }
}
