:root{--ccw-bg:#07101f;--ccw-card:#101b31;--ccw-card2:#0c1528;--ccw-line:#23324f;--ccw-text:#eef5ff;--ccw-muted:#91a0bd;--ccw-green:#7cf1b7;--ccw-red:#ff7088;--ccw-gold:#ffd166}
.ccw-shell{background:linear-gradient(180deg,#07101f,#091426);color:var(--ccw-text);border:1px solid #182640;border-radius:18px;overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 20px 70px rgba(0,0,0,.28)}
.ccw-shell *{box-sizing:border-box}.ccw-shell button,.ccw-shell input,.ccw-shell select{font:inherit}.ccw-topbar{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;background:#081326;border-bottom:1px solid var(--ccw-line);gap:14px}.ccw-topbar>div:first-child{display:flex;align-items:baseline;gap:10px}.ccw-topbar strong{font-size:18px}.ccw-sub{font-size:10px;color:var(--ccw-muted);text-transform:uppercase;letter-spacing:.12em}.ccw-player{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ccw-player span{font-size:12px;background:#0d1a31;border:1px solid var(--ccw-line);padding:6px 9px;border-radius:9px}.ccw-name{color:var(--ccw-muted)}
.ccw-message{margin:10px 18px 0;padding:10px 13px;border-radius:10px;background:#14213a;border:1px solid #2c4169;font-size:12px}.ccw-message[data-type=success]{border-color:#2b7b5a}.ccw-message[data-type=error]{border-color:#963b50;background:#2a1220}.ccw-tabs{display:flex;padding:8px 18px 0;gap:4px;background:#081326;border-bottom:1px solid var(--ccw-line)}.ccw-tab{appearance:none;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ccw-muted);padding:10px 12px;cursor:pointer;font-weight:700;font-size:12px}.ccw-tab.is-active{color:#fff;border-color:var(--ccw-green)}
.ccw-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:12px;padding:14px}.ccw-main{min-width:0}.ccw-sidebar{display:grid;align-content:start;gap:12px}.ccw-sidebar-muted{opacity:.45;pointer-events:none}.ccw-map-card,.ccw-panel{background:rgba(16,27,49,.9);border:1px solid var(--ccw-line);border-radius:15px;padding:13px}.ccw-wide-panel{min-height:520px}.ccw-panel h3{margin:0 0 10px;font-size:13px}.ccw-map-head{display:flex;justify-content:space-between;color:var(--ccw-muted);font-size:10px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:9px}.ccw-map{--cols:14;display:grid;grid-template-columns:repeat(var(--cols),minmax(22px,1fr));gap:3px;aspect-ratio:1/1}.ccw-tile{position:relative;appearance:none;border:1px solid rgba(255,255,255,.06);border-radius:5px;min-width:0;cursor:pointer;overflow:hidden;color:#fff;display:grid;place-items:center;padding:0}.ccw-tile:hover{outline:2px solid rgba(255,255,255,.35);z-index:2}.ccw-tile.selected{outline:3px solid #fff;z-index:3}.ccw-tile.owned{box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--faction-color) 60%,transparent)}.ccw-tile.capital{box-shadow:inset 0 0 0 3px var(--ccw-gold),0 0 16px color-mix(in srgb,var(--faction-color) 45%,transparent)}.ccw-tile.wonder{box-shadow:inset 0 0 0 3px #d4a8ff,0 0 15px rgba(212,168,255,.45)}.terrain-plains{background:#355f46}.terrain-forest{background:#173d2d}.terrain-hills{background:#5b5362}.terrain-desert{background:#765832}.terrain-water{background:#173d66}.ccw-terrain{font-size:clamp(10px,1.3vw,18px);opacity:.65}.ccw-building{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(11px,1.65vw,23px);filter:drop-shadow(0 2px 2px #000)}.ccw-building small{position:absolute;right:2px;top:1px;font-size:7px;background:#07101f;border-radius:8px;padding:1px 3px}.ccw-flag{position:absolute;left:2px;bottom:1px;font-size:6px;font-weight:900;max-width:90%;overflow:hidden;color:#fff;text-shadow:0 1px 2px #000}.ccw-continent-mark{position:absolute;left:2px;top:1px;font-size:6px;color:rgba(255,255,255,.5)}.continent-northreach{border-top-color:rgba(171,214,255,.35)}.continent-ironcoast{border-right-color:rgba(207,207,207,.35)}.continent-verdantia{border-left-color:rgba(128,255,163,.28)}.continent-sunfall{border-bottom-color:rgba(255,204,101,.38)}.ccw-legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:9px;color:var(--ccw-muted);font-size:10px}
.ccw-muted,.ccw-hint{color:var(--ccw-muted);font-size:11px}.ccw-tile-title{font-size:14px;font-weight:900;margin-bottom:8px;color:#fff}.ccw-actions{display:grid;gap:8px;margin-top:11px}.ccw-btn{appearance:none;border:1px solid #334767;background:#162641;color:#fff;border-radius:9px;padding:8px 10px;cursor:pointer;text-decoration:none;font-size:11px;font-weight:800}.ccw-btn:hover:not(:disabled){filter:brightness(1.13)}.ccw-btn:disabled{opacity:.45;cursor:not-allowed}.ccw-btn-primary{background:#1f7655;border-color:#2a9a70}.ccw-btn-danger{background:#7b283c;border-color:#a13a53}.ccw-btn-yes{background:#1f7655}.ccw-btn-no{background:#6f2c3f}.ccw-war-alert,.ccw-callout{border:1px solid #70404d;background:#2a1721;color:#ffb9c4;border-radius:10px;padding:10px;font-size:11px}.ccw-callout{border-color:#6d6335;background:#272510;color:#ffe59e;margin:12px 0}
.ccw-building-list{display:grid;gap:7px}.ccw-building-row{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:start;border-bottom:1px solid var(--ccw-line);padding:7px 0}.ccw-building-row:last-child{border:0}.ccw-building-row b,.ccw-building-row small{display:block}.ccw-building-row b{font-size:10px}.ccw-building-row small{font-size:10px;color:var(--ccw-muted);line-height:1.4}.ccw-building-row em{font-style:normal;font-size:10px;color:#f4d98d;text-align:right;max-width:100px}.ccw-big-icon{font-size:19px}.ccw-wonder-row{background:rgba(130,86,170,.11);border-radius:8px;padding:8px}.ccw-mini-title{font-size:10px;letter-spacing:.15em;color:#c7a7e7;margin-top:8px}.ccw-propose-box{display:grid;gap:7px}.ccw-propose-box label{font-size:10px;color:var(--ccw-muted)}.ccw-shell select,.ccw-shell input{width:100%;background:#071225;border:1px solid #2a3c60;color:#fff;border-radius:8px;padding:8px}.ccw-upgrade-summary{display:grid;gap:3px}.ccw-upgrade-summary small{color:var(--ccw-muted);font-size:10px}
.ccw-proposals{display:grid;gap:9px}.ccw-proposal{background:#0c1528;border:1px solid var(--ccw-line);border-radius:10px;padding:9px}.ccw-proposal-head{display:flex;justify-content:space-between;gap:7px;font-size:10px}.ccw-proposal-head small{color:var(--ccw-green)}.ccw-bar,.ccw-progress{height:6px;background:#502638;border-radius:20px;overflow:hidden;margin:8px 0}.ccw-bar span,.ccw-progress span{display:block;height:100%;background:#35a472}.ccw-vote-count{display:flex;justify-content:space-between;font-size:10px}.ccw-vote-controls{display:grid;grid-template-columns:55px 1fr 1fr;gap:5px;margin-top:8px}.ccw-vote-controls input{padding:5px}.ccw-voted{margin-top:7px;font-size:10px;color:#b8c6df}
.ccw-hero{margin-bottom:18px}.ccw-hero h2{font-size:25px;margin:0 0 7px}.ccw-hero p,.ccw-empty-state p,.ccw-faction-header p{color:var(--ccw-muted)}.ccw-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.ccw-form-grid label{font-size:11px;color:var(--ccw-muted);display:grid;gap:5px}.ccw-sep{border:0;border-top:1px solid var(--ccw-line);margin:24px 0}.ccw-faction-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.ccw-faction-card{--faction-color:#7cf1b7;appearance:none;text-align:left;border:1px solid var(--ccw-line);border-left:4px solid var(--faction-color);border-radius:12px;background:#0c1528;color:#fff;padding:12px;cursor:pointer}.ccw-faction-card b,.ccw-faction-card span,.ccw-faction-card small{display:block}.ccw-faction-card span{color:var(--faction-color);font-weight:800;margin:2px 0}.ccw-faction-card small{color:var(--ccw-muted)}
.ccw-faction-header{--faction-color:#7cf1b7;display:flex;justify-content:space-between;gap:16px;border-left:5px solid var(--faction-color);background:linear-gradient(90deg,color-mix(in srgb,var(--faction-color) 13%,transparent),transparent);padding:16px;border-radius:13px}.ccw-faction-header h2 em{font-style:normal;color:var(--faction-color);font-size:.65em}.ccw-kicker{font-size:10px;letter-spacing:.15em;color:var(--ccw-muted)}.ccw-prestige{text-align:right;font-size:24px;font-weight:900}.ccw-prestige small{display:block;font-size:10px;color:var(--ccw-muted)}.ccw-stat-grid,.ccw-resource-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:16px 0}.ccw-resource-grid{grid-template-columns:repeat(5,1fr)}.ccw-stat-grid div,.ccw-resource-grid div{background:#0c1528;border:1px solid var(--ccw-line);border-radius:11px;padding:12px}.ccw-stat-grid b,.ccw-stat-grid span,.ccw-resource-grid b,.ccw-resource-grid span{display:block}.ccw-stat-grid b,.ccw-resource-grid b{font-size:18px}.ccw-stat-grid span,.ccw-resource-grid span{font-size:10px;color:var(--ccw-muted)}.ccw-faction-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ccw-faction-columns>div,.ccw-token-ready{background:#0c1528;border:1px solid var(--ccw-line);border-radius:12px;padding:14px}.ccw-faction-columns p{color:var(--ccw-muted);font-size:12px}.ccw-inline{display:flex;gap:7px}.ccw-inline input{max-width:140px}.ccw-token-ready{margin-top:12px;display:grid;gap:4px}.ccw-token-ready span{color:var(--ccw-muted);font-size:12px}.ccw-continent-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.ccw-continent-card{background:#0c1528;border:1px solid var(--ccw-line);border-radius:11px;padding:11px;display:grid;gap:3px}.ccw-continent-card span,.ccw-continent-card small{font-size:10px;color:var(--ccw-muted)}.ccw-continent-card.is-controlled{border-color:#4eaa7b;box-shadow:inset 0 0 0 1px rgba(124,241,183,.15)}.ccw-continent-card.is-controlled small{color:var(--ccw-green);font-weight:900}
.ccw-tech-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:11px;margin-bottom:24px}.ccw-tech-card{background:#0c1528;border:1px solid var(--ccw-line);border-radius:13px;padding:13px;display:grid;gap:8px}.ccw-tech-head{display:flex;gap:9px;align-items:center}.ccw-tech-head>span{font-size:28px}.ccw-tech-head b,.ccw-tech-head small{display:block}.ccw-tech-head small,.ccw-tech-card p,.ccw-tech-cost{font-size:10px;color:var(--ccw-muted)}.ccw-tech-card p{min-height:30px;margin:0}.ccw-tech-cost{color:#f4d98d}.ccw-wonder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.ccw-wonder-card{display:grid;grid-template-columns:50px 1fr;gap:10px;background:#120f22;border:1px solid #3e3159;border-radius:13px;padding:13px}.ccw-wonder-card.is-built{border-color:#7a5b9d}.ccw-wonder-icon{font-size:34px}.ccw-wonder-card b,.ccw-wonder-card small,.ccw-wonder-card em{display:block}.ccw-wonder-card small{color:#c9aee5;font-size:10px}.ccw-wonder-card p{font-size:10px;color:var(--ccw-muted);margin:5px 0}.ccw-wonder-card em{font-size:10px;color:#f2d893;font-style:normal}
.ccw-war-card{border:1px solid var(--ccw-line);background:#0c1528;border-radius:14px;padding:14px;margin-bottom:12px}.ccw-war-top{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}.ccw-war-top div{display:grid;gap:3px}.ccw-war-top span{font-size:10px;color:var(--ccw-muted)}.ccw-war-top b{font-size:13px}.ccw-war-top .ccw-right{text-align:right}.ccw-war-vs{font-size:12px;font-weight:900;color:#ffb8c3}.ccw-war-target{font-size:11px;color:var(--ccw-muted);margin:10px 0}.ccw-war-meter{height:12px;background:#304a77;border-radius:20px;overflow:hidden}.ccw-war-meter span{display:block;height:100%;background:#b43c56}.ccw-war-score{display:flex;justify-content:space-between;font-size:12px;margin:5px 0}.ccw-battle-action{display:grid;grid-template-columns:90px 1fr;gap:7px;margin-top:10px}.ccw-empty-state{display:grid;place-items:start;align-content:center;min-height:260px;max-width:580px}
.ccw-ranking-list{display:grid;gap:7px}.ccw-rank-row{--faction-color:#7cf1b7;display:grid;grid-template-columns:48px minmax(160px,1fr) repeat(4,minmax(75px,.45fr));gap:10px;align-items:center;background:#0c1528;border:1px solid var(--ccw-line);border-left:4px solid var(--faction-color);border-radius:11px;padding:11px}.ccw-rank-row>span{display:grid}.ccw-rank-row small{color:var(--ccw-muted);font-size:10px}.ccw-rank-no{font-size:17px;font-weight:900;color:var(--ccw-muted)}.ccw-rank-name small{color:var(--faction-color);font-size:10px;font-weight:800}.ccw-footer-note{padding:0 18px 16px;color:#70809f;font-size:10px;text-align:center}
@media(max-width:1000px){.ccw-layout{grid-template-columns:1fr}.ccw-sidebar-muted{display:none}.ccw-wide-panel{min-height:0}.ccw-map{gap:2px}.ccw-stat-grid{grid-template-columns:repeat(3,1fr)}.ccw-rank-row{grid-template-columns:38px minmax(120px,1fr) repeat(2,65px)}.ccw-rank-row>span:nth-child(5),.ccw-rank-row>span:nth-child(6){display:none}}
@media(max-width:650px){.ccw-topbar{align-items:flex-start;flex-direction:column}.ccw-sub{display:block;margin:2px 0 0}.ccw-tabs{overflow:auto}.ccw-tab{white-space:nowrap;padding:9px}.ccw-layout{padding:10px}.ccw-map-card,.ccw-panel{border-radius:13px}.ccw-map{gap:1px}.ccw-tile{border-radius:3px}.ccw-flag,.ccw-continent-mark{display:none}.ccw-form-grid,.ccw-faction-columns,.ccw-continent-grid{grid-template-columns:1fr}.ccw-stat-grid{grid-template-columns:1fr 1fr}.ccw-resource-grid{grid-template-columns:repeat(2,1fr)}.ccw-war-top{grid-template-columns:1fr}.ccw-war-top .ccw-right{text-align:left}.ccw-war-vs{display:none}.ccw-ranking-list{overflow:auto}.ccw-rank-row{min-width:520px}.ccw-vote-controls{grid-template-columns:50px 1fr 1fr}}

/* v0.4 immersive world map */
.ccw-map-card{padding:0;overflow:hidden;background:linear-gradient(180deg,#0c1830,#081222);box-shadow:0 18px 55px rgba(0,0,0,.24)}
.ccw-map-head{margin:0;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(6,15,30,.92);border-bottom:1px solid var(--ccw-line);text-transform:none;letter-spacing:0}
.ccw-map-head>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}.ccw-world-title{font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#dbe8ff}.ccw-map-head #ccw-selected-label{font-size:10px;color:var(--ccw-muted);white-space:nowrap}
.ccw-map-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.ccw-map-tool{appearance:none;border:1px solid #2c3e60;background:#111f38;color:#eaf2ff;border-radius:8px;height:31px;min-width:31px;padding:0 9px;font-size:11px;font-weight:800;cursor:pointer}.ccw-map-tool:hover{background:#1a2c4b;border-color:#49658d}.ccw-map-tool-wide{min-width:auto}.ccw-zoom-label{min-width:44px;text-align:center;font-size:10px;color:var(--ccw-muted);font-variant-numeric:tabular-nums}
.ccw-map-viewport{position:relative;height:min(72vh,820px);min-height:600px;overflow:hidden;cursor:grab;touch-action:none;user-select:none;background:radial-gradient(circle at 50% 42%,rgba(57,92,133,.18),transparent 45%),linear-gradient(145deg,#06101f,#0a1b32 58%,#07121f)}
.ccw-map-viewport::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.65),transparent)}
.ccw-map-viewport.is-dragging{cursor:grabbing}.ccw-map-stage{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}.ccw-map{--cols:14;--tile-size:64px;display:grid;grid-template-columns:repeat(var(--cols),var(--tile-size));grid-auto-rows:var(--tile-size);gap:4px;width:max-content;aspect-ratio:auto;padding:22px}
.ccw-tile{width:var(--tile-size);height:var(--tile-size);border-radius:9px;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 4px 10px rgba(0,0,0,.16);transition:filter .12s ease,outline-color .12s ease}.ccw-tile:hover{filter:brightness(1.17);outline:2px solid rgba(255,255,255,.5)}.ccw-terrain{font-size:23px}.ccw-building{font-size:30px}.ccw-building small{right:4px;top:4px;font-size:8px;padding:2px 5px}.ccw-flag{left:5px;bottom:4px;font-size:8px}.ccw-continent-mark{left:5px;top:4px;font-size:7px;font-weight:800}.ccw-map-help{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);pointer-events:none;background:rgba(4,10,20,.78);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(8px);color:#9db0cf;border-radius:999px;padding:6px 11px;font-size:10px;white-space:nowrap;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.ccw-legend{margin:0;padding:9px 14px 11px;background:#081326;border-top:1px solid var(--ccw-line)}
#ccw-map-card:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;background:#06101f;display:flex;flex-direction:column}#ccw-map-card:fullscreen .ccw-map-viewport{height:auto;min-height:0;flex:1}#ccw-map-card:fullscreen .ccw-map-head{padding:14px 18px}#ccw-map-card:fullscreen .ccw-legend{padding:10px 18px}
.ccw-test-badge{border-color:#7c6330!important;background:#2a210d!important;color:#ffe39a!important;font-weight:900}
.ccw-dev-tools{margin:0 14px 14px;border:1px solid #6f5b2f;background:linear-gradient(135deg,#241d0c,#15182a);border-radius:13px;padding:12px 14px}.ccw-dev-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.ccw-dev-head>div{display:grid;gap:3px}.ccw-dev-head b{font-size:12px;color:#ffe59e}.ccw-dev-head span,.ccw-dev-head small{font-size:10px;color:#b6a77f}.ccw-dev-actions{display:flex;gap:7px;flex-wrap:wrap}.ccw-dev-actions .ccw-btn{font-size:10px}
@media(max-width:1000px){.ccw-map-viewport{height:68vh;min-height:520px}.ccw-map{--tile-size:60px}}
@media(max-width:650px){.ccw-map-head{align-items:flex-start;flex-direction:column}.ccw-map-tools{width:100%;justify-content:flex-start}.ccw-map-tool-wide{font-size:10px}.ccw-map-viewport{height:68vh;min-height:430px}.ccw-map{--tile-size:54px;gap:3px;padding:18px}.ccw-map-help{bottom:8px;font-size:10px;max-width:90%;overflow:hidden;text-overflow:ellipsis}.ccw-dev-head{align-items:flex-start;flex-direction:column}}
/* Let the game use the browser width even inside narrow WordPress page templates. */
.ccw-shell{width:min(1800px,calc(100vw - 24px));max-width:none;margin-left:50%;transform:translateX(-50%)}
@media(max-width:650px){.ccw-shell{width:calc(100vw - 8px)}}

/* v0.5 full-bleed + isometric world */
.ccw-shell{
  width:calc(100vw - 28px)!important;
  max-width:none!important;
  position:relative;
  left:50%;
  margin-left:-50vw!important;
  transform:none!important;
  border-radius:20px;
}
.ccw-layout{grid-template-columns:minmax(0,1fr) 340px;gap:14px;padding:14px}
.ccw-map-viewport{
  height:min(76vh,900px);
  min-height:640px;
  background:
    radial-gradient(circle at 50% 34%,rgba(75,123,177,.20),transparent 42%),
    radial-gradient(circle at 30% 75%,rgba(26,91,76,.16),transparent 35%),
    linear-gradient(180deg,#08182a 0%,#071221 52%,#050d18 100%);
  box-shadow:inset 0 0 70px rgba(0,0,0,.42);
}
.ccw-map-viewport::before{
  background-image:
    radial-gradient(circle at 22% 27%,rgba(255,255,255,.06) 0 1px,transparent 1.5px),
    radial-gradient(circle at 71% 43%,rgba(255,255,255,.04) 0 1px,transparent 1.5px),
    linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);
  background-size:130px 130px,170px 170px,42px 42px,42px 42px;
}
.ccw-map-stage{filter:drop-shadow(0 30px 35px rgba(0,0,0,.30))}
.ccw-map.ccw-map-isometric{
  display:block!important;
  position:relative;
  width:auto;
  height:auto;
  padding:0!important;
  gap:0!important;
  aspect-ratio:auto!important;
  overflow:visible;
}
.ccw-map-isometric .ccw-tile{
  --iso-w:96px;
  --iso-h:56px;
  position:absolute!important;
  width:var(--iso-w)!important;
  height:calc(var(--iso-h) + 18px)!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  display:block!important;
  transform:translate(-50%,-10px);
  transition:transform .14s ease,filter .14s ease;
}
.ccw-map-isometric .ccw-tile:hover{
  transform:translate(-50%,-16px);
  filter:brightness(1.12) drop-shadow(0 12px 10px rgba(0,0,0,.25));
  z-index:999!important;
}
.ccw-map-isometric .ccw-tile.selected{
  transform:translate(-50%,-18px);
  z-index:1000!important;
}
.ccw-tile-depth,.ccw-tile-surface{
  position:absolute;
  left:0;
  top:0;
  width:96px;
  height:56px;
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
  pointer-events:none;
}
.ccw-tile-depth{
  top:10px;
  background:#142033;
  filter:brightness(.58);
}
.ccw-tile-surface{
  border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -8px 18px rgba(0,0,0,.12);
}
.terrain-plains .ccw-tile-surface{background:linear-gradient(145deg,#5e9d63,#386d48 58%,#2d5a3c)}
.terrain-plains .ccw-tile-depth{background:#254735}
.terrain-forest .ccw-tile-surface{background:radial-gradient(circle at 35% 35%,#3d8553 0 9%,transparent 10%),radial-gradient(circle at 62% 48%,#2e7747 0 10%,transparent 11%),linear-gradient(145deg,#2f774c,#184b34 65%,#12392a)}
.terrain-forest .ccw-tile-depth{background:#103224}
.terrain-hills .ccw-tile-surface{background:linear-gradient(155deg,#817b8d,#5a5566 60%,#464250)}
.terrain-hills .ccw-tile-depth{background:#3c3845}
.terrain-desert .ccw-tile-surface{background:radial-gradient(ellipse at 42% 40%,rgba(255,235,169,.23),transparent 40%),linear-gradient(145deg,#c79d59,#8b6736 62%,#71512b)}
.terrain-desert .ccw-tile-depth{background:#664826}
.terrain-water .ccw-tile-surface{background:linear-gradient(155deg,#347fb0,#1b527f 58%,#153f68);box-shadow:inset 0 2px 0 rgba(184,232,255,.25),inset 0 -10px 18px rgba(3,25,49,.25)}
.terrain-water .ccw-tile-depth{top:5px;background:#103758}
.ccw-map-isometric .ccw-tile.owned .ccw-tile-surface{
  border:2px solid color-mix(in srgb,var(--faction-color) 86%,white 14%);
  box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--faction-color) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.25),0 0 13px color-mix(in srgb,var(--faction-color) 20%,transparent);
}
.ccw-map-isometric .ccw-tile.capital .ccw-tile-surface{
  border:3px solid #ffd76b;
  box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--faction-color) 38%,transparent),0 0 19px rgba(255,209,102,.42);
}
.ccw-map-isometric .ccw-tile.wonder .ccw-tile-surface{
  border:3px solid #dcb4ff;
  box-shadow:0 0 22px rgba(190,128,255,.45),inset 0 0 0 3px rgba(190,128,255,.14);
}
.ccw-map-isometric .ccw-tile.selected .ccw-tile-surface{
  border:3px solid #fff!important;
  box-shadow:0 0 0 4px rgba(255,255,255,.17),0 0 26px rgba(130,194,255,.55)!important;
}
.ccw-map-isometric .ccw-terrain{
  position:absolute;
  left:50%;top:21px;
  transform:translate(-50%,-50%);
  font-size:20px!important;
  opacity:.78;
  z-index:4;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.35));
  pointer-events:none;
}
.ccw-map-isometric .ccw-building{
  position:absolute!important;
  left:50%;top:0!important;right:auto!important;bottom:auto!important;
  width:auto!important;height:auto!important;inset:auto!important;
  transform:translate(-50%,-58%);
  display:block!important;
  font-size:35px!important;
  z-index:8;
  filter:drop-shadow(0 7px 4px rgba(0,0,0,.52));
  pointer-events:none;
}
.ccw-map-isometric .ccw-building small{
  position:absolute;right:-9px;top:3px;background:#08111f;border:1px solid rgba(255,255,255,.18);font-size:8px;border-radius:999px;padding:1px 4px;line-height:1.25
}
.ccw-map-isometric .ccw-flag{
  position:absolute;left:50%;bottom:2px;transform:translateX(-50%);z-index:9;
  padding:2px 6px;border-radius:999px;background:rgba(5,11,21,.84);border:1px solid color-mix(in srgb,var(--faction-color) 65%,#fff 12%);
  font-size:8px!important;font-weight:900;line-height:1.2;white-space:nowrap;max-width:88px;text-overflow:ellipsis;overflow:hidden;
  box-shadow:0 3px 8px rgba(0,0,0,.35)
}
.ccw-map-isometric .ccw-continent-mark{
  position:absolute;right:7px;left:auto!important;top:22px!important;z-index:7;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;
  background:rgba(5,11,20,.56);font-size:7px!important;color:rgba(255,255,255,.75)!important;pointer-events:none
}
.ccw-map-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;gap:6px;text-align:center;color:#dce9ff;background:rgba(8,18,34,.9);border:1px solid #304769;border-radius:14px;padding:18px 22px}.ccw-map-empty span{color:#91a0bd;font-size:11px}
.ccw-map-help{bottom:16px;font-size:10px}
.ccw-legend{font-size:10px;gap:14px}

@media(max-width:1100px){
  .ccw-layout{grid-template-columns:1fr}
  .ccw-sidebar{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
  .ccw-map-viewport{min-height:590px;height:70vh}
}
@media(max-width:760px){
  .ccw-shell{width:calc(100vw - 8px)!important}
  .ccw-sidebar{grid-template-columns:1fr}
  .ccw-map-viewport{min-height:500px;height:68vh}
  .ccw-map-isometric .ccw-tile{--iso-w:96px;--iso-h:56px}
}

/* v0.5.1 load diagnostics + safe map bootstrap */
.ccw-map-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;gap:7px;text-align:center;min-width:min(420px,80vw);max-width:620px;padding:20px 24px;border-radius:15px;background:rgba(8,18,34,.94);border:1px solid #304769;color:#e7f0ff;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.ccw-map-status b{font-size:14px}.ccw-map-status span,.ccw-map-status code{font-size:10px;color:#9eb0ce;line-height:1.5}.ccw-map-status.is-error{border-color:#8f3b53;background:rgba(41,14,26,.95)}
.ccw-api-warning{position:absolute;z-index:9999;left:16px;top:16px;display:grid;gap:3px;max-width:460px;padding:10px 12px;border-radius:11px;background:rgba(48,23,15,.94);border:1px solid #9b653e;color:#ffe1c4;box-shadow:0 12px 35px rgba(0,0,0,.35);pointer-events:none}
.ccw-api-warning b{font-size:11px}.ccw-api-warning span,.ccw-api-warning code{font-size:10px;color:#d9b99e;line-height:1.4;white-space:normal}

/* v0.6 qualification / candidate intake */
.ccw-qual-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid rgba(96,165,250,.25);background:linear-gradient(135deg,rgba(30,64,175,.18),rgba(6,182,212,.08));border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.ccw-qual-banner.is-full{border-color:rgba(245,158,11,.3);background:linear-gradient(135deg,rgba(120,53,15,.2),rgba(245,158,11,.06))}
.ccw-qual-banner>div:first-child{display:flex;flex-direction:column;gap:4px}.ccw-qual-banner b{font-size:16px;color:#f8fafc}.ccw-qual-banner small{color:#94a3b8}.ccw-qual-timer{min-width:145px;text-align:center;padding:11px 14px;border-radius:12px;background:#071222;border:1px solid rgba(125,211,252,.25);font:800 17px/1.1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#67e8f9;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.ccw-candidate-view{border:1px solid color-mix(in srgb,var(--faction-color) 35%,#21324a);background:linear-gradient(145deg,color-mix(in srgb,var(--faction-color) 8%,#0a1626),#0a1422);border-radius:18px;padding:22px;margin-bottom:20px;box-shadow:0 22px 60px rgba(0,0,0,.22)}
.ccw-candidate-view h2{margin:4px 0 14px;font-size:30px}.ccw-candidate-view h2 em{font-style:normal;color:var(--faction-color)}
.ccw-candidate-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.ccw-candidate-stats>div{padding:14px;background:rgba(5,15,28,.58);border:1px solid #1d3149;border-radius:12px;display:flex;flex-direction:column;gap:4px}.ccw-candidate-stats b{font-size:22px}.ccw-candidate-stats span{font-size:11px;color:#8fa4bc;text-transform:uppercase;letter-spacing:.07em}
.ccw-callout.is-success{border-color:rgba(34,197,94,.34)!important;background:rgba(22,101,52,.18)!important;color:#bbf7d0!important}.ccw-qual-note{margin-top:14px;padding:12px 14px;border-left:3px solid #64748b;background:rgba(15,23,42,.55);color:#94a3b8;border-radius:0 10px 10px 0}
.ccw-candidate-board{display:grid;gap:8px}.ccw-candidate-row{display:grid;grid-template-columns:52px minmax(180px,1fr) 120px 100px;gap:12px;align-items:center;padding:12px 14px;border:1px solid #1c2d43;background:#091522;border-radius:12px}.ccw-candidate-row.is-eligible{border-color:rgba(34,197,94,.28)}.ccw-candidate-row.is-mine{box-shadow:inset 3px 0 0 var(--faction-color);background:color-mix(in srgb,var(--faction-color) 7%,#091522)}.ccw-candidate-row>span small{color:#7f93aa;margin-left:6px}.ccw-candidate-row>strong{text-align:right}.ccw-candidate-row>em{font-size:10px;font-style:normal;font-weight:800;letter-spacing:.08em;color:#f59e0b;text-align:right}.ccw-candidate-row.is-eligible>em{color:#4ade80}
.ccw-faction-card.is-candidate-faction{border-style:dashed}.ccw-faction-card.is-active-faction{box-shadow:inset 3px 0 0 var(--faction-color)}
.ccw-qualification-lock{display:flex;flex-direction:column;gap:5px;padding:12px;border-radius:10px;background:rgba(120,53,15,.16);border:1px solid rgba(245,158,11,.24)}.ccw-qualification-lock b{color:#fbbf24}.ccw-qualification-lock span{color:#a8b6c8;font-size:12px;line-height:1.45}
@media(max-width:720px){.ccw-qual-banner{align-items:flex-start;flex-direction:column}.ccw-qual-timer{width:100%;box-sizing:border-box}.ccw-candidate-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-candidate-row{grid-template-columns:42px 1fr;gap:6px}.ccw-candidate-row>strong,.ccw-candidate-row>em{text-align:left;grid-column:2}}


/* v0.7 spherical planet */
.ccw-map-viewport{background:
 radial-gradient(circle at 50% 42%,rgba(41,102,166,.16),transparent 37%),
 radial-gradient(circle at 14% 18%,rgba(255,255,255,.65) 0 1px,transparent 1.5px),
 radial-gradient(circle at 72% 27%,rgba(255,255,255,.42) 0 1px,transparent 1.5px),
 radial-gradient(circle at 84% 66%,rgba(255,255,255,.35) 0 1px,transparent 1.5px),
 radial-gradient(circle at 23% 75%,rgba(255,255,255,.28) 0 1px,transparent 1.5px),
 linear-gradient(145deg,#020713,#071426 58%,#020812);
 background-size:auto,190px 190px,260px 260px,310px 310px,225px 225px,auto;
}
.ccw-map-viewport::before{background:none!important}
.ccw-map-stage{position:absolute!important;inset:0!important;transform:none!important;filter:none!important;width:100%!important;height:100%!important}
.ccw-map.ccw-map-globe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;padding:0!important;display:block!important;background:transparent!important;overflow:hidden!important}
.ccw-globe-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;filter:drop-shadow(0 26px 38px rgba(0,0,0,.48))}
.ccw-map-help{background:rgba(2,8,18,.72);border-color:rgba(113,190,255,.18);color:#b4c8e6}
#ccw-map-card:fullscreen .ccw-map-globe,#ccw-map-card:fullscreen .ccw-globe-canvas{width:100%!important;height:100%!important}

/* ======================================================================
   v0.8.0 - COMMAND UPDATE / GAME-FIRST VISUAL SYSTEM
   ====================================================================== */
body.ccw-mission-open{overflow:hidden}
.ccw-shell.ccw-v08{
  --ccw-bg:#05090d;--ccw-panel:#0a1016;--ccw-panel-2:#0d151d;--ccw-line:rgba(154,190,211,.16);
  --ccw-line-hot:rgba(119,205,241,.4);--ccw-text:#e7f0f5;--ccw-muted:#7f96a5;--ccw-accent:#75d3f4;
  --ccw-good:#73d7a0;--ccw-bad:#ea6c63;--ccw-warn:#e5ba6a;
  width:100vw!important;max-width:none!important;margin:0 0 0 calc(50% - 50vw)!important;padding:0!important;
  min-height:calc(100vh - 32px);background:linear-gradient(180deg,#05090d,#070d13 65%,#05090d);color:var(--ccw-text);
  border:0!important;border-radius:0!important;box-shadow:none!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow:hidden;letter-spacing:.01em
}
.ccw-v08 *{box-sizing:border-box}.ccw-v08 button,.ccw-v08 input,.ccw-v08 select{font:inherit}
.ccw-v08 .ccw-game-hud{height:62px;display:grid;grid-template-columns:235px minmax(420px,1fr) auto;align-items:stretch;border-bottom:1px solid var(--ccw-line);background:rgba(5,9,13,.97);position:relative;z-index:20}
.ccw-v08 .ccw-brand-lockup{display:flex;flex-direction:column;justify-content:center;padding:0 22px;border-right:1px solid var(--ccw-line);min-width:0}
.ccw-v08 .ccw-brand-lockup strong{font-size:16px;line-height:1;letter-spacing:.12em;text-transform:uppercase;color:#f3f8fa}.ccw-v08 .ccw-brand-lockup span{font-size:10px;letter-spacing:.2em;margin-top:6px;color:#567284}
.ccw-v08 .ccw-tabs{display:flex;align-items:stretch;gap:0;border:0!important;background:transparent!important;padding:0!important;margin:0!important;overflow-x:auto}
.ccw-v08 .ccw-tab{border:0!important;border-right:1px solid rgba(154,190,211,.08)!important;background:transparent!important;color:#698394!important;border-radius:0!important;padding:0 24px!important;font-size:10px!important;letter-spacing:.14em!important;font-weight:760!important;position:relative;white-space:nowrap}
.ccw-v08 .ccw-tab:hover{background:rgba(117,211,244,.035)!important;color:#bdcfda!important}.ccw-v08 .ccw-tab.is-active{color:#eaf7fc!important;background:linear-gradient(180deg,rgba(117,211,244,.05),transparent)!important}
.ccw-v08 .ccw-tab.is-active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:2px;background:var(--ccw-accent);box-shadow:0 0 12px rgba(117,211,244,.6)}
.ccw-v08 .ccw-player{display:flex;align-items:center;justify-content:flex-end;gap:0;border-left:1px solid var(--ccw-line);white-space:nowrap}.ccw-v08 .ccw-player>span{height:61px;min-width:72px;padding:0 13px;border-right:1px solid rgba(154,190,211,.08);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.ccw-v08 .ccw-player small{font-size:10px;color:#5e7888;letter-spacing:.13em}.ccw-v08 .ccw-player b{font-size:12px;color:#dce9ef;margin-top:2px}.ccw-v08 .ccw-player .ccw-name{min-width:112px;max-width:160px;font-size:10px;color:#9db0bc;overflow:hidden;text-overflow:ellipsis;display:flex;justify-content:center}.ccw-v08 .ccw-hud-level{color:var(--ccw-accent)!important;font-weight:850;letter-spacing:.08em}.ccw-v08 .ccw-test-badge{color:#e8bd68!important}

.ccw-v08 .ccw-message{position:fixed!important;z-index:999999;right:22px;top:82px;max-width:420px;border-radius:2px!important;background:#101a22!important;border:1px solid var(--ccw-line-hot)!important;box-shadow:0 18px 60px rgba(0,0,0,.45)!important;padding:12px 15px!important;color:#dbe8ef!important;font-size:11px!important}.ccw-v08 .ccw-message[data-type="error"]{border-color:rgba(234,108,99,.6)!important}.ccw-v08 .ccw-message[data-type="success"]{border-color:rgba(115,215,160,.55)!important}

.ccw-v08 .ccw-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:0!important;align-items:stretch;background:#05090d}.ccw-v08[data-active-view]:not([data-active-view="world"]) .ccw-layout{grid-template-columns:1fr!important}.ccw-v08 .ccw-main{min-width:0!important;background:#05090d}.ccw-v08 .ccw-sidebar{display:flex!important;flex-direction:column!important;gap:0!important;border-left:1px solid var(--ccw-line);background:#080d12;height:calc(100vh - 62px);overflow-y:auto;position:relative;z-index:12}.ccw-v08 .ccw-sidebar.ccw-sidebar-muted{display:none!important}
.ccw-v08 .ccw-command-panel{padding:16px;border:0!important;border-bottom:1px solid var(--ccw-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.ccw-v08 .ccw-secondary-panel{padding-top:15px}.ccw-v08 .ccw-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.ccw-v08 .ccw-panel-head span,.ccw-v08 .ccw-kicker,.ccw-v08 .ccw-section-head>span{font-size:10px;line-height:1;color:#506a7a;letter-spacing:.2em;font-weight:800}.ccw-v08 .ccw-panel-head b{font-size:10px;color:#abc0cc;letter-spacing:.11em;font-weight:720}.ccw-v08 .ccw-muted{color:var(--ccw-muted)!important;font-size:11px;line-height:1.5}

.ccw-v08 .ccw-map-card{position:relative!important;border:0!important;border-radius:0!important;background:#02060a!important;box-shadow:none!important;overflow:hidden!important;margin:0!important}.ccw-v08 .ccw-map-viewport{position:relative!important;isolation:isolate!important;height:calc(100vh - 62px)!important;min-height:660px!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:radial-gradient(circle at 52% 44%,rgba(27,67,94,.24),transparent 33%),radial-gradient(circle at 17% 21%,rgba(214,236,248,.35) 0 1px,transparent 1.5px),radial-gradient(circle at 78% 16%,rgba(214,236,248,.20) 0 1px,transparent 1.5px),radial-gradient(circle at 87% 68%,rgba(214,236,248,.18) 0 1px,transparent 1.5px),linear-gradient(145deg,#010407,#07101a 62%,#02070b)!important;background-size:auto,230px 230px,310px 310px,270px 270px,auto!important}
.ccw-v08 .ccw-map-stage,.ccw-v08 .ccw-map.ccw-map-globe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important;background:transparent!important;z-index:1!important}.ccw-v08 .ccw-globe-canvas{position:absolute;inset:0;z-index:2!important;width:100%;height:100%;display:block;touch-action:none;filter:drop-shadow(0 34px 50px rgba(0,0,0,.55))}
.ccw-v08 .ccw-world-overlay{position:absolute;z-index:20;pointer-events:none}.ccw-v08 .ccw-world-overlay-left{left:24px;top:24px;display:flex;flex-direction:column;gap:5px}.ccw-v08 .ccw-world-overlay-left strong{font-size:20px;letter-spacing:.12em;line-height:1;color:#e6f1f6;font-weight:680}.ccw-v08 .ccw-world-overlay-left #ccw-selected-label{font-size:10px;color:#748d9d;letter-spacing:.12em;text-transform:uppercase}
.ccw-v08 .ccw-map-tools{position:absolute!important;z-index:24;right:20px!important;top:20px!important;display:flex!important;align-items:center!important;gap:4px!important;background:rgba(4,9,14,.72)!important;border:1px solid rgba(138,184,211,.18)!important;padding:4px!important;border-radius:2px!important;backdrop-filter:blur(12px)}.ccw-v08 .ccw-map-tool{height:30px!important;min-width:30px!important;padding:0 10px!important;border:0!important;border-left:1px solid rgba(154,190,211,.08)!important;border-radius:0!important;background:transparent!important;color:#a8bdc9!important;font-size:10px!important;letter-spacing:.08em!important}.ccw-v08 .ccw-map-tool:first-child{border-left:0!important}.ccw-v08 .ccw-map-tool:hover{background:rgba(117,211,244,.09)!important;color:#effaff!important}.ccw-v08 .ccw-zoom-label{min-width:48px;text-align:center;font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#6c8798}
.ccw-v08 .ccw-world-bottombar{position:absolute;z-index:22;left:22px;right:22px;bottom:20px;display:flex;align-items:end;justify-content:space-between;pointer-events:none}.ccw-v08 .ccw-terrain-key{display:flex;gap:12px;padding:8px 10px;border:1px solid rgba(138,184,211,.13);background:rgba(3,8,13,.62);backdrop-filter:blur(10px);pointer-events:auto}.ccw-v08 .ccw-terrain-key span{font-size:10px;letter-spacing:.11em;color:#708797;display:flex;align-items:center;gap:5px}.ccw-v08 .ccw-terrain-key i{width:7px;height:7px;display:inline-block;border-radius:1px}.ccw-v08 .ccw-terrain-key .is-plains{background:#48764e}.ccw-v08 .ccw-terrain-key .is-forest{background:#1e4f37}.ccw-v08 .ccw-terrain-key .is-hills{background:#696770}.ccw-v08 .ccw-terrain-key .is-desert{background:#a47d44}.ccw-v08 .ccw-terrain-key .is-ice{background:#d6eef5;border:1px solid rgba(255,255,255,.55)}
.ccw-v08 .ccw-command-button{pointer-events:auto;border:1px solid rgba(117,211,244,.34);background:rgba(8,21,29,.88);color:#cde8f3;padding:9px 11px;display:flex;gap:14px;align-items:center;border-radius:2px;box-shadow:0 0 24px rgba(50,143,184,.08)}.ccw-v08 .ccw-command-button span{font-size:10px;letter-spacing:.14em;font-weight:800}.ccw-v08 .ccw-command-button b{min-width:34px;padding:3px 6px;background:#122733;color:#77d4f5;font:800 10px/1 ui-monospace,monospace}.ccw-v08 .ccw-map-help{position:absolute!important;z-index:6;bottom:5px!important;left:50%!important;transform:translateX(-50%);background:transparent!important;border:0!important;color:#344b59!important;font-size:10px!important;letter-spacing:.18em!important;padding:0!important;white-space:nowrap}
.ccw-v08 .ccw-map-status{border-radius:2px!important;background:rgba(8,15,20,.92)!important;border:1px solid var(--ccw-line)!important}.ccw-v08 .ccw-map-status b{letter-spacing:.13em;font-size:10px!important}.ccw-v08 .ccw-map-status span{font-size:10px!important}

.ccw-v08 .ccw-tile-title{font-size:13px!important;letter-spacing:.08em!important;margin-bottom:10px!important;color:#d8e7ee!important}.ccw-v08 #ccw-tile-info>div:not(.ccw-tile-title){display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid rgba(154,190,211,.07);font-size:10px;color:#627b8b}.ccw-v08 #ccw-tile-info b{color:#a9bdc9;font-size:10px;text-align:right}.ccw-v08 .ccw-actions{margin-top:11px!important}.ccw-v08 .ccw-btn{border-radius:2px!important;background:#111c24!important;border:1px solid rgba(147,184,204,.2)!important;color:#acc0cb!important;padding:9px 11px!important;font-size:10px!important;letter-spacing:.05em!important;box-shadow:none!important}.ccw-v08 .ccw-btn:hover{background:#172630!important;color:#e3f2f8!important;border-color:rgba(117,211,244,.4)!important}.ccw-v08 .ccw-btn-primary{background:#123141!important;border-color:rgba(117,211,244,.48)!important;color:#dff5fc!important}.ccw-v08 .ccw-btn-danger{background:#2a1719!important;border-color:rgba(234,108,99,.42)!important;color:#f1b5b0!important}.ccw-v08 input,.ccw-v08 select{border-radius:2px!important;background:#071017!important;color:#c2d3dc!important;border:1px solid rgba(151,188,207,.18)!important;padding:8px 9px!important}
.ccw-v08 .ccw-proposal,.ccw-v08 .ccw-building-row{border-radius:0!important;border:0!important;border-top:1px solid rgba(154,190,211,.08)!important;background:transparent!important;padding:10px 0!important}.ccw-v08 .ccw-building-row .ccw-big-icon{width:24px;height:24px;display:grid;place-items:center;border:1px solid rgba(154,190,211,.16);font-size:11px!important;color:#819cac;background:#0a131a}.ccw-v08 .ccw-building-row b,.ccw-v08 .ccw-proposal b{font-size:10px;color:#b8cad3}.ccw-v08 .ccw-building-row small{font-size:10px;color:#5f7787}.ccw-v08 .ccw-building-row em{font-size:10px!important;color:#5e7888!important}.ccw-v08 .ccw-mini-title{font-size:10px;letter-spacing:.16em;color:#526a79;margin:12px 0 4px}.ccw-v08 .ccw-proposals{display:grid;gap:0!important}.ccw-v08 .ccw-bar{height:3px!important;border-radius:0!important;background:#16232d!important}.ccw-v08 .ccw-bar span{background:#70d3a0!important}

/* Command center */
.ccw-v08 .ccw-commander-card{display:grid;grid-template-columns:1fr 1.4fr;border-top:1px solid rgba(154,190,211,.08);border-bottom:1px solid rgba(154,190,211,.08);margin:0 -16px;padding:11px 16px}.ccw-v08 .ccw-commander-card>div{display:flex;flex-direction:column;gap:3px}.ccw-v08 .ccw-commander-card span,.ccw-v08 .ccw-energy-row span{font-size:10px;letter-spacing:.13em;color:#536d7d}.ccw-v08 .ccw-commander-card b{font-size:15px;color:#d6e6ed}.ccw-v08 .ccw-xp-track{height:2px;background:#101b23;margin:0 -16px 11px}.ccw-v08 .ccw-xp-track span{display:block;height:100%;background:#6bc9ed;box-shadow:0 0 10px rgba(107,201,237,.5)}.ccw-v08 .ccw-energy-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.ccw-v08 .ccw-energy-row b{font-size:10px;color:#7ed7f6}
.ccw-v08 .ccw-mission-list{display:grid;gap:5px}.ccw-v08 .ccw-mission-list button{display:grid;grid-template-columns:32px 1fr auto;align-items:center;text-align:left;gap:9px;padding:8px;border:1px solid rgba(151,188,207,.12);background:#091218;color:#b8c9d2;border-radius:1px;cursor:pointer}.ccw-v08 .ccw-mission-list button:hover:not(:disabled){border-color:rgba(117,211,244,.42);background:#0c1820}.ccw-v08 .ccw-mission-list button:disabled{opacity:.32;cursor:not-allowed}.ccw-v08 .ccw-mission-list i{width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(117,211,244,.26);font:800 10px/1 ui-monospace,monospace;color:#6ac9eb;font-style:normal}.ccw-v08 .ccw-mission-list span{display:flex;flex-direction:column;gap:2px}.ccw-v08 .ccw-mission-list b{font-size:10px;letter-spacing:.09em}.ccw-v08 .ccw-mission-list small{font-size:10px;color:#5f7888}.ccw-v08 .ccw-mission-list em{font-size:10px;color:#738b99;font-style:normal}.ccw-v08 .ccw-mission-stats{display:flex;gap:10px;margin-top:10px;color:#4f6877;font-size:10px;letter-spacing:.1em}.ccw-v08 .ccw-command-empty{display:flex;flex-direction:column;gap:5px;padding:10px 0}.ccw-v08 .ccw-command-empty b{font-size:10px}.ccw-v08 .ccw-command-empty span{font-size:10px;color:#657d8c}

/* non-world views */
.ccw-v08 .ccw-panel.ccw-wide-panel{min-height:calc(100vh - 62px);border:0!important;border-radius:0!important;background:linear-gradient(145deg,#080e14,#0b1219)!important;padding:32px clamp(24px,5vw,72px)!important;box-shadow:none!important}.ccw-v08 .ccw-section-head{margin-bottom:22px}.ccw-v08 .ccw-section-head h2{font-size:28px;font-weight:520;letter-spacing:.02em;margin:6px 0 0;color:#dce9ef}.ccw-v08 .ccw-hero{background:transparent!important;border:0!important;border-left:2px solid rgba(117,211,244,.45)!important;border-radius:0!important;padding:4px 0 4px 18px!important}.ccw-v08 .ccw-hero h2{font-size:28px!important;font-weight:520!important}.ccw-v08 .ccw-faction-card,.ccw-v08 .ccw-tech-card,.ccw-v08 .ccw-wonder-card,.ccw-v08 .ccw-war-card,.ccw-v08 .ccw-candidate-view{border-radius:2px!important;background:#0a1117!important;border:1px solid rgba(151,188,207,.12)!important;box-shadow:none!important}.ccw-v08 .ccw-ranking-list{border:1px solid rgba(151,188,207,.12);background:#090f15}.ccw-v08 .ccw-rank-row{border-radius:0!important;border:0!important;border-bottom:1px solid rgba(151,188,207,.08)!important;background:transparent!important}.ccw-v08 .ccw-contributor-section{margin-top:28px;border-top:1px solid rgba(151,188,207,.12);padding-top:22px}.ccw-v08 .ccw-contributor-list{display:grid;gap:1px;background:rgba(151,188,207,.08)}.ccw-v08 .ccw-contributor-list>div{display:grid;grid-template-columns:42px 1fr 70px 120px;align-items:center;background:#091117;padding:10px 12px;font-size:10px}.ccw-v08 .ccw-contributor-list span,.ccw-v08 .ccw-contributor-list em{color:#607a8a;font-style:normal}.ccw-v08 .ccw-contributor-list strong{text-align:right;color:#8ea6b3}

/* Mission overlay and minigames */
.ccw-v08 .ccw-mission-modal{position:fixed!important;inset:0!important;z-index:1000000!important;background:rgba(1,4,7,.90)!important;backdrop-filter:blur(12px);display:grid;place-items:center;padding:28px}.ccw-v08 .ccw-mission-modal[hidden]{display:none!important}.ccw-v08 .ccw-mission-frame{position:relative;width:min(880px,96vw);min-height:540px;max-height:92vh;overflow:auto;background:linear-gradient(145deg,#071017,#0b151d);border:1px solid rgba(117,211,244,.28);box-shadow:0 30px 100px rgba(0,0,0,.65);padding:34px;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,22px 100%,0 calc(100% - 22px))}.ccw-v08 .ccw-mission-close{position:absolute;right:16px;top:13px;width:32px;height:32px;border:0;background:transparent;color:#7390a1;font-size:24px;cursor:pointer}.ccw-v08 .ccw-mission-close:hover{color:#fff}.ccw-v08 .ccw-mission-menu h2,.ccw-v08 .ccw-game-head h2,.ccw-v08 .ccw-mission-result h2{font-size:30px;font-weight:520;margin:7px 0 8px;color:#e2edf2}.ccw-v08 .ccw-mission-menu p,.ccw-v08 .ccw-game-head p,.ccw-v08 .ccw-mission-result p{color:#758d9c;font-size:11px;line-height:1.6;max-width:620px}.ccw-v08 .ccw-mission-menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:28px}.ccw-v08 .ccw-mission-menu-grid button{min-height:160px;text-align:left;padding:20px;border:1px solid rgba(151,188,207,.14);background:#09131a;color:#d5e4eb;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;cursor:pointer;clip-path:polygon(0 0,calc(100% - 13px) 0,100% 13px,100% 100%,0 100%)}.ccw-v08 .ccw-mission-menu-grid button:hover:not(:disabled){background:#0d1c25;border-color:rgba(117,211,244,.45)}.ccw-v08 .ccw-mission-menu-grid button:disabled{opacity:.28}.ccw-v08 .ccw-mission-menu-grid i{margin-bottom:auto;font:800 30px/1 ui-monospace,monospace;color:#65c7e9;font-style:normal}.ccw-v08 .ccw-mission-menu-grid b{font-size:11px;letter-spacing:.1em}.ccw-v08 .ccw-mission-menu-grid span{font-size:10px;color:#627b8a}.ccw-v08 .ccw-energy-large{margin-top:18px;font-size:10px;letter-spacing:.13em;color:#60798a}.ccw-v08 .ccw-energy-large b{color:#76d3f3;font-size:14px;margin-left:8px}
.ccw-v08 .ccw-game-head{margin-bottom:18px}.ccw-v08 .ccw-minigame-canvas{display:block;width:100%;height:auto;max-height:380px;border:1px solid rgba(151,188,207,.15);background:#071017}.ccw-v08 .ccw-game-controls,.ccw-v08 .ccw-game-status{display:flex;align-items:center;gap:7px;margin-top:10px}.ccw-v08 .ccw-game-controls button{flex:0 0 72px;background:#0b1820;border:1px solid rgba(151,188,207,.16);color:#87a1af;padding:8px;font-size:10px;letter-spacing:.1em}.ccw-v08 .ccw-game-controls button:hover{border-color:rgba(117,211,244,.45);color:#dff6ff}.ccw-v08 .ccw-game-controls span,.ccw-v08 .ccw-game-status>b{margin-left:auto;color:#75d3f4;font:800 13px/1 ui-monospace,monospace}.ccw-v08 .ccw-game-status{justify-content:space-between;color:#778f9d;font-size:10px;letter-spacing:.1em}
.ccw-v08 .ccw-signal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;max-width:520px;margin:24px auto}.ccw-v08 .ccw-signal-grid button{aspect-ratio:1.35;border:1px solid rgba(151,188,207,.14);background:#091219;color:#496271;position:relative;overflow:hidden}.ccw-v08 .ccw-signal-grid button:after{content:"";position:absolute;inset:0;background:radial-gradient(circle,#7ee0ff,rgba(74,170,211,.35) 42%,transparent 70%);opacity:0;transition:opacity .1s}.ccw-v08 .ccw-signal-grid button.is-lit:after{opacity:.82}.ccw-v08 .ccw-signal-grid button.is-hit{border-color:#72d9a2}.ccw-v08 .ccw-signal-grid span{position:relative;z-index:2;font:700 10px/1 ui-monospace,monospace}
.ccw-v08 .ccw-frontline-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;max-width:650px;margin:22px auto}.ccw-v08 .ccw-frontline-grid button{aspect-ratio:1.6;background:#081117;border:1px solid rgba(151,188,207,.12);position:relative;touch-action:manipulation;user-select:none;-webkit-user-select:none}.ccw-v08 .ccw-frontline-grid button span{position:absolute;width:11px;height:11px;border:1px solid #5c7585;left:50%;top:50%;transform:translate(-50%,-50%) rotate(45deg)}.ccw-v08 .ccw-frontline-grid button.is-target{background:radial-gradient(circle,rgba(231,102,88,.35),#0b141a 62%);border-color:rgba(234,108,99,.7);box-shadow:inset 0 0 25px rgba(234,108,99,.16)}.ccw-v08 .ccw-frontline-grid button.is-target span{border-color:#ff8075;box-shadow:0 0 12px rgba(255,112,94,.65)}.ccw-v08 .ccw-frontline-grid button.is-hit{border-color:#86e0b4;box-shadow:inset 0 0 24px rgba(134,224,180,.20)}.ccw-v08 .ccw-frontline-grid button.is-miss{border-color:#e5ba6a}.ccw-v08 .ccw-war-picker{display:grid;gap:5px;margin-top:20px}.ccw-v08 .ccw-war-picker button{display:flex;justify-content:space-between;text-align:left;background:#0a141b;border:1px solid rgba(151,188,207,.14);color:#b9cbd4;padding:13px}.ccw-v08 .ccw-war-picker button:hover{border-color:rgba(117,211,244,.4)}.ccw-v08 .ccw-war-picker span{font-size:10px;color:#627b89}.ccw-v08 .ccw-mission-result{min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ccw-v08 .ccw-result-score{display:flex;gap:1px;background:rgba(151,188,207,.11);margin:24px 0}.ccw-v08 .ccw-result-score span{min-width:130px;padding:14px;background:#091219;font-size:10px;letter-spacing:.1em;color:#607988;display:flex;flex-direction:column;gap:5px}.ccw-v08 .ccw-result-score b{font-size:17px;color:#cfe2eb}.ccw-v08 .ccw-loader-line{width:220px;height:2px;background:linear-gradient(90deg,transparent,#72d3f4,transparent);animation:ccwscan 1.1s linear infinite}@keyframes ccwscan{0%{transform:translateX(-35px);opacity:.2}50%{opacity:1}100%{transform:translateX(35px);opacity:.2}}

.ccw-v08 .ccw-footer-note{border-top:1px solid var(--ccw-line)!important;background:#05090d!important;color:#3d5361!important;font-size:10px!important;letter-spacing:.06em!important;padding:7px 18px!important;text-align:center!important}
.ccw-v08 .ccw-dev-tools{border-radius:0!important;border:1px solid rgba(229,186,106,.3)!important;background:#17130b!important;margin:0!important}

#ccw-map-card:fullscreen{background:#02060a!important}.ccw-v08 #ccw-map-card:fullscreen .ccw-map-viewport{height:100vh!important;min-height:100vh!important}

@media(max-width:1180px){.ccw-v08 .ccw-game-hud{grid-template-columns:190px 1fr auto}.ccw-v08 .ccw-tab{padding:0 14px!important}.ccw-v08 .ccw-layout{grid-template-columns:minmax(0,1fr) 290px!important}.ccw-v08 .ccw-player .ccw-name{display:none}.ccw-v08 .ccw-player>span{min-width:62px;padding:0 9px}}
@media(max-width:900px){.ccw-shell.ccw-v08{min-height:100vh}.ccw-v08 .ccw-game-hud{height:auto;min-height:58px;grid-template-columns:1fr auto;grid-template-rows:58px 40px}.ccw-v08 .ccw-brand-lockup{grid-column:1}.ccw-v08 .ccw-player{grid-column:2}.ccw-v08 .ccw-tabs{grid-column:1/3;grid-row:2;border-top:1px solid var(--ccw-line)!important}.ccw-v08 .ccw-tab{flex:1;padding:0 8px!important}.ccw-v08 .ccw-layout{grid-template-columns:1fr!important}.ccw-v08 .ccw-sidebar{height:auto!important;max-height:none;border-left:0;border-top:1px solid var(--ccw-line);display:grid!important;grid-template-columns:1fr 1fr!important}.ccw-v08 .ccw-sidebar.ccw-sidebar-muted{display:none!important}.ccw-v08 .ccw-map-viewport{height:70vh!important;min-height:560px!important}.ccw-v08 .ccw-world-bottombar{bottom:16px}.ccw-v08 .ccw-terrain-key{display:none}.ccw-v08 .ccw-mission-menu-grid{grid-template-columns:1fr}.ccw-v08 .ccw-mission-menu-grid button{min-height:110px}}
@media(max-width:620px){.ccw-v08 .ccw-brand-lockup{padding:0 12px}.ccw-v08 .ccw-brand-lockup strong{font-size:13px}.ccw-v08 .ccw-player>span:not(.ccw-hud-level):not(.ccw-name){display:none}.ccw-v08 .ccw-layout{display:block!important}.ccw-v08 .ccw-sidebar{grid-template-columns:1fr!important}.ccw-v08 .ccw-map-viewport{height:64vh!important;min-height:500px!important}.ccw-v08 .ccw-world-overlay-left{left:14px;top:14px}.ccw-v08 .ccw-map-tools{right:10px!important;top:10px!important}.ccw-v08 .ccw-map-tool-wide{display:none!important}.ccw-v08 .ccw-world-bottombar{left:12px;right:12px}.ccw-v08 .ccw-mission-frame{padding:26px 16px;min-height:480px}.ccw-v08 .ccw-frontline-grid{grid-template-columns:repeat(4,1fr)}.ccw-v08 .ccw-result-score{width:100%;flex-direction:column}.ccw-v08 .ccw-result-score span{min-width:0}.ccw-v08 .ccw-contributor-list>div{grid-template-columns:34px 1fr 55px}.ccw-v08 .ccw-contributor-list strong{grid-column:2/4;text-align:left;margin-top:4px}}
.ccw-v08 .ccw-resource-grid,.ccw-v08 .ccw-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1px!important;background:rgba(151,188,207,.09)!important;border:1px solid rgba(151,188,207,.09)!important;border-radius:0!important;overflow:hidden}.ccw-v08 .ccw-resource-grid>div,.ccw-v08 .ccw-stat-grid>div{background:#091117!important;border:0!important;border-radius:0!important;padding:13px!important;display:flex!important;flex-direction:column!important;gap:4px!important}.ccw-v08 .ccw-resource-grid b,.ccw-v08 .ccw-stat-grid b{font-size:16px!important;color:#d7e6ed!important;font-weight:650!important}.ccw-v08 .ccw-resource-grid span,.ccw-v08 .ccw-stat-grid span{font-size:10px!important;letter-spacing:.11em!important;text-transform:uppercase!important;color:#577080!important}.ccw-v08 .ccw-faction-header{border-radius:0!important;background:transparent!important;border:0!important;border-left:2px solid var(--faction-color)!important;padding:4px 0 4px 18px!important;box-shadow:none!important}.ccw-v08 .ccw-prestige{background:#0a1319!important;border:1px solid rgba(151,188,207,.12)!important;border-radius:1px!important}.ccw-v08 .ccw-continent-card{border-radius:1px!important;background:#091117!important;border:1px solid rgba(151,188,207,.10)!important;box-shadow:none!important}.ccw-v08 .ccw-token-ready{border-radius:1px!important;background:#081219!important;border:1px solid rgba(117,211,244,.15)!important}

/* ======================================================================
   v0.9.0 - FACTION LOOP / DAILY RALLY
   ====================================================================== */
.ccw-v08 .ccw-orders-panel{border-bottom:1px solid rgba(117,211,244,.16);background:linear-gradient(180deg,rgba(9,18,25,.98),rgba(7,14,20,.98))}
.ccw-v08 #ccw-orders{display:grid;gap:7px;padding:11px}
.ccw-v08 .ccw-sidebar-order{width:100%;text-align:left;border:1px solid rgba(151,188,207,.11);border-left:2px solid #607889;background:#091219;color:#d9e7ee;padding:11px 12px;display:grid;gap:5px;cursor:pointer;transition:.15s ease}
.ccw-v08 .ccw-sidebar-order:hover{background:#0d1a22;border-color:rgba(117,211,244,.38);transform:translateX(2px)}
.ccw-v08 .ccw-sidebar-order>span{font-size:10px;letter-spacing:.15em;color:#617b8a}.ccw-v08 .ccw-sidebar-order>b{font-size:11px;font-weight:700}.ccw-v08 .ccw-sidebar-order>small{font-size:10px;letter-spacing:.08em;color:#7ebfd4}
.ccw-v08 .ccw-sidebar-order.is-critical{border-left-color:#ef6f67;background:linear-gradient(90deg,rgba(239,111,103,.08),#091219 38%)}
.ccw-v08 .ccw-sidebar-order.is-high{border-left-color:#e4b65f}.ccw-v08 .ccw-mini-rally{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:9px 2px 2px}.ccw-v08 .ccw-mini-rally>span{font-size:10px;letter-spacing:.14em;color:#617b8a}.ccw-v08 .ccw-mini-rally>b{font:800 10px/1 ui-monospace,monospace;color:#9cdcf0}.ccw-v08 .ccw-mini-rally>div{grid-column:1/3;height:3px;background:#101b22;overflow:hidden}.ccw-v08 .ccw-mini-rally i{display:block;height:100%;background:linear-gradient(90deg,#4390aa,#79dcf8);box-shadow:0 0 10px rgba(117,211,244,.45)}
.ccw-v08 .ccw-rally-link{border:0;background:transparent;color:#718b9a;text-align:left;font-size:10px;font-weight:800;letter-spacing:.12em;padding:4px 2px;cursor:pointer}.ccw-v08 .ccw-rally-link:hover{color:#a6def0}.ccw-v08 .ccw-order-qualification{display:grid;gap:6px}.ccw-v08 .ccw-order-qualification>span{font-size:10px;letter-spacing:.14em;color:#e5ba6a}.ccw-v08 .ccw-order-qualification>b{font-size:14px}.ccw-v08 .ccw-order-qualification>small{font-size:10px;color:#748c9b;line-height:1.45}

.ccw-v08 .ccw-loop-board{margin:18px 0 20px;border-top:1px solid rgba(117,211,244,.17);border-bottom:1px solid rgba(117,211,244,.12);padding:18px 0 20px;background:linear-gradient(90deg,rgba(117,211,244,.025),transparent 24%,transparent 76%,rgba(117,211,244,.018))}
.ccw-v08 .ccw-loop-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:13px}.ccw-v08 .ccw-loop-heading h3{margin:3px 0 4px;font-size:20px;font-weight:560;color:#edf7fb}.ccw-v08 .ccw-loop-heading p{margin:0;color:#718a98;font-size:10px;line-height:1.5;max-width:680px}.ccw-v08 .ccw-rally-share{white-space:nowrap}
.ccw-v08 .ccw-loop-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.9fr) minmax(240px,.7fr);gap:9px}.ccw-v08 .ccw-orders-stack{display:grid;gap:6px}.ccw-v08 .ccw-order-card{position:relative;text-align:left;min-height:88px;border:1px solid rgba(151,188,207,.11);border-left:3px solid #60798a;background:#091219;color:#dceaf0;padding:13px 15px;display:grid;grid-template-columns:1fr auto;gap:4px 14px;cursor:pointer;overflow:hidden}.ccw-v08 .ccw-order-card:after{content:"";position:absolute;right:-45px;top:-60px;width:120px;height:120px;border:1px solid rgba(117,211,244,.08);transform:rotate(45deg)}.ccw-v08 .ccw-order-card:hover{background:#0d1a22;border-color:rgba(117,211,244,.35)}.ccw-v08 .ccw-order-card>span{grid-column:1/3;font-size:10px;letter-spacing:.14em;color:#5d7686}.ccw-v08 .ccw-order-card>b{font-size:12px;letter-spacing:.02em}.ccw-v08 .ccw-order-card>small{grid-column:1;color:#748d9b;font-size:10px;line-height:1.45}.ccw-v08 .ccw-order-card>em{grid-column:2;grid-row:2/4;align-self:center;font-style:normal;font-size:10px;font-weight:850;letter-spacing:.09em;color:#88d6ef;z-index:2}.ccw-v08 .ccw-order-card.is-critical{border-left-color:#ed6d63;background:linear-gradient(90deg,rgba(237,109,99,.09),#091219 42%)}.ccw-v08 .ccw-order-card.is-high{border-left-color:#e1b45c;background:linear-gradient(90deg,rgba(225,180,92,.06),#091219 42%)}.ccw-v08 .ccw-order-clear{border:1px solid rgba(115,215,160,.16);background:rgba(115,215,160,.04);padding:18px;display:grid;gap:5px}.ccw-v08 .ccw-order-clear b{font-size:12px;color:#9ae2bb}.ccw-v08 .ccw-order-clear span{font-size:10px;color:#718a98}

.ccw-v08 .ccw-rally-card,.ccw-v08 .ccw-realm-goal{border:1px solid rgba(151,188,207,.11);background:#081118;padding:14px}.ccw-v08 .ccw-rally-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.ccw-v08 .ccw-rally-top span,.ccw-v08 .ccw-realm-goal>span{font-size:10px;letter-spacing:.15em;color:#607989}.ccw-v08 .ccw-rally-top b{font-size:10px;color:#a5dff2}.ccw-v08 .ccw-rally-track,.ccw-v08 .ccw-realm-track{position:relative;height:7px;margin:12px 0;background:#101b22;overflow:visible}.ccw-v08 .ccw-rally-track>span,.ccw-v08 .ccw-realm-track>span{display:block;height:100%;background:linear-gradient(90deg,#3c819a,#78ddf9);box-shadow:0 0 14px rgba(117,211,244,.28);transition:width .25s ease}.ccw-v08 .ccw-rally-track>i{position:absolute;top:-3px;width:1px;height:13px;background:rgba(226,242,249,.35)}.ccw-v08 .ccw-rally-rewards{display:grid;gap:1px;background:rgba(151,188,207,.08)}.ccw-v08 .ccw-rally-rewards>div{display:grid;grid-template-columns:1fr 36px;gap:2px 8px;background:#0a141b;padding:8px}.ccw-v08 .ccw-rally-rewards span{font-size:10px;color:#78909e}.ccw-v08 .ccw-rally-rewards b{text-align:right;font:800 10px/1 ui-monospace,monospace;color:#58717f}.ccw-v08 .ccw-rally-rewards small{grid-column:1/3;font-size:10px;color:#526a78}.ccw-v08 .ccw-rally-rewards>div.is-earned span,.ccw-v08 .ccw-rally-rewards>div.is-earned b{color:#79d7a4}.ccw-v08 .ccw-rally-foot{display:flex;justify-content:space-between;margin-top:9px;color:#526b79;font-size:10px;letter-spacing:.05em}.ccw-v08 .ccw-rally-foot b{color:#7896a6;font-weight:700}
.ccw-v08 .ccw-realm-goal{display:flex;flex-direction:column}.ccw-v08 .ccw-realm-goal>b{font:720 20px/1.1 ui-monospace,monospace;color:#dbe9ef;margin-top:12px}.ccw-v08 .ccw-realm-goal p{font-size:10px;line-height:1.45;color:#748c9a;margin:8px 0}.ccw-v08 .ccw-realm-goal p strong{color:#dfbd72}.ccw-v08 .ccw-realm-goal small{margin-top:auto;color:#526a78;font-size:10px;line-height:1.45}.ccw-v08 .ccw-realm-track>span{background:linear-gradient(90deg,#9a7639,#e3bd70)}

@media(max-width:1350px){.ccw-v08 .ccw-loop-grid{grid-template-columns:1fr 1fr}.ccw-v08 .ccw-realm-goal{grid-column:1/3}}
@media(max-width:900px){.ccw-v08 .ccw-loop-grid{grid-template-columns:1fr}.ccw-v08 .ccw-realm-goal{grid-column:auto}.ccw-v08 .ccw-loop-heading{align-items:flex-start;flex-direction:column}.ccw-v08 .ccw-rally-share{width:100%}}

/* v0.10 - Wallet + future rewards */
.ccw-v08 .ccw-wallet-chip{height:61px;min-width:112px;padding:0 12px;border:0;border-left:1px solid rgba(154,190,211,.08);border-right:1px solid rgba(154,190,211,.08);background:linear-gradient(180deg,rgba(15,31,40,.9),rgba(7,15,21,.95));color:#dce9ef;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;cursor:pointer;font:inherit}
.ccw-v08 .ccw-wallet-chip:hover{background:linear-gradient(180deg,rgba(21,49,61,.95),rgba(9,22,30,.98));box-shadow:inset 0 -2px 0 rgba(102,218,246,.55)}
.ccw-v08 .ccw-wallet-chip small{font-size:10px;letter-spacing:.08em;color:#698b9c;max-width:110px;overflow:hidden;text-overflow:ellipsis}
.ccw-v08 .ccw-wallet-chip b{margin-top:3px;font-size:10px;letter-spacing:.12em;color:#76d7ef}
.ccw-v08 .ccw-wallet-panel{width:min(620px,100%);margin:auto;text-align:left}
.ccw-v08 .ccw-wallet-panel h2{font-size:28px;margin:8px 0 6px;color:#edf6f9;letter-spacing:-.025em}
.ccw-v08 .ccw-wallet-address{font:700 13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:#7eddf4;background:#071017;border:1px solid rgba(126,221,244,.16);padding:12px 14px;overflow-wrap:anywhere}
.ccw-v08 .ccw-wallet-score{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(135,185,207,.12);margin:18px 0}
.ccw-v08 .ccw-wallet-score>div{background:#08131a;padding:18px}.ccw-v08 .ccw-wallet-score span,.ccw-v08 .ccw-wallet-status span{display:block;font-size:10px;letter-spacing:.15em;color:#607c8c}.ccw-v08 .ccw-wallet-score b{display:block;margin-top:7px;font:850 21px/1 ui-monospace,monospace;color:#d9f6ff}
.ccw-v08 .ccw-wallet-status{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(135,185,207,.1);border-bottom:1px solid rgba(135,185,207,.1);padding:11px 0;margin-bottom:15px}.ccw-v08 .ccw-wallet-status b{font-size:10px;letter-spacing:.09em;color:#70d8a0}
.ccw-v08 .ccw-wallet-copy{font-size:11px;line-height:1.65;color:#7893a2;margin:16px 0}.ccw-v08 .ccw-wallet-foot{font-size:10px;color:#58707e;margin-top:12px}
.ccw-v08 .ccw-wallet-panel>.ccw-btn{min-width:190px}
.ccw-v08 .ccw-commander-card{grid-template-columns:repeat(3,1fr)}
@media(max-width:1180px){.ccw-v08 .ccw-wallet-chip{min-width:92px;padding:0 8px}.ccw-v08 .ccw-wallet-chip small{max-width:88px}.ccw-v08 .ccw-player .ccw-hud-level{display:none}}
@media(max-width:900px){.ccw-v08 .ccw-wallet-chip{height:50px;min-width:88px}.ccw-v08 .ccw-wallet-score{grid-template-columns:1fr}.ccw-v08 .ccw-commander-card{grid-template-columns:1fr 1fr}.ccw-v08 .ccw-commander-card>div:last-child{grid-column:1/3}}

/* ======================================================================
   v0.11.0 - FOUNDERS WAR / VERIFIED REWARDS
   ====================================================================== */
.ccw-v08 .ccw-wallet-warning{margin:12px 0;padding:10px 12px;border:1px solid rgba(231,181,91,.30);background:rgba(231,181,91,.06);color:#d7b876;font-size:10px;line-height:1.5}
.ccw-v08 .ccw-impact-line{margin:14px 0;padding:11px 13px;border-left:2px solid rgba(117,211,244,.62);background:rgba(117,211,244,.05);color:#9fc6d5;font-size:10px;line-height:1.55}
.ccw-v08 .ccw-season-hero{display:flex;justify-content:space-between;gap:26px;align-items:flex-start;padding:22px 0 18px;border-bottom:1px solid rgba(117,211,244,.18)}
.ccw-v08 .ccw-season-hero h2{margin:5px 0 7px;font-size:30px;letter-spacing:-.03em;color:#edf7fb}.ccw-v08 .ccw-season-hero p{margin:0;color:#75909f;font-size:10px;line-height:1.55}.ccw-v08 .ccw-season-hero p b{color:#9ddcef}
.ccw-v08 .ccw-season-clock{min-width:145px;border:1px solid rgba(117,211,244,.18);background:#08131a;padding:13px 14px;text-align:right}.ccw-v08 .ccw-season-clock span,.ccw-v08 .ccw-season-gap span,.ccw-v08 .ccw-season-prize>span{display:block;font-size:10px;letter-spacing:.16em;color:#617c8c}.ccw-v08 .ccw-season-clock b{display:block;margin-top:6px;font:850 16px/1 ui-monospace,monospace;color:#d9f4fb}
.ccw-v08 .ccw-season-gap,.ccw-v08 .ccw-season-prize{margin:10px 0;border:1px solid rgba(151,188,207,.11);background:#081118;padding:13px 15px;display:grid;grid-template-columns:minmax(120px,.7fr) minmax(180px,1fr) minmax(220px,1.6fr);gap:10px 18px;align-items:center}.ccw-v08 .ccw-season-gap b,.ccw-v08 .ccw-season-prize b{font-size:11px;color:#dceaf0}.ccw-v08 .ccw-season-gap small,.ccw-v08 .ccw-season-prize small{font-size:10px;line-height:1.45;color:#718b99}
.ccw-v08 .ccw-season-ranking{margin-top:12px}.ccw-v08 .ccw-season-lower{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.ccw-v08 .ccw-season-lower>div{border:1px solid rgba(151,188,207,.10);background:#081118;padding:13px}.ccw-v08 .ccw-season-lower h3{margin:0 0 8px;font-size:10px;letter-spacing:.08em;color:#a9c1cc}.ccw-v08 .ccw-hof-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid rgba(151,188,207,.08);font-size:10px}.ccw-v08 .ccw-hof-row span{color:#657f8d}.ccw-v08 .ccw-hof-row b{color:#a9c2ce;text-align:right}
.ccw-v08 .ccw-commander-card>div small{display:block;margin-top:4px;font-size:10px;line-height:1.25;color:#647d8b}.ccw-v08 .ccw-badge-strip{display:flex;gap:5px;overflow-x:auto;padding:7px 0 10px}.ccw-v08 .ccw-badge-strip span{white-space:nowrap;border:1px solid rgba(226,190,112,.2);background:rgba(226,190,112,.05);padding:6px 8px;color:#d6b66f;font-size:10px;letter-spacing:.04em}
@media(max-width:900px){.ccw-v08 .ccw-season-hero{flex-direction:column}.ccw-v08 .ccw-season-clock{width:100%;text-align:left}.ccw-v08 .ccw-season-gap,.ccw-v08 .ccw-season-prize{grid-template-columns:1fr}.ccw-v08 .ccw-season-lower{grid-template-columns:1fr}}

/* ======================================================================
   v0.12.0 - CRYPTO CIVILIZATIONS
   ====================================================================== */
.ccw-v08 .ccw-span-2{grid-column:1/3}.ccw-v08 .ccw-form-grid label>small{font-size:10px;line-height:1.45;color:#607888}.ccw-v08 .ccw-form-grid code{font:700 10px ui-monospace,monospace;color:#89d9ed}
.ccw-v08 .ccw-asset-meta{margin:5px 0 3px!important;color:#7897a6!important;font:650 10px/1.35 ui-monospace,monospace!important;overflow-wrap:anywhere}
.ccw-v08 .ccw-asset-link{margin:0 0 18px;padding:18px;border:1px solid rgba(231,181,91,.24);border-left:3px solid #d6a94f;background:linear-gradient(90deg,rgba(214,169,79,.08),#081118 38%)}.ccw-v08 .ccw-asset-link .ccw-token-address-row{margin-top:12px}.ccw-v08 .ccw-asset-link>.ccw-btn-primary{margin-top:4px}.ccw-v08 .ccw-asset-link h3{margin:5px 0 5px;font-size:16px;color:#e8edf0}.ccw-v08 .ccw-asset-link p{margin:0 0 14px;color:#728995;font-size:10px;line-height:1.5}
.ccw-v08 .ccw-civ-identity{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid rgba(151,188,207,.10);border-bottom:1px solid rgba(151,188,207,.10);padding:10px 0;margin:4px 0 14px}.ccw-v08 .ccw-civ-identity b{font:700 10px ui-monospace,monospace;color:#9dd7e8}.ccw-v08 .ccw-civ-identity span{font-size:10px;letter-spacing:.11em;color:#617986;text-align:right}
.ccw-v08 .ccw-civilization-panel{margin:16px 0 20px;border:1px solid rgba(151,188,207,.12);background:linear-gradient(145deg,#081118,#0a151c);padding:17px}.ccw-v08 .ccw-civ-top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.ccw-v08 .ccw-civ-top h3{margin:4px 0 4px;font-size:19px;color:#e4f0f4}.ccw-v08 .ccw-civ-top p{margin:0;max-width:700px;color:#6f8794;font-size:10px;line-height:1.5}.ccw-v08 .ccw-civ-score{min-width:115px;text-align:right}.ccw-v08 .ccw-civ-score b{display:block;font:850 22px/1 ui-monospace,monospace;color:#91dff2}.ccw-v08 .ccw-civ-score span{display:block;margin-top:5px;font-size:10px;letter-spacing:.12em;color:#58717e}
.ccw-v08 .ccw-stage-track{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:rgba(151,188,207,.08);margin:15px 0}.ccw-v08 .ccw-stage-track span{position:relative;background:#091117;padding:9px 7px;text-align:center;color:#4e6470;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.ccw-v08 .ccw-stage-track span.is-unlocked{color:#9adff0;background:linear-gradient(180deg,rgba(75,151,176,.13),#091117);box-shadow:inset 0 -2px 0 rgba(117,211,244,.45)}
.ccw-v08 .ccw-civ-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:rgba(151,188,207,.08)}.ccw-v08 .ccw-civ-metrics>div{background:#081118;padding:10px}.ccw-v08 .ccw-civ-metrics b{display:block;font:800 15px ui-monospace,monospace;color:#d6e6ec}.ccw-v08 .ccw-civ-metrics span{display:block;margin-top:3px;font-size:10px;letter-spacing:.1em;color:#526c79}
.ccw-v08 .ccw-next-stage{display:flex;justify-content:space-between;gap:16px;margin-top:10px;padding:9px 11px;border-left:2px solid #6ecae1;background:rgba(110,202,225,.05)}.ccw-v08 .ccw-next-stage span{font-size:10px;letter-spacing:.13em;color:#6f94a4}.ccw-v08 .ccw-next-stage b{font-size:10px;color:#9fc9d7;text-align:right}.ccw-v08 .ccw-next-stage.is-max{border-left-color:#d6ae5e;background:rgba(214,174,94,.05)}.ccw-v08 .ccw-next-stage.is-max b{color:#d8bc80}
@media(max-width:900px){.ccw-v08 .ccw-span-2{grid-column:auto}.ccw-v08 .ccw-civ-top,.ccw-v08 .ccw-civ-identity,.ccw-v08 .ccw-next-stage{flex-direction:column}.ccw-v08 .ccw-civ-score{text-align:left}.ccw-v08 .ccw-stage-track{grid-template-columns:1fr}.ccw-v08 .ccw-civ-metrics{grid-template-columns:1fr 1fr}.ccw-v08 .ccw-next-stage b{text-align:left}}

/* ======================================================================
   v0.13.0 - PERMANENT CIVILIZATION LEGACY
   ====================================================================== */
.ccw-v08 .ccw-legacy-panel{position:relative;overflow:hidden}.ccw-v08 .ccw-legacy-panel:before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(180deg,#d8b760,#77d3e8);opacity:.8}
.ccw-v08 .ccw-legacy-reset{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:13px 0 0;padding:9px 11px;border:1px solid rgba(216,183,96,.18);background:rgba(216,183,96,.05)}.ccw-v08 .ccw-legacy-reset b{font-size:10px;letter-spacing:.13em;color:#d7bd7e}.ccw-v08 .ccw-legacy-reset span{font-size:10px;color:#78909b;text-align:right}
.ccw-v08 .ccw-legacy-unlocks,.ccw-v08 .ccw-legacy-monuments{margin-top:16px}.ccw-v08 .ccw-legacy-unlocks .ccw-section-head,.ccw-v08 .ccw-legacy-monuments .ccw-section-head{margin-bottom:8px}.ccw-v08 .ccw-legacy-unlocks .ccw-section-head h3,.ccw-v08 .ccw-legacy-monuments .ccw-section-head h3{margin:2px 0 0;font-size:13px;color:#dfeaf0}
.ccw-v08 .ccw-legacy-unlock{display:grid;grid-template-columns:26px 1fr auto;gap:9px;align-items:center;padding:9px 10px;border-top:1px solid rgba(151,188,207,.07);background:#081118}.ccw-v08 .ccw-legacy-unlock:last-of-type{border-bottom:1px solid rgba(151,188,207,.07)}.ccw-v08 .ccw-legacy-unlock>span{font-size:16px;color:#8ad7ea;text-align:center}.ccw-v08 .ccw-legacy-unlock b{display:block;font-size:10px;color:#dbe8ed}.ccw-v08 .ccw-legacy-unlock small{display:block;margin-top:2px;font-size:10px;letter-spacing:.1em;color:#5f7885}.ccw-v08 .ccw-legacy-unlock p{margin:3px 0 0;font-size:10px!important;color:#6f8794!important}.ccw-v08 .ccw-legacy-unlock em{font-style:normal;font:750 10px ui-monospace,monospace;letter-spacing:.09em;color:#77cde1}.ccw-v08 .ccw-legacy-unlock.is-locked{opacity:.44}.ccw-v08 .ccw-legacy-unlock.is-locked em{color:#61727b}
.ccw-v08 .ccw-monument-row{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:center;padding:9px 10px;margin-top:1px;background:#091218;border-left:2px solid #8c6b42}.ccw-v08 .ccw-monument-row>span{font-size:15px;color:#b88b50;text-align:center}.ccw-v08 .ccw-monument-row b{display:block;font-size:10px;color:#dbe6ea}.ccw-v08 .ccw-monument-row small{display:block;margin-top:3px;font-size:10px;letter-spacing:.1em;color:#617986}.ccw-v08 .ccw-monument-row.is-silver{border-left-color:#aab7c2}.ccw-v08 .ccw-monument-row.is-silver>span{color:#cbd5db}.ccw-v08 .ccw-monument-row.is-gold{border-left-color:#d5ac55}.ccw-v08 .ccw-monument-row.is-gold>span{color:#f0c767}.ccw-v08 .ccw-monument-row.is-diamond{border-left-color:#7ad7ed}.ccw-v08 .ccw-monument-row.is-diamond>span{color:#96e6f5}
.ccw-v08 .ccw-fairplay-note{margin-top:14px;padding:9px 10px;border:1px dashed rgba(119,211,232,.22);font-size:10px;letter-spacing:.04em;color:#6e8b98;background:rgba(119,211,232,.035)}
.ccw-v08 .ccw-stage-next{margin:10px 0 18px}.ccw-v08 .ccw-stage-next small{display:block;font-size:10px;color:#657d88;max-width:360px}
@media(max-width:700px){.ccw-v08 .ccw-legacy-reset{align-items:flex-start;flex-direction:column}.ccw-v08 .ccw-legacy-reset span{text-align:left}.ccw-v08 .ccw-legacy-unlock{grid-template-columns:24px 1fr}.ccw-v08 .ccw-legacy-unlock em{grid-column:2}.ccw-v08 .ccw-stage-next small{max-width:none}}

/* ======================================================================
   v0.14.0 - COMMUNITY GOVERNANCE
   ====================================================================== */
.ccw-v08 .ccw-governance-panel{margin:16px 0 20px;border:1px solid rgba(135,183,209,.14);background:linear-gradient(145deg,#081118,#09151d);padding:17px;position:relative;overflow:hidden}.ccw-v08 .ccw-governance-panel:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(180deg,#72d1e8,#9a7be8)}
.ccw-v08 .ccw-gov-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.ccw-v08 .ccw-gov-head h3{margin:4px 0 4px;font-size:18px;color:#e3eff4}.ccw-v08 .ccw-gov-head p{margin:0;color:#6f8794;font-size:10px;line-height:1.5}.ccw-v08 .ccw-gov-rule{min-width:125px;text-align:right}.ccw-v08 .ccw-gov-rule b{display:block;font:850 22px/1 ui-monospace,monospace;color:#9ddff0}.ccw-v08 .ccw-gov-rule span{display:block;margin-top:5px;font-size:10px;letter-spacing:.1em;color:#58717e}
.ccw-v08 .ccw-gov-roles{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(151,188,207,.08);margin:14px 0}.ccw-v08 .ccw-gov-roles>div{background:#081118;padding:11px}.ccw-v08 .ccw-gov-roles span{display:block;font-size:10px;letter-spacing:.12em;color:#5b7482}.ccw-v08 .ccw-gov-roles b{display:block;margin-top:5px;font-size:10px;color:#dce9ee}.ccw-v08 .ccw-gov-roles small{display:block;margin-top:3px;font-size:10px;color:#667f8b}
.ccw-v08 .ccw-gov-ballot,.ccw-v08 .ccw-gov-wait,.ccw-v08 .ccw-gov-reps,.ccw-v08 .ccw-gov-recall{margin-top:12px;border:1px solid rgba(151,188,207,.10);background:#071017;padding:12px}.ccw-v08 .ccw-gov-ballot .ccw-section-head h3,.ccw-v08 .ccw-gov-reps .ccw-section-head h3{margin:3px 0 0;font-size:12px;color:#dce8ed}.ccw-v08 .ccw-gov-wait{display:flex;justify-content:space-between;gap:14px;align-items:center}.ccw-v08 .ccw-gov-wait b{font-size:10px;color:#aacbd6}.ccw-v08 .ccw-gov-wait span{font-size:10px;color:#607a88;text-align:right}
.ccw-v08 .ccw-gov-candidates{margin-top:10px}.ccw-v08 .ccw-gov-candidate{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid rgba(151,188,207,.08)}.ccw-v08 .ccw-gov-candidate:first-child{border-top:0}.ccw-v08 .ccw-gov-candidate b{font-size:10px;color:#dce8ed}.ccw-v08 .ccw-gov-candidate b em{font-style:normal;font-size:10px;letter-spacing:.08em;color:#75d8a0;margin-left:5px}.ccw-v08 .ccw-gov-candidate small{display:block;margin-top:3px;font-size:10px;color:#657e8b;line-height:1.4}.ccw-v08 .ccw-gov-candidate>strong{font:750 10px ui-monospace,monospace;color:#89cddd}.ccw-v08 .ccw-gov-candidate.is-selected{background:rgba(117,211,244,.035)}.ccw-v08 .ccw-gov-voted{font-size:10px;letter-spacing:.09em;color:#74cf9d}
.ccw-v08 .ccw-gov-nominate,.ccw-v08 .ccw-gov-claim{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.ccw-v08 .ccw-gov-nominate textarea,.ccw-v08 .ccw-gov-claim textarea{min-height:68px;resize:vertical;border-radius:2px;background:#071017;color:#c2d3dc;border:1px solid rgba(151,188,207,.18);padding:8px 9px}.ccw-v08 .ccw-gov-claim{grid-template-columns:180px 1fr auto}.ccw-v08 .ccw-gov-rep-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.ccw-v08 .ccw-gov-rep-list span{border:1px solid rgba(115,215,160,.18);background:rgba(115,215,160,.04);padding:7px 8px;font-size:10px;color:#9bd5b5}.ccw-v08 .ccw-gov-rep-list small{margin-left:4px;font-size:10px;color:#668979}
.ccw-v08 .ccw-gov-recall{display:flex;justify-content:space-between;gap:15px;align-items:center}.ccw-v08 .ccw-gov-recall b{display:block;font-size:10px;color:#d7e5ea}.ccw-v08 .ccw-gov-recall small{display:block;margin-top:4px;font-size:10px;color:#667e8a}.ccw-v08 .ccw-gov-recall em{font-style:normal;font-size:10px;letter-spacing:.09em;color:#8aa0aa}
@media(max-width:800px){.ccw-v08 .ccw-gov-head,.ccw-v08 .ccw-gov-wait,.ccw-v08 .ccw-gov-recall{flex-direction:column;align-items:flex-start}.ccw-v08 .ccw-gov-rule{text-align:left}.ccw-v08 .ccw-gov-roles{grid-template-columns:1fr}.ccw-v08 .ccw-gov-candidate{grid-template-columns:1fr auto}.ccw-v08 .ccw-gov-candidate .ccw-btn,.ccw-v08 .ccw-gov-candidate .ccw-gov-voted{grid-column:1/3}.ccw-v08 .ccw-gov-nominate,.ccw-v08 .ccw-gov-claim{grid-template-columns:1fr}.ccw-v08 .ccw-gov-wait span{text-align:left}}

/* v0.15 World Economy & Civilization Launch */
.ccw-launch-rules,.ccw-launch-numbers,.ccw-world-vault-inline,.ccw-vault-prize{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.ccw-launch-rules{margin:14px 0;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.035)}
.ccw-launch-rules>div{min-width:140px;display:flex;flex-direction:column;gap:3px}.ccw-launch-rules span,.ccw-world-vault-inline span,.ccw-vault-prize span{font-size:10px;letter-spacing:.12em;opacity:.65}.ccw-launch-rules b{font-size:14px}
.ccw-world-vault,.ccw-launch-pool,.ccw-prestige-funding{margin:0 0 18px;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(145deg,rgba(17,25,43,.92),rgba(9,15,27,.92))}
.ccw-world-vault>div{display:flex;flex-direction:column}.ccw-world-vault>div>b,.ccw-world-vault-inline>b{font-size:24px}
.ccw-world-vault-inline{justify-content:space-between;margin:10px 0 14px;padding:12px;border-radius:12px;background:rgba(107,222,174,.08);border:1px solid rgba(107,222,174,.18)}
.ccw-launch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-top:14px}
.ccw-launch-card,.ccw-prestige-project{padding:15px;border-radius:15px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.035)}
.ccw-launch-card h3,.ccw-prestige-project b{margin:6px 0}.ccw-launch-card h3 em{font-style:normal;opacity:.7}
.ccw-launch-track{height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:12px 0}.ccw-launch-track>span{display:block;height:100%;background:linear-gradient(90deg,#62dca5,#80a9ff);border-radius:999px}
.ccw-launch-numbers{justify-content:space-between}.ccw-launch-numbers span{font-size:12px;opacity:.7}
.ccw-launch-contribute{display:grid;grid-template-columns:90px 1fr auto;gap:7px;margin-top:12px}.ccw-launch-contribute input{min-width:0}
.ccw-citizen-rule{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 12px;margin:10px 0 14px;border-radius:12px;background:rgba(255,190,75,.06);border:1px solid rgba(255,190,75,.18)}.ccw-citizen-rule.is-eligible{background:rgba(78,210,145,.07);border-color:rgba(78,210,145,.22)}.ccw-citizen-rule span{font-size:11px;opacity:.72;text-align:right}
.ccw-prestige-project{margin:10px 0}.ccw-prestige-project>span{font-size:10px;letter-spacing:.12em;opacity:.62}.ccw-prestige-project>b,.ccw-prestige-project>small{display:block}.ccw-prestige-project>div:not(.ccw-launch-track):not(.ccw-launch-contribute){display:flex;justify-content:space-between;gap:10px;align-items:center}.ccw-prestige-project em{font-size:10px;letter-spacing:.09em;opacity:.7}.ccw-prestige-project.is-funded{border-color:rgba(92,224,164,.28);box-shadow:inset 0 0 24px rgba(92,224,164,.035)}
.ccw-prestige-create{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.09)}.ccw-prestige-create textarea{min-height:72px}
.ccw-vault-prize{margin-top:12px;padding:12px;border-radius:12px;background:rgba(98,220,165,.055);border:1px solid rgba(98,220,165,.16);flex-direction:column;align-items:flex-start;gap:3px}.ccw-vault-prize b{font-size:14px}.ccw-vault-prize small{opacity:.7}
@media(max-width:700px){.ccw-launch-contribute{grid-template-columns:1fr}.ccw-citizen-rule{align-items:flex-start;flex-direction:column}.ccw-citizen-rule span{text-align:left}}

/* ======================================================================
   v0.16.0 - CIVILIZATION HUB
   ====================================================================== */
.ccw-v08 .ccw-civ-hub{display:flex;flex-direction:column;gap:0}.ccw-v08 .ccw-hub-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:20px;border:1px solid color-mix(in srgb,var(--faction-color) 28%,rgba(151,188,207,.14));background:radial-gradient(circle at 80% 10%,color-mix(in srgb,var(--faction-color) 14%,transparent),transparent 34%),linear-gradient(145deg,#09131b,#071018);position:relative;overflow:hidden}.ccw-v08 .ccw-hub-hero:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--faction-color)}.ccw-v08 .ccw-hub-identity h2{margin:5px 0 4px;font-size:25px;color:#edf7fa}.ccw-v08 .ccw-hub-identity h2 em{font-style:normal;color:var(--faction-color);font-size:.66em}.ccw-v08 .ccw-hub-identity p{margin:0;color:#7f99a6;font-size:10px}.ccw-v08 .ccw-hub-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.ccw-v08 .ccw-hub-badges span{padding:6px 8px;border:1px solid rgba(151,188,207,.13);background:#071017;font:700 10px ui-monospace,monospace;letter-spacing:.08em;color:#93b6c4}.ccw-v08 .ccw-hub-season{min-width:150px;text-align:right}.ccw-v08 .ccw-hub-season span,.ccw-v08 .ccw-hub-season small{display:block;color:#647e8a;font-size:10px;letter-spacing:.09em}.ccw-v08 .ccw-hub-season b{display:block;margin:5px 0;font:900 34px/1 ui-monospace,monospace;color:#e8f2f5}
.ccw-v08 .ccw-hub-nav{display:flex;gap:0;overflow:auto;border:1px solid rgba(151,188,207,.10);border-top:0;background:#071017}.ccw-v08 .ccw-hub-nav button{appearance:none;border:0;border-right:1px solid rgba(151,188,207,.08);background:transparent;color:#607b88;padding:11px 13px;font:800 10px ui-monospace,monospace;letter-spacing:.09em;cursor:pointer;white-space:nowrap}.ccw-v08 .ccw-hub-nav button:hover{color:#b9d8e4;background:rgba(255,255,255,.025)}.ccw-v08 .ccw-hub-nav button.is-active{color:#dff4fb;background:color-mix(in srgb,var(--faction-color) 10%,#081118);box-shadow:inset 0 -2px 0 var(--faction-color)}.ccw-v08 .ccw-hub-content{padding-top:16px}
.ccw-v08 .ccw-hub-needs{margin-bottom:16px}.ccw-v08 .ccw-hub-needs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ccw-v08 .ccw-hub-need{appearance:none;text-align:left;border:1px solid rgba(151,188,207,.11);background:linear-gradient(145deg,#091219,#071017);padding:13px;cursor:pointer;color:inherit}.ccw-v08 .ccw-hub-need:hover{border-color:rgba(123,210,233,.28)}.ccw-v08 .ccw-hub-need>span{display:block;font-size:10px;letter-spacing:.12em;color:#698692}.ccw-v08 .ccw-hub-need>b{display:block;margin:5px 0;font-size:11px;color:#dceaf0}.ccw-v08 .ccw-hub-need>small{display:block;min-height:28px;font-size:10px;line-height:1.45;color:#6b838e}.ccw-v08 .ccw-hub-need>em{display:block;margin-top:9px;font-style:normal;font:750 10px ui-monospace,monospace;color:#83cfe1}.ccw-v08 .ccw-hub-need.is-critical{border-left:2px solid #d86e6e}.ccw-v08 .ccw-hub-need.is-high{border-left:2px solid #d7b25d}
.ccw-v08 .ccw-hub-overview-grid,.ccw-v08 .ccw-hub-capital-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.ccw-v08 .ccw-hub-capital-grid{grid-template-columns:1.2fr .8fr;margin-top:12px}.ccw-v08 .ccw-hub-card{border:1px solid rgba(151,188,207,.11);background:#081118;padding:15px}.ccw-v08 .ccw-hub-card h3{margin:5px 0 8px;font-size:13px;color:#dfecef}.ccw-v08 .ccw-hub-card p{font-size:10px;line-height:1.5;color:#6e8793}.ccw-v08 .ccw-hub-big{display:block;font:850 22px ui-monospace,monospace;color:#cbe6ee}.ccw-v08 .ccw-hub-chronicle-preview{margin-top:16px;border:1px solid rgba(151,188,207,.10);background:#081118;padding:14px}
/* Earliest v0.8 capital scene CSS retired in v0.99.17. */
.ccw-v08 .ccw-hub-motto{font-size:11px!important;color:#9bb8c3!important;font-style:italic}.ccw-v08 .ccw-loadout-list>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid rgba(151,188,207,.07)}.ccw-v08 .ccw-loadout-list span{font-size:10px;color:#657e8a}.ccw-v08 .ccw-loadout-list b{font-size:10px;color:#d5e4e9;text-align:right}
.ccw-v08 .ccw-cosmetic-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 20px}.ccw-v08 .ccw-cosmetic-slot{border:1px solid rgba(151,188,207,.10);background:#081118;padding:12px}.ccw-v08 .ccw-cosmetic-slot.is-filled{border-color:color-mix(in srgb,var(--faction-color) 28%,rgba(151,188,207,.12));background:linear-gradient(145deg,color-mix(in srgb,var(--faction-color) 6%,#081118),#081118)}.ccw-v08 .ccw-cosmetic-slot-head{display:flex;gap:9px;align-items:center}.ccw-v08 .ccw-cosmetic-slot-head>span{font-size:20px;color:#9adbea}.ccw-v08 .ccw-cosmetic-slot-head b{display:block;font-size:10px;color:#dce9ed}.ccw-v08 .ccw-cosmetic-slot-head small{display:block;margin-top:2px;font-size:10px;letter-spacing:.1em;color:#5e7783}.ccw-v08 .ccw-cosmetic-slot select{width:100%;margin-top:10px;background:#061017;border:1px solid rgba(151,188,207,.16);color:#b8d0d8;padding:8px}.ccw-v08 .ccw-cosmetic-slot p{margin:7px 0 0;font-size:10px;line-height:1.45;color:#607a86}.ccw-v08 .ccw-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ccw-v08 .ccw-collection-item{display:grid;grid-template-columns:32px 1fr;gap:9px;padding:10px;border:1px solid rgba(151,188,207,.08);background:#071017}.ccw-v08 .ccw-collection-item>span{font-size:18px;text-align:center;color:#9bdbea}.ccw-v08 .ccw-collection-item b{display:block;font-size:10px;color:#dae8ed}.ccw-v08 .ccw-collection-item small{display:block;margin-top:2px;font-size:10px;letter-spacing:.09em;color:#5b7480}.ccw-v08 .ccw-collection-item p{margin:4px 0 0;font-size:10px;line-height:1.4;color:#637d88}
.ccw-v08 .ccw-hub-strategic{margin-top:14px;border:1px solid rgba(151,188,207,.10);background:#081118;padding:14px}.ccw-v08 .ccw-hub-project-row{display:grid;grid-template-columns:120px 1fr;gap:10px;padding:9px 0;border-top:1px solid rgba(151,188,207,.07)}.ccw-v08 .ccw-hub-project-row>span{font-size:10px;letter-spacing:.1em;color:#6d8995}.ccw-v08 .ccw-hub-project-row b{display:block;font-size:10px;color:#dbe7eb}.ccw-v08 .ccw-hub-project-row small{display:block;margin-top:3px;font-size:10px;color:#617987}
.ccw-v08 .ccw-trophy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.ccw-v08 .ccw-trophy-card{padding:14px;border:1px solid rgba(216,183,96,.16);background:linear-gradient(145deg,rgba(216,183,96,.055),#081118)}.ccw-v08 .ccw-trophy-card>span{display:block;font-size:24px;color:#d8b760}.ccw-v08 .ccw-trophy-card b{display:block;margin-top:7px;font-size:10px;color:#e2eaec}.ccw-v08 .ccw-trophy-card small{display:block;margin-top:3px;font-size:10px;color:#6d838b}.ccw-v08 .ccw-chronicle{border-left:1px solid rgba(151,188,207,.11);margin-left:11px}.ccw-v08 .ccw-chronicle-row{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:start;padding:10px 0}.ccw-v08 .ccw-chronicle-row>span{width:24px;height:24px;margin-left:-12px;border-radius:50%;display:grid;place-items:center;background:#081118;border:1px solid rgba(151,188,207,.14);color:#89cfdf}.ccw-v08 .ccw-chronicle-row b{display:block;font-size:10px;color:#dbe8ec}.ccw-v08 .ccw-chronicle-row small{display:block;margin-top:2px;font-size:10px;letter-spacing:.06em;color:#607986}.ccw-v08 .ccw-chronicle-row p{margin:4px 0 0;font-size:10px;line-height:1.45;color:#657f8b}
.ccw-v08 .ccw-citizen-grid{display:grid;gap:4px}.ccw-v08 .ccw-citizen-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:9px 10px;border:1px solid rgba(151,188,207,.08);background:#081118}.ccw-v08 .ccw-citizen-card>span{font:700 10px ui-monospace,monospace;color:#55717e}.ccw-v08 .ccw-citizen-card b{display:block;font-size:10px;color:#d9e6ea}.ccw-v08 .ccw-citizen-card small{display:block;margin-top:2px;font-size:10px;color:#5e7782}.ccw-v08 .ccw-citizen-card strong{font:750 10px ui-monospace,monospace;color:#8dcbd9}.ccw-v08 .ccw-citizen-card em{font-style:normal;font-size:10px;letter-spacing:.08em;color:#647b85}.ccw-v08 .ccw-citizen-card.is-eligible{border-left:2px solid #63d49a}.ccw-v08 .ccw-citizen-card.is-eligible em{color:#79d9a5}
@media(max-width:900px){.ccw-v08 .ccw-hub-hero{align-items:flex-start;flex-direction:column}.ccw-v08 .ccw-hub-season{text-align:left}.ccw-v08 .ccw-hub-needs-grid,.ccw-v08 .ccw-hub-overview-grid,.ccw-v08 .ccw-hub-capital-grid,.ccw-v08 .ccw-cosmetic-slot-grid,.ccw-v08 .ccw-collection-grid,.ccw-v08 .ccw-trophy-grid{grid-template-columns:1fr}.ccw-v08 .ccw-citizen-card{grid-template-columns:30px 1fr}.ccw-v08 .ccw-citizen-card strong,.ccw-v08 .ccw-citizen-card em{grid-column:2}.ccw-v08 .ccw-hub-project-row{grid-template-columns:1fr}}
.ccw-v08 .ccw-civ-hub-loading{padding:24px;border:1px solid rgba(151,188,207,.11);background:#081118}.ccw-v08 .ccw-civ-hub-loading h2{margin:6px 0;color:#e7f1f4}.ccw-v08 .ccw-civ-hub-loading h2 em{font-style:normal;color:#87d2e4}.ccw-v08 .ccw-civ-hub-loading p{color:#6b8591;font-size:10px}.ccw-v08 .ccw-civ-hub-loading .ccw-loader-line{margin-top:16px}

/* v0.17 balanced season scoring */
.ccw-v08 .ccw-pillar-line{display:block!important;margin-top:4px;font-size:10px!important;letter-spacing:.05em!important;color:#7f9baa!important;white-space:normal}.ccw-v08 .ccw-season-ranking .ccw-rank-name{min-width:220px}


/* ======================================================================
   v0.18.0 - ONE WORLD PLANET / WORLD GATE
   ====================================================================== */
.ccw-v08 .ccw-hub-world-presence{margin:0 0 14px;padding:13px 15px;border:1px solid rgba(151,188,207,.12);border-left:3px solid #617987;background:linear-gradient(90deg,rgba(97,121,135,.08),#081118 42%)}
.ccw-v08 .ccw-hub-world-presence h3{margin:3px 0 5px;color:#dcebf0;font-size:14px}.ccw-v08 .ccw-hub-world-presence p{margin:0;color:#748d99;font-size:10px;line-height:1.5}.ccw-v08 .ccw-hub-world-presence small{display:block;margin-top:7px;color:#67818f;font:700 10px/1.4 ui-monospace,monospace}.ccw-v08 .ccw-hub-world-presence>b{display:block;margin-top:8px;color:#d6b965;font:800 10px ui-monospace,monospace;letter-spacing:.06em}
.ccw-v08 .ccw-hub-world-presence.is-secured{border-left-color:#d8b65d;background:linear-gradient(90deg,rgba(216,182,93,.09),#081118 44%)}.ccw-v08 .ccw-hub-world-presence.is-secured .ccw-kicker{color:#d8b65d}
.ccw-v08 .ccw-hub-world-presence.is-qualifying{border-left-color:#73d59c;background:linear-gradient(90deg,rgba(115,213,156,.08),#081118 44%)}.ccw-v08 .ccw-hub-world-presence.is-qualifying .ccw-kicker{color:#73d59c}
.ccw-v08 .ccw-hub-world-presence.is-world{border-left-color:#79d5eb;background:linear-gradient(90deg,rgba(121,213,235,.08),#081118 44%)}.ccw-v08 .ccw-hub-world-presence.is-world .ccw-kicker{color:#79d5eb}
.ccw-v08 .ccw-rank-row.is-world-safe{box-shadow:inset 3px 0 0 rgba(216,182,93,.8);background:linear-gradient(90deg,rgba(216,182,93,.055),rgba(8,17,24,.94) 32%)}
.ccw-v08 .ccw-rank-row.is-world-safe .ccw-rank-no{color:#e0c47c}

/* ======================================================================
   v0.19.0 - WEEKLY WORLD INVASIONS
   ====================================================================== */
.ccw-v08 .ccw-invasion-panel{margin:16px 0;border:1px solid rgba(226,121,92,.18);background:linear-gradient(145deg,rgba(104,35,26,.10),#081118);padding:12px}
.ccw-v08 .ccw-invasion-panel .ccw-season-hero{margin:0 0 10px}
.ccw-v08 .ccw-rank-row.is-world-risk{box-shadow:inset 3px 0 0 rgba(224,116,84,.82);background:linear-gradient(90deg,rgba(224,116,84,.06),rgba(8,17,24,.94) 34%)}
.ccw-v08 .ccw-rank-row.is-world-risk .ccw-rank-no{color:#e39a82}

/* v0.20.0 - CAPITAL SIEGES / RUINED CAPITALS use the existing dark-world visual system; map marks are canvas-rendered. */

/* v0.21.0 - Strategic Buildings: ordinary military structures now project local map effects. */

/* v0.23 launchability */
.ccw-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.ccw-social-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
.ccw-social-actions .ccw-btn{text-decoration:none}
@media(max-width:680px){.ccw-auth-grid{grid-template-columns:1fr}}

/* v0.25 World Legacy & Prestige Economy */
.ccw-partner-ribbon,.ccw-season-sponsor{border:1px solid rgba(255,216,107,.35);background:linear-gradient(135deg,rgba(255,216,107,.10),rgba(90,180,210,.06));padding:12px 16px;border-radius:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.ccw-partner-ribbon span,.ccw-season-sponsor span{font-size:10px;letter-spacing:.12em;font-weight:900;opacity:.75}.ccw-partner-ribbon b,.ccw-season-sponsor b{font-size:15px}.ccw-partner-ribbon small,.ccw-season-sponsor small{opacity:.72}
.ccw-world-hero,.ccw-world-patrons{border:1px solid rgba(137,211,235,.22);background:rgba(6,16,24,.56);padding:16px;border-radius:16px;margin-bottom:16px}.ccw-world-hero.is-winner{border-color:rgba(255,216,107,.45);box-shadow:0 0 30px rgba(255,216,107,.08)}
.ccw-hero-nominees{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.ccw-hero-nominee{appearance:none;border:1px solid rgba(155,205,225,.2);background:rgba(255,255,255,.035);color:inherit;padding:12px;text-align:left;border-radius:12px;display:grid;gap:5px;cursor:pointer}.ccw-hero-nominee em{font-style:normal;font-size:10px;letter-spacing:.1em;font-weight:900}.ccw-hero-nominee.is-selected{border-color:#ffd86b;box-shadow:0 0 18px rgba(255,216,107,.12)}.ccw-hero-nominee:disabled{cursor:default;opacity:.75}
.ccw-treasury-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.ccw-treasury-stats>div{border:1px solid rgba(150,205,225,.15);background:rgba(255,255,255,.025);padding:12px;border-radius:10px;display:grid;gap:4px}.ccw-treasury-stats span{font-size:10px;letter-spacing:.11em;opacity:.62}.ccw-treasury-stats b{font-size:18px}
.ccw-patron-hall,.ccw-treasury-feed{display:grid;gap:7px;margin-top:12px}.ccw-patron-hall>div,.ccw-treasury-feed>div{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;border-top:1px solid rgba(255,255,255,.06);padding-top:7px}.ccw-treasury-feed>div{grid-template-columns:90px 1fr auto}.ccw-patron-hall strong,.ccw-treasury-feed span{color:#ffd86b}.ccw-treasury-feed h4{margin:8px 0 0}
.ccw-landmark-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.ccw-landmark-card{display:flex;gap:12px;border:1px solid rgba(159,216,235,.16);background:rgba(255,255,255,.025);border-radius:12px;padding:12px}.ccw-landmark-card>span{font-size:24px}.ccw-landmark-card b,.ccw-landmark-card small,.ccw-landmark-card p{display:block}.ccw-landmark-card p{margin:.35rem 0 0;opacity:.72}.ccw-landmark-card.is-legendary{border-color:rgba(255,216,107,.46);box-shadow:inset 0 0 20px rgba(255,216,107,.05)}
@media(max-width:700px){.ccw-treasury-stats{grid-template-columns:1fr}.ccw-patron-hall>div,.ccw-treasury-feed>div{grid-template-columns:36px 1fr}.ccw-patron-hall strong,.ccw-treasury-feed small{grid-column:2}}

/* v0.26 Legacy Evolution */
.ccw-landmark-card>div{min-width:0;flex:1}.ccw-landmark-card strong{display:block;margin-top:7px;font-size:10px;letter-spacing:.08em;opacity:.78}.ccw-landmark-progress{height:5px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;margin-top:9px}.ccw-landmark-progress i{display:block;height:100%;border-radius:inherit;background:currentColor;opacity:.72}.ccw-landmark-card.is-evolution-4,.ccw-landmark-card.is-evolution-5{border-color:rgba(227,238,196,.28)}.ccw-landmark-card.is-evolution-5{box-shadow:inset 0 0 24px rgba(227,238,196,.055)}.ccw-landmark-milestones{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.ccw-landmark-milestones em{font-style:normal;font-size:10px;padding:3px 6px;border:1px solid rgba(255,255,255,.08);border-radius:999px;opacity:.72}

/* v0.27 Heritage Traits */
.ccw-heritage-trait,.ccw-heritage-choose{margin-top:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(8,18,24,.42);display:grid;gap:4px}.ccw-heritage-trait b{font-size:12px;letter-spacing:.04em}.ccw-heritage-trait span,.ccw-heritage-trait small,.ccw-heritage-choose small{font-size:11px;opacity:.78}.ccw-heritage-trait.is-empty{opacity:.72}.ccw-heritage-choose{grid-template-columns:minmax(0,1fr) auto;align-items:center}.ccw-heritage-choose small{grid-column:1/-1}.ccw-heritage-choose select{min-width:0}

.ccw-council-summary{border:1px solid rgba(112,211,160,.25);background:rgba(18,49,39,.35);padding:12px;margin-bottom:10px}.ccw-council-summary h3{margin:4px 0 6px}.ccw-council-summary p{margin:0 0 9px;color:var(--ccw-muted);font-size:10px;line-height:1.45}.ccw-council-summary .ccw-vote-count{gap:10px;flex-wrap:wrap;justify-content:flex-start}.ccw-vote-controls small{grid-column:1/-1;color:var(--ccw-muted);font-size:10px}.ccw-vote-controls:has(small){grid-template-columns:60px 1fr}.ccw-vote-controls:has(small) .ccw-btn{grid-column:2}.ccw-project-paused{opacity:.75}

/* ======================================================================
   v0.29 PREMIUM UX / VISUAL SYSTEM
   ====================================================================== */
.ccw-shell{
  --ccw-bg:#050a10;--ccw-surface:#0a121a;--ccw-surface-2:#0e1822;--ccw-surface-3:#13212d;
  --ccw-line:rgba(150,196,214,.14);--ccw-line-strong:rgba(150,214,235,.26);
  --ccw-text:#f1f7f9;--ccw-muted:#8ca1ab;--ccw-muted-2:#607680;
  --ccw-green:#72e0a5;--ccw-red:#ff796d;--ccw-gold:#e5c871;--ccw-cyan:#83d9eb;
  --ccw-radius:16px;--ccw-shadow:0 24px 80px rgba(0,0,0,.35);
  background:
    radial-gradient(circle at 20% -10%,rgba(66,143,172,.13),transparent 34%),
    radial-gradient(circle at 95% 5%,rgba(91,69,152,.10),transparent 30%),
    linear-gradient(180deg,#071019,#050a10 58%,#060d13);
  border-color:rgba(148,196,215,.16);box-shadow:var(--ccw-shadow);color:var(--ccw-text);
  font-feature-settings:"tnum" 1,"ss01" 1;
}
.ccw-shell *{scrollbar-width:thin;scrollbar-color:rgba(133,190,211,.22) transparent}
.ccw-shell *::-webkit-scrollbar{width:8px;height:8px}.ccw-shell *::-webkit-scrollbar-thumb{background:rgba(133,190,211,.20);border-radius:999px}.ccw-shell *::-webkit-scrollbar-track{background:transparent}
.ccw-game-hud{position:sticky;top:0;z-index:70;display:grid;grid-template-columns:minmax(210px,.85fr) minmax(450px,1.35fr) minmax(270px,1fr);align-items:center;gap:16px;padding:11px 16px;background:rgba(5,11,17,.88);border-bottom:1px solid rgba(145,200,220,.12);backdrop-filter:blur(20px) saturate(125%);box-shadow:0 8px 30px rgba(0,0,0,.18)}
.ccw-brand-lockup{display:flex;align-items:center;gap:11px;min-width:0}.ccw-brand-lockup>div{display:grid;min-width:0}.ccw-brand-lockup strong{font-size:16px;line-height:1.1;letter-spacing:-.02em;color:#f4f8fa;white-space:nowrap}.ccw-brand-lockup>div>span{margin-top:3px;font-size:10px;letter-spacing:.18em;color:#6f8994;font-weight:800;white-space:nowrap}
.ccw-brand-mark{width:34px;height:34px;position:relative;display:grid;place-items:center;border:1px solid rgba(132,212,235,.28);border-radius:10px;background:linear-gradient(145deg,rgba(117,207,230,.13),rgba(255,255,255,.02));box-shadow:inset 0 1px rgba(255,255,255,.08),0 8px 24px rgba(44,147,181,.08);flex:0 0 auto}.ccw-brand-mark i{position:absolute;width:14px;height:14px;border:1px solid #86d5e9;transform:rotate(30deg);border-radius:3px;opacity:.9}.ccw-brand-mark i:nth-child(2){transform:rotate(90deg) scale(.65);opacity:.6}.ccw-brand-mark i:nth-child(3){width:4px;height:4px;background:#d8c273;border:0;border-radius:50%;box-shadow:0 0 12px #d8c273}
.ccw-tabs{display:flex;justify-content:center;align-items:center;gap:4px;padding:4px;background:rgba(255,255,255,.025);border:1px solid rgba(142,194,214,.10);border-radius:13px;overflow:auto;min-width:0}.ccw-tab{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 12px;border:1px solid transparent!important;border-radius:9px!important;color:#8097a2!important;font-size:10px!important;letter-spacing:.08em;font-weight:850;white-space:nowrap;transition:background .16s,border-color .16s,color .16s,transform .16s}.ccw-tab>span{font-size:12px;opacity:.8}.ccw-tab:hover{color:#c7d9df!important;background:rgba(255,255,255,.035)}.ccw-tab.is-active{color:#eef8fb!important;background:linear-gradient(180deg,rgba(115,205,229,.13),rgba(115,205,229,.06));border-color:rgba(127,214,236,.22)!important;box-shadow:inset 0 1px rgba(255,255,255,.06)}
.ccw-hud-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.ccw-sync-status{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;border:1px solid rgba(113,208,161,.16);background:rgba(59,140,101,.07);color:#79d7a4;font-size:10px;letter-spacing:.12em;font-weight:900;white-space:nowrap}.ccw-sync-status i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}.ccw-sync-status[data-status=syncing]{color:#dbbd6e;border-color:rgba(219,189,110,.18)}.ccw-sync-status[data-status=syncing] i{animation:ccwPulse .8s infinite}.ccw-sync-status[data-status=error]{color:#e8867d;border-color:rgba(232,134,125,.22)}
.ccw-player{gap:6px;justify-content:flex-end;flex-wrap:nowrap;min-width:0}.ccw-player>span:not(.ccw-name){display:grid;gap:1px;padding:5px 7px;border:1px solid rgba(141,193,212,.10);border-radius:8px;background:rgba(255,255,255,.025);white-space:nowrap}.ccw-player>span small{font-size:10px!important;letter-spacing:.1em;color:#607985}.ccw-player>span b{font-size:10px}.ccw-player .ccw-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.ccw-wallet-chip{border-radius:9px!important;border-color:rgba(119,207,229,.18)!important;background:rgba(86,170,193,.07)!important;min-width:88px}
.ccw-message{position:fixed;right:20px;top:78px;z-index:150;width:min(390px,calc(100vw - 40px));margin:0;padding:12px 14px;border-radius:12px;background:rgba(12,24,33,.96);border:1px solid rgba(125,196,219,.22);box-shadow:0 18px 55px rgba(0,0,0,.35);backdrop-filter:blur(18px);font-size:11px;line-height:1.45;animation:ccwToastIn .18s ease-out}.ccw-message[data-type=success]{border-color:rgba(106,218,158,.3);box-shadow:0 18px 55px rgba(0,0,0,.35),inset 3px 0 #6ada9e}.ccw-message[data-type=error]{border-color:rgba(255,114,101,.33);background:rgba(37,16,19,.96);box-shadow:0 18px 55px rgba(0,0,0,.35),inset 3px 0 #ff7265}
.ccw-layout{grid-template-columns:minmax(0,1fr) 340px;gap:12px;padding:12px}.ccw-main{min-width:0}.ccw-sidebar{gap:10px;position:relative}.ccw-command-panel,.ccw-panel,.ccw-map-card{border:1px solid rgba(141,193,212,.11)!important;background:linear-gradient(180deg,rgba(13,24,33,.94),rgba(7,15,22,.94))!important;border-radius:15px!important;box-shadow:inset 0 1px rgba(255,255,255,.025),0 10px 35px rgba(0,0,0,.12)}
.ccw-command-panel{padding:12px}.ccw-panel-head{padding-bottom:9px;margin-bottom:9px;border-bottom:1px solid rgba(141,193,212,.08)}.ccw-panel-head span,.ccw-section-head>span,.ccw-kicker{font-size:10px!important;letter-spacing:.16em!important;color:#708995!important;font-weight:850}.ccw-panel-head b{font-size:10px;color:#dce9ed}
.ccw-wide-panel{min-height:620px;padding:18px!important}.ccw-section-head h2,.ccw-section-head h3{letter-spacing:-.02em}
.ccw-muted,.ccw-hint{font-size:10px!important;line-height:1.5;color:#7d939d!important}
.ccw-btn,.ccw-command-button,.ccw-map-tool{position:relative;isolation:isolate;border-radius:10px!important;border:1px solid rgba(132,190,211,.18)!important;background:linear-gradient(180deg,rgba(32,52,67,.95),rgba(18,34,46,.95))!important;color:#e8f2f5!important;box-shadow:inset 0 1px rgba(255,255,255,.05),0 5px 18px rgba(0,0,0,.12);transition:transform .12s ease,filter .12s ease,border-color .12s ease,background .12s ease;font-size:10px!important;letter-spacing:.035em;font-weight:820}.ccw-btn{min-height:36px;padding:9px 12px}.ccw-btn:hover:not(:disabled),.ccw-command-button:hover:not(:disabled),.ccw-map-tool:hover:not(:disabled){filter:brightness(1.13);border-color:rgba(138,215,235,.32)!important;transform:translateY(-1px)}.ccw-btn:active:not(:disabled){transform:translateY(0)}.ccw-btn:focus-visible,.ccw-tab:focus-visible,.ccw-map-tool:focus-visible,.ccw-command-button:focus-visible{outline:2px solid #8adcef!important;outline-offset:2px}.ccw-btn-primary{background:linear-gradient(180deg,#237b59,#175b43)!important;border-color:rgba(105,225,163,.35)!important}.ccw-btn-danger{background:linear-gradient(180deg,#793a43,#57262d)!important;border-color:rgba(255,122,109,.32)!important}.ccw-btn-yes{background:linear-gradient(180deg,#277b59,#1b5d45)!important}.ccw-btn:disabled{opacity:.42;filter:saturate(.65);cursor:not-allowed}.ccw-btn.is-loading{padding-left:31px!important}.ccw-btn.is-loading::before{content:"";position:absolute;left:11px;top:50%;width:11px;height:11px;margin-top:-6px;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:ccwSpin .7s linear infinite}
.ccw-shell input,.ccw-shell select,.ccw-shell textarea{border:1px solid rgba(139,193,214,.15)!important;background:#071019!important;color:#e9f2f5!important;border-radius:10px!important;min-height:38px;padding:9px 10px!important;outline:none;transition:border-color .15s,box-shadow .15s}.ccw-shell textarea{min-height:88px;resize:vertical}.ccw-shell input:focus,.ccw-shell select:focus,.ccw-shell textarea:focus{border-color:rgba(121,211,235,.42)!important;box-shadow:0 0 0 3px rgba(121,211,235,.07)}.ccw-form-grid label{font-size:10px!important;letter-spacing:.02em;color:#899da6!important}.ccw-form-grid label small{font-size:10px;line-height:1.45;color:#657b85}
.ccw-map-card{overflow:hidden!important}.ccw-map-viewport{height:min(78vh,920px);min-height:650px;background:radial-gradient(circle at 50% 43%,rgba(62,121,158,.16),transparent 43%),radial-gradient(circle at 68% 72%,rgba(31,89,78,.09),transparent 29%),linear-gradient(180deg,#040a11,#07131e 55%,#04090e)!important}.ccw-map-viewport::before{opacity:.45}.ccw-globe-canvas{filter:saturate(1.08) contrast(1.03);will-change:contents}.ccw-world-overlay{border:1px solid rgba(142,205,224,.13)!important;background:rgba(5,13,19,.66)!important;backdrop-filter:blur(12px)!important;box-shadow:0 10px 30px rgba(0,0,0,.22)}.ccw-world-overlay strong{font-size:15px!important;letter-spacing:.06em}.ccw-world-bottombar{background:linear-gradient(180deg,rgba(4,10,15,.08),rgba(4,10,15,.72))!important;backdrop-filter:blur(9px)}.ccw-terrain-key span{font-size:10px!important}.ccw-map-help{background:rgba(4,10,15,.66)!important;color:#738b96!important;border-color:rgba(137,199,219,.10)!important}
.ccw-war-card,.ccw-proposal,.ccw-tech-card,.ccw-building-row,.ccw-faction-card,.ccw-hub-card,.ccw-cosmetic-slot,.ccw-collection-item,.ccw-landmark-card,.ccw-trophy-card,.ccw-citizen-card,.ccw-launch-card{border-color:rgba(139,193,213,.11)!important;background:linear-gradient(150deg,rgba(15,27,37,.9),rgba(8,17,24,.92))!important;box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 25px rgba(0,0,0,.08)}
.ccw-proposal{padding:12px!important;border-radius:13px!important}.ccw-proposal-head b{font-size:11px}.ccw-proposal .ccw-muted{font-size:10px!important}.ccw-vote-count{font-size:10px!important;color:#758c96;gap:8px;flex-wrap:wrap}.ccw-bar,.ccw-progress,.ccw-launch-track{height:5px!important;background:#1a252c!important}.ccw-bar span,.ccw-progress span,.ccw-launch-track span{background:linear-gradient(90deg,#4bc78a,#83d9eb)!important}.ccw-voted{padding:7px 9px;border-radius:8px;background:rgba(108,206,157,.06);border:1px solid rgba(108,206,157,.10);font-size:10px!important;color:#91cdae!important}
.ccw-ranking-list{display:grid;gap:4px}.ccw-rank-row{border:1px solid rgba(140,193,213,.08)!important;background:rgba(8,17,24,.62)!important;border-radius:10px!important;padding:10px 12px!important}.ccw-rank-row:hover{border-color:rgba(142,207,227,.17)!important;background:rgba(13,25,34,.8)!important}.ccw-rank-name b{font-size:10px}.ccw-rank-name small{font-size:10px!important}.ccw-pillar-line{font-size:10px!important}
.ccw-civ-hub{max-width:1480px;margin:0 auto}.ccw-hub-hero{position:relative;overflow:hidden;border:1px solid rgba(145,204,224,.13);border-radius:18px;padding:20px;background:radial-gradient(circle at 87% 15%,color-mix(in srgb,var(--faction-color) 16%,transparent),transparent 30%),linear-gradient(135deg,rgba(16,31,42,.96),rgba(6,14,20,.96));box-shadow:0 18px 50px rgba(0,0,0,.18)}.ccw-hub-hero::after{content:"";position:absolute;right:-80px;top:-100px;width:260px;height:260px;border:1px solid color-mix(in srgb,var(--faction-color) 20%,transparent);border-radius:50%;box-shadow:0 0 0 34px color-mix(in srgb,var(--faction-color) 4%,transparent),0 0 0 68px color-mix(in srgb,var(--faction-color) 3%,transparent);pointer-events:none}.ccw-hub-identity h2{font-size:28px!important;letter-spacing:-.04em;margin:6px 0!important}.ccw-hub-identity h2 em{font-style:normal;color:var(--faction-color)}.ccw-hub-identity p{font-size:11px;color:#9fb1b9}.ccw-hub-badges span{border-color:rgba(144,202,222,.13)!important;background:rgba(255,255,255,.025)!important;font-size:10px!important}.ccw-hub-season{position:relative;z-index:2}.ccw-hub-season b{font-size:34px!important}.ccw-hub-nav{position:sticky;top:69px;z-index:35;margin:10px 0 14px;padding:5px;display:flex;gap:3px;overflow:auto;border:1px solid rgba(140,193,214,.10);border-radius:13px;background:rgba(5,12,18,.88);backdrop-filter:blur(15px)}.ccw-hub-nav button{border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#758c96!important;padding:8px 11px!important;font-size:10px!important;letter-spacing:.08em!important;white-space:nowrap}.ccw-hub-nav button:hover{background:rgba(255,255,255,.025)!important;color:#b9cbd2!important}.ccw-hub-nav button.is-active{background:rgba(119,209,233,.09)!important;border-color:rgba(119,209,233,.18)!important;color:#dcedf2!important}.ccw-hub-overview-grid,.ccw-hub-capital-grid{gap:10px!important}.ccw-hub-card{border-radius:14px!important;padding:15px!important}.ccw-hub-big{font-size:27px!important;letter-spacing:-.04em}.ccw-hub-card p{font-size:10px!important;line-height:1.5;color:#8298a2}.ccw-hub-needs-grid{gap:7px!important}.ccw-hub-need{border-radius:12px!important;border-color:rgba(144,201,221,.11)!important;background:linear-gradient(145deg,rgba(15,28,38,.92),rgba(7,16,23,.96))!important;transition:transform .14s,border-color .14s,background .14s}.ccw-hub-need:hover{transform:translateY(-2px);border-color:rgba(137,213,235,.24)!important}.ccw-hub-need b{font-size:10px!important}.ccw-hub-need small{font-size:10px!important;line-height:1.4}.ccw-hub-need em{font-size:10px!important}
/* Legacy procedural capital scene removed in v0.99.17; current Citadel uses Prestige Hall + Canvas World renders. */
.ccw-cosmetic-slot-grid,.ccw-collection-grid,.ccw-landmark-grid,.ccw-trophy-grid{gap:9px!important}.ccw-cosmetic-slot,.ccw-collection-item,.ccw-landmark-card,.ccw-trophy-card{border-radius:13px!important}.ccw-collection-item p,.ccw-landmark-card p{font-size:10px!important;line-height:1.45}.ccw-citizen-card{border-radius:10px!important}.ccw-chronicle-row p{font-size:10px!important}.ccw-chronicle-row b{font-size:10px!important}
.ccw-mission-modal{background:rgba(2,6,10,.80)!important;backdrop-filter:blur(12px)}.ccw-mission-frame{border:1px solid rgba(139,205,225,.18)!important;background:linear-gradient(155deg,#101d27,#071017)!important;border-radius:20px!important;box-shadow:0 35px 100px rgba(0,0,0,.52)!important}.ccw-wallet-panel h2,.ccw-mission-result h2{font-size:25px;letter-spacing:-.035em}.ccw-wallet-panel p,.ccw-mission-result p{font-size:10px;line-height:1.55;color:#89a0aa}.ccw-auth-grid .ccw-btn{min-height:50px}
.ccw-empty-state{display:grid;place-items:center;text-align:center;min-height:420px;padding:40px;border:1px dashed rgba(142,201,221,.15);border-radius:18px;background:radial-gradient(circle at 50% 35%,rgba(96,189,216,.08),transparent 35%)}.ccw-empty-state h2{font-size:27px;margin:0}.ccw-empty-state p{max-width:520px;font-size:11px}.ccw-order-clear,.ccw-command-empty{padding:12px;border:1px solid rgba(141,193,212,.08);border-radius:11px;background:rgba(255,255,255,.018)}.ccw-order-clear b,.ccw-command-empty b{font-size:10px}.ccw-order-clear span,.ccw-command-empty span{font-size:10px!important;line-height:1.45}
.ccw-footer-note{padding:12px 18px!important;border-top:1px solid rgba(140,192,212,.07);background:rgba(4,9,14,.62);font-size:10px!important;color:#546b75!important}
@keyframes ccwSpin{to{transform:rotate(360deg)}}@keyframes ccwPulse{50%{opacity:.3;transform:scale(.7)}}@keyframes ccwToastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(max-width:1250px){.ccw-game-hud{grid-template-columns:auto 1fr}.ccw-hud-right{grid-column:1/-1;justify-content:space-between;padding-top:7px;border-top:1px solid rgba(142,193,212,.07)}.ccw-tabs{justify-content:flex-end}.ccw-layout{grid-template-columns:minmax(0,1fr) 310px}.ccw-map-viewport{min-height:580px}.ccw-hub-nav{top:111px}}
@media(max-width:900px){.ccw-game-hud{position:sticky;grid-template-columns:1fr auto;padding:9px 10px}.ccw-brand-lockup>div>span{display:none}.ccw-tabs{position:fixed;z-index:120;left:8px;right:8px;bottom:8px;justify-content:space-around;padding:5px;background:rgba(5,12,18,.94);border-color:rgba(142,202,222,.16);box-shadow:0 16px 55px rgba(0,0,0,.45);backdrop-filter:blur(18px)}.ccw-tab{flex:1;padding:7px 5px!important;display:grid!important;gap:1px!important;font-size:10px!important}.ccw-tab>span{font-size:13px}.ccw-hud-right{grid-column:auto;border:0;padding:0}.ccw-sync-status{display:none}.ccw-player>span:not(.ccw-hud-level):not(.ccw-name),.ccw-player .ccw-name{display:none}.ccw-layout{grid-template-columns:1fr;padding:8px 8px 76px}.ccw-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));order:2}.ccw-secondary-panel{display:none}.ccw-wide-panel{min-height:500px;padding:12px!important}.ccw-map-viewport{height:66vh;min-height:500px}.ccw-hub-nav{top:56px}.ccw-hub-overview-grid,.ccw-hub-capital-grid{grid-template-columns:1fr!important}}
@media(max-width:600px){.ccw-brand-mark{width:30px;height:30px}.ccw-brand-lockup strong{font-size:13px}.ccw-wallet-chip{min-width:72px}.ccw-player .ccw-hud-level{font-size:10px!important}.ccw-sidebar{grid-template-columns:1fr}.ccw-map-viewport{height:63vh;min-height:430px}.ccw-world-overlay-left{max-width:56%;padding:8px!important}.ccw-world-overlay strong{font-size:11px!important}.ccw-map-tools{top:10px!important;right:8px!important;display:grid!important;grid-template-columns:repeat(2,32px)!important}.ccw-map-tool-wide{display:none!important}.ccw-world-bottombar{padding:8px!important}.ccw-terrain-key{display:none!important}.ccw-command-button{margin-left:auto}.ccw-hub-hero{padding:14px}.ccw-hub-identity h2{font-size:21px!important}.ccw-hub-season b{font-size:26px!important}.ccw-hub-badges{gap:4px!important}.ccw-hub-nav{margin-left:-4px;margin-right:-4px}.ccw-hub-nav button{padding:7px 9px!important}.ccw-form-grid{grid-template-columns:1fr!important}.ccw-span-2{grid-column:auto!important}.ccw-message{right:10px;top:60px;width:calc(100vw - 20px)}.ccw-rank-row{min-width:580px}.ccw-vote-controls{grid-template-columns:64px 1fr!important}.ccw-vote-controls small{grid-column:1/-1!important}.ccw-vote-controls .ccw-btn{grid-column:auto!important}}
@media(prefers-reduced-motion:reduce){.ccw-shell *{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}


/* v0.29.1 - standalone game page + capital scene refinement */
html:has(body.ccw-standalone-page){margin-top:0!important;background:#05090d!important}
body.ccw-standalone-page{margin:0!important;padding:0!important;min-width:320px;min-height:100dvh;background:#05090d!important;color:#e9f2f5;overflow-x:hidden!important}
body.ccw-standalone-page #wpadminbar{display:none!important}
body.ccw-standalone-page #ccw-standalone-root{display:block;width:100vw;min-height:100dvh;margin:0!important;padding:0!important;background:#05090d;overflow-x:hidden}
body.ccw-standalone-page #ccw-standalone-root>p:empty{display:none!important}
body.ccw-standalone-page .ccw-shell{width:100vw!important;max-width:none!important;min-height:100dvh!important;margin:0!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.ccw-standalone-page .ccw-game-hud{border-radius:0!important}
body.ccw-standalone-page .ccw-layout{min-height:calc(100dvh - 62px)}

/* v0.29 capital-scene refinement retired in v0.99.17. */
@media(max-width:900px){body.ccw-standalone-page .ccw-layout{min-height:100dvh}}


/* v0.29.2 - viewport centering + scroll safety
   The v0.8 full-bleed rules have higher selector specificity than parts of the
   premium layer. These overrides intentionally bind to the standalone game page
   so the app fits the visual viewport without clipping either edge. */
html:has(body.ccw-standalone-page){
  width:100%;max-width:100%;min-height:100%;overflow-x:clip!important;overflow-y:auto!important;
}
body.ccw-standalone-page{
  width:100%!important;max-width:100%!important;min-height:100dvh!important;
  margin:0!important;padding:0!important;overflow-x:clip!important;overflow-y:auto!important;
}
body.ccw-standalone-page #ccw-standalone-root{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:100dvh!important;margin:0 auto!important;padding:0!important;
  overflow-x:clip!important;overflow-y:visible!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08{
  position:relative!important;left:auto!important;right:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;min-height:100dvh!important;
  margin:0 auto!important;padding:0!important;transform:none!important;
  overflow-x:clip!important;overflow-y:visible!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:62px!important;
  grid-template-columns:minmax(180px,.72fr) minmax(0,1.2fr) minmax(300px,.95fr)!important;
  gap:10px!important;padding:8px 12px!important;align-items:center!important;
  position:sticky!important;top:0!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup{
  min-width:0!important;padding:0 8px!important;border-right:0!important;
  flex-direction:row!important;align-items:center!important;gap:10px!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup>div{min-width:0!important}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tabs{
  width:100%!important;max-width:100%!important;min-width:0!important;
  justify-content:center!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:none!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tabs::-webkit-scrollbar{display:none!important}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tab{
  flex:0 1 auto!important;min-width:max-content!important;padding:8px 10px!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-right{
  width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player{
  width:auto!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;
  display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end!important;border-left:0!important;
  scrollbar-width:none!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player::-webkit-scrollbar{display:none!important}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player>span{
  flex:0 0 auto!important;height:auto!important;min-width:0!important;padding:5px 7px!important;
  border-right:0!important;border-left:0!important;border-radius:8px!important;
  align-items:flex-start!important;justify-content:center!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player .ccw-name{min-width:0!important;max-width:96px!important;padding-inline:6px!important}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-wallet-chip{
  flex:0 0 auto!important;height:auto!important;min-width:82px!important;max-width:112px!important;padding:6px 8px!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-layout,
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-main,
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-wide-panel{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08[data-active-view]:not([data-active-view="world"]) .ccw-layout{
  display:block!important;padding:12px!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08[data-active-view]:not([data-active-view="world"]) .ccw-main{
  width:100%!important;max-width:100%!important;margin:0 auto!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-civ-hub{
  width:min(1480px,100%)!important;max-width:100%!important;min-width:0!important;margin-inline:auto!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-wide-panel{
  overflow-x:auto!important;overflow-y:visible!important;
}

@media(max-width:1450px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{
    grid-template-columns:minmax(165px,.62fr) minmax(0,1.22fr) minmax(250px,.8fr)!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player .ccw-hud-reward,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player .ccw-name{display:none!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tab{padding-inline:8px!important;font-size:10px!important}
}
@media(max-width:1180px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{
    grid-template-columns:minmax(150px,.55fr) minmax(0,1fr) minmax(215px,.72fr)!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player .ccw-hud-energy{display:none!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup>div>span{display:none!important}
}
@media(max-width:900px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:8px 10px!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tabs{
    position:fixed!important;left:8px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:none!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-right{width:auto!important;overflow:visible!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player{overflow:visible!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player .ccw-hud-votes{display:none!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08[data-active-view]:not([data-active-view="world"]) .ccw-layout{padding:8px 8px 76px!important}
}


/* v0.29.3 - stable premium map controls */
.ccw-map-tools{z-index:60!important;pointer-events:auto!important;isolation:isolate}
.ccw-map-tools .ccw-map-tool{pointer-events:auto!important;touch-action:manipulation;position:relative;z-index:61}
.ccw-map-tools .ccw-map-tool:active{transform:translateY(0) scale(.97)!important}
#ccw-map-card:fullscreen .ccw-map-tools,#ccw-map-card:-webkit-full-screen .ccw-map-tools{z-index:100!important}


/* v0.29.5 - faction supplies / economy visibility */
.ccw-faction-supplies,.ccw-faction-economy{margin:14px 0;border:1px solid rgba(145,201,222,.12);border-radius:15px;background:linear-gradient(145deg,rgba(13,27,37,.94),rgba(6,15,22,.96));padding:15px;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.ccw-supply-head{display:flex;align-items:end;justify-content:space-between;gap:12px}.ccw-supply-head .ccw-btn{flex:0 0 auto}
.ccw-supply-grid{display:grid;grid-template-columns:1.25fr repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.ccw-supply-card{min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:11px;border:1px solid rgba(144,202,222,.10);border-radius:12px;background:rgba(255,255,255,.018)}.ccw-supply-card.is-treasury{background:linear-gradient(140deg,rgba(118,209,232,.08),rgba(255,255,255,.015));border-color:rgba(118,209,232,.16)}
.ccw-supply-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(132,205,228,.16);background:rgba(111,206,233,.06);font:850 10px ui-monospace,monospace;color:#bde9f4}.ccw-supply-copy{min-width:0}.ccw-supply-copy>span{display:block;font:800 10px ui-monospace,monospace;letter-spacing:.13em;color:#688591}.ccw-supply-copy>b{display:block;margin:2px 0;font:850 18px ui-monospace,monospace;letter-spacing:-.04em;color:#e0eff3}.ccw-supply-copy>small{display:block;font:700 10px ui-monospace,monospace;color:#6f909c;white-space:normal}.ccw-supply-copy>em{display:block;margin-top:4px;font:600 10px ui-monospace,monospace;font-style:normal;color:#58727e}
.ccw-supply-foot{display:flex;justify-content:space-between;gap:12px;margin-top:10px;padding-top:9px;border-top:1px solid rgba(144,202,222,.07);font:650 10px ui-monospace,monospace;color:#607d89}.ccw-supply-foot b{color:#9bb8c2;white-space:nowrap}
.ccw-supply-grid.is-detailed{margin-bottom:14px}.ccw-faction-economy>.ccw-muted{max-width:900px;margin:3px 0 0}
.ccw-economy-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.5fr);gap:12px;padding-top:13px;border-top:1px solid rgba(144,202,222,.08)}.ccw-economy-project{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;padding:9px 0;border-bottom:1px solid rgba(144,202,222,.07)}.ccw-economy-project>span{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(119,209,233,.07);border:1px solid rgba(119,209,233,.12);font:850 10px ui-monospace,monospace;color:#b7e1eb}.ccw-economy-project b{display:block;font-size:10px;color:#dcecef}.ccw-economy-project small,.ccw-economy-project em{display:block;margin-top:2px;font:650 10px ui-monospace,monospace;color:#617e8a;font-style:normal}.ccw-economy-project em{color:#7696a1}.ccw-economy-production{border:1px solid rgba(145,201,222,.09);border-radius:12px;padding:12px;background:rgba(255,255,255,.015)}.ccw-economy-production>div{padding:10px 0;border-bottom:1px solid rgba(145,201,222,.07)}.ccw-economy-production>div b{display:block;font:850 20px ui-monospace,monospace;color:#dff0f4}.ccw-economy-production>div small{font-size:10px;color:#68848f}.ccw-economy-production p{font-size:10px;line-height:1.5;color:#67818c;margin:10px 0 0}
@media(max-width:1050px){.ccw-supply-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ccw-economy-split{grid-template-columns:1fr}}
@media(max-width:650px){.ccw-supply-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-supply-card.is-treasury{grid-column:1/-1}.ccw-supply-head,.ccw-supply-foot{align-items:flex-start;flex-direction:column}.ccw-supply-copy>b{font-size:16px}}

/* v0.31 legacy World #1 / permanent World Seat beacons */
.ccw-genesis-banner{border-color:rgba(93,211,236,.28);background:linear-gradient(135deg,rgba(8,27,38,.95),rgba(12,18,31,.96));}
.ccw-genesis-hero{background:radial-gradient(circle at 80% 20%,rgba(75,201,232,.13),transparent 34%),linear-gradient(135deg,rgba(8,24,34,.98),rgba(8,12,23,.98));}
.ccw-genesis-rules{border-color:rgba(100,204,230,.2);}
.ccw-genesis-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px;}
.ccw-genesis-progress>div{padding:14px 16px;border:1px solid rgba(153,206,229,.13);background:rgba(4,12,19,.72);border-radius:14px;display:flex;flex-direction:column;gap:4px;}
.ccw-genesis-progress span{font-size:10px;letter-spacing:.14em;color:rgba(204,225,236,.62);font-weight:800;}
.ccw-genesis-progress b{font-size:22px;color:#eef9ff;}
.ccw-genesis-list .ccw-rank-row{grid-template-columns:60px minmax(220px,1.5fr) minmax(110px,.55fr) minmax(150px,.72fr) minmax(120px,.55fr);}
.ccw-genesis-list .ccw-btn{min-width:105px;}
@media(max-width:900px){.ccw-genesis-progress{grid-template-columns:1fr}.ccw-genesis-list .ccw-rank-row{grid-template-columns:42px minmax(150px,1fr) 100px}.ccw-genesis-list .ccw-rank-row>span:nth-child(4){display:none}.ccw-genesis-list .ccw-rank-row>span:nth-child(5){grid-column:2/4}}


/* v0.34 · World Pulse / live-war presentation */
.ccw-world-alert{position:absolute;top:18px;right:18px;z-index:8;width:min(330px,38%);display:grid;gap:5px;padding:12px 14px;border:1px solid rgba(255,116,96,.55);border-radius:12px;background:linear-gradient(145deg,rgba(37,12,20,.94),rgba(12,20,35,.92));box-shadow:0 14px 35px rgba(0,0,0,.32),0 0 26px rgba(255,77,92,.12);backdrop-filter:blur(8px)}
.ccw-world-alert[hidden]{display:none}
.ccw-world-alert[data-severity="event"]{border-color:rgba(255,216,107,.52);background:linear-gradient(145deg,rgba(46,38,13,.92),rgba(11,22,34,.92))}
.ccw-world-alert>span{font-size:10px;letter-spacing:.18em;font-weight:900;color:#ff9c9c}
.ccw-world-alert[data-severity="event"]>span{color:#ffe08a}
.ccw-world-alert>strong{font-size:14px;letter-spacing:.03em;color:#fff}
.ccw-world-alert>small{font-size:10px;line-height:1.45;color:#c9d5e3}
.ccw-world-alert>b{font-size:17px;color:#fff;margin-top:2px}
.ccw-alert-action{justify-self:start;border:0;background:none;color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em;padding:2px 0;cursor:pointer}

.ccw-world-pulse{border-top:1px solid var(--ccw-line);background:linear-gradient(180deg,rgba(10,18,33,.98),rgba(7,13,25,.98));padding:16px}
.ccw-pulse-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:13px}
.ccw-pulse-head h2{font-size:18px;margin:3px 0 2px;color:#f5f9ff}
.ccw-pulse-head p{margin:0;color:var(--ccw-muted);font-size:10px}
.ccw-pulse-personal{display:grid;gap:3px;padding:8px 11px;border:1px solid #2d4667;border-radius:10px;background:#0d1a2d;text-align:right}
.ccw-pulse-personal.is-danger{border-color:#8d364a;background:#27131c}
.ccw-pulse-personal span{font-size:10px;color:var(--ccw-muted);font-weight:900;letter-spacing:.12em}
.ccw-pulse-personal b{font-size:10px;color:#fff}
.ccw-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.ccw-pulse-card{min-height:118px;display:flex;flex-direction:column;gap:5px;padding:11px;border:1px solid #293a57;border-radius:11px;background:linear-gradient(145deg,#101d31,#0b1425)}
.ccw-pulse-card>span{font-size:10px;letter-spacing:.14em;font-weight:900;color:#8ca6c2}
.ccw-pulse-card h3{font-size:13px;margin:0;color:#fff}
.ccw-pulse-card h3 i{font-style:normal;font-size:10px;color:#ff8a91;margin:0 3px}
.ccw-pulse-card p{font-size:10px;line-height:1.45;color:#b6c4d4;margin:0}
.ccw-pulse-card p b{color:#fff}
.ccw-pulse-card>b{font-size:10px;color:#f4f7fb}
.ccw-pulse-card>em{font-style:normal;font-size:10px;color:#748da9;margin-top:auto}
.ccw-pulse-card.is-event{border-color:#6d5b26;box-shadow:inset 0 0 22px rgba(255,216,107,.035)}
.ccw-pulse-card.is-event>span,.ccw-pulse-card.is-event>b{color:#ffe18a}
.ccw-pulse-card.is-rivalry{border-color:#633344}
.ccw-pulse-card.is-rivalry>span{color:#ff9aa8}
.ccw-pulse-card.is-comeback{border-color:#315c59}
.ccw-pulse-card.is-comeback>span{color:#7be1cf}
.ccw-pulse-card.is-mvp{border-color:#4d456b}
.ccw-pulse-card.is-mvp>span{color:#c4b2ff}
.ccw-pulse-feed{margin-top:14px;border-top:1px solid rgba(75,99,132,.45);padding-top:12px}
.ccw-pulse-feed .ccw-section-head{margin-bottom:7px}
.ccw-pulse-feed-row{width:100%;display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;border:0;border-bottom:1px solid rgba(61,82,111,.35);background:transparent;color:#fff;padding:8px 4px;cursor:pointer}
.ccw-pulse-feed-row:hover{background:rgba(80,120,165,.06)}
.ccw-pulse-feed-row>i{width:6px;height:6px;border-radius:50%;background:#7c9bbd;box-shadow:0 0 8px rgba(124,155,189,.5)}
.ccw-pulse-feed-row>i.is-critical{background:#ff596d;box-shadow:0 0 10px rgba(255,89,109,.72)}
.ccw-pulse-feed-row>i.is-battle{background:#ff9b68}
.ccw-pulse-feed-row span{display:grid;gap:2px}
.ccw-pulse-feed-row b{font-size:10px;letter-spacing:.04em}
.ccw-pulse-feed-row small,.ccw-pulse-feed-row time{font-size:10px;color:#7f94ad}
.ccw-pulse-feed-row time{white-space:nowrap}

.ccw-war-card{position:relative;overflow:hidden}
.ccw-war-card.is-siege{border-color:#814052;box-shadow:0 0 24px rgba(255,70,91,.08)}
.ccw-war-card.is-close{border-color:#805842}
.ccw-war-card.is-last-push:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,93,82,.045),transparent);animation:ccw-war-scan 2.2s linear infinite}
@keyframes ccw-war-scan{0%{transform:translateX(-60%)}100%{transform:translateX(60%)}}
.ccw-war-breaking{display:flex;align-items:center;gap:8px;margin:-2px 0 11px;padding-bottom:8px;border-bottom:1px solid rgba(70,93,126,.5)}
.ccw-war-breaking span{font-size:10px;font-weight:900;letter-spacing:.13em;color:#ff8d93}
.ccw-war-breaking b{font-size:10px;color:#fff}
.ccw-war-breaking time{margin-left:auto;font-size:11px;font-weight:900;color:#ffd8da}
.ccw-war-stakes{display:flex;align-items:center;gap:7px;margin:10px 0 7px}
.ccw-war-stakes span{font-size:10px;font-weight:900;letter-spacing:.11em;color:#ffb8c3}
.ccw-war-stakes b{font-size:10px;color:#91a9c4}
.ccw-war-stakes em{margin-left:auto;font-style:normal;font-size:10px;font-weight:900;color:#ffcf8c}
.ccw-war-meter{position:relative;height:15px}
.ccw-war-meter i{position:absolute;top:-3px;bottom:-3px;width:1px;background:#fff;box-shadow:0 0 7px #fff;opacity:.8}
.ccw-war-score small{font-size:10px;color:#7e94af}
.ccw-war-narrative{margin:8px 0 5px;padding:7px 9px;border-left:2px solid #425d84;background:rgba(30,50,78,.38);font-size:10px;color:#aebdd0}
.ccw-war-narrative b{color:#fff}
.ccw-war-detail{font-size:10px;line-height:1.45;color:#7187a1}

@media(max-width:1050px){
  .ccw-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ccw-world-alert{width:min(360px,52%)}
}
@media(max-width:700px){
  .ccw-world-alert{top:10px;right:10px;left:10px;width:auto}
  .ccw-pulse-head{align-items:flex-start;flex-direction:column}
  .ccw-pulse-personal{text-align:left}
  .ccw-pulse-grid{grid-template-columns:1fr}
  .ccw-war-breaking{flex-wrap:wrap}
  .ccw-war-breaking time{margin-left:0;width:100%}
}


/* v0.35.2 · map overlay interaction + alert placement fixes */
.ccw-v08 .ccw-map-tools{
  z-index:20!important;
  pointer-events:auto!important;
}
.ccw-v08 .ccw-map-tools button,
.ccw-v08 .ccw-world-alert button,
.ccw-v08 .ccw-world-bottombar button{
  pointer-events:auto!important;
  touch-action:manipulation;
}
.ccw-v08 .ccw-world-alert{
  top:68px!important;
  right:20px!important;
  z-index:18!important;
  max-height:calc(100% - 150px);
  overflow:auto;
}
@media(max-width:700px){
  .ccw-v08 .ccw-world-alert{
    top:58px!important;
    right:10px!important;
    left:10px!important;
    width:auto!important;
    max-height:42%;
  }
}


/* v0.36.0 · unified globe mouse/touch interaction */
.ccw-v08 .ccw-map-viewport{cursor:grab}
.ccw-v08 .ccw-map-viewport.is-dragging{cursor:grabbing!important}
.ccw-map-hover{
  position:absolute;z-index:66;pointer-events:none;min-width:180px;max-width:290px;padding:8px 10px;
  border:1px solid rgba(129,196,222,.28);background:rgba(3,10,15,.91);backdrop-filter:blur(10px);
  box-shadow:0 10px 28px rgba(0,0,0,.32);color:#e9f7ff;border-radius:7px
}
.ccw-map-hover[hidden],.ccw-map-context[hidden]{display:none!important}
.ccw-map-hover b{display:block;font-size:10px;letter-spacing:.09em;color:#eaf8ff}
.ccw-map-hover small{display:block;margin-top:3px;font-size:10px;line-height:1.35;color:#819aa9}
.ccw-map-context{
  position:absolute;z-index:80;width:min(330px,calc(100% - 16px));max-height:min(520px,calc(100% - 16px));overflow:auto;
  border:1px solid rgba(132,192,216,.24);background:linear-gradient(160deg,rgba(5,14,20,.98),rgba(6,12,18,.96));
  box-shadow:0 20px 50px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.015) inset;backdrop-filter:blur(15px);border-radius:10px;color:#edf8fd;
  user-select:text;cursor:default
}
.ccw-map-context>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid rgba(133,188,211,.14);background:rgba(5,13,19,.97)}
.ccw-map-context>header div{display:grid;gap:3px}.ccw-map-context>header span,.ccw-map-context section>span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#6f91a3}.ccw-map-context>header b{font-size:10px;letter-spacing:.04em}
.ccw-map-context>header button{appearance:none;border:0;background:transparent;color:#7994a2;font-size:20px;line-height:1;cursor:pointer;padding:2px 5px}.ccw-map-context>header button:hover{color:#fff}
.ccw-map-context section{padding:10px 12px;border-bottom:1px solid rgba(119,171,193,.10)}
.ccw-map-context section.is-hot{background:linear-gradient(90deg,rgba(102,27,37,.18),transparent)}
.ccw-map-context h4{margin:4px 0 3px;font-size:11px;color:#f5fbff}.ccw-map-context p{margin:0 0 8px;font-size:10px;line-height:1.45;color:#8fa5b2}
.ccw-map-context .ccw-context-stats{display:flex;gap:5px;flex-wrap:wrap}.ccw-map-context .ccw-context-stats b{font-size:10px;color:#b9cfda;border:1px solid rgba(128,184,207,.14);padding:3px 5px;background:rgba(90,139,160,.05)}
.ccw-map-context footer{display:flex;gap:6px;padding:10px 12px;background:rgba(2,8,12,.5)}.ccw-map-context footer .ccw-btn{flex:1}

.ccw-map-context>header.is-genesis-core{background:linear-gradient(90deg,rgba(73,55,13,.42),rgba(5,13,19,.97) 46%)}
.ccw-map-hover .ccw-hover-owner.is-core strong{color:#ffe7a1}
.ccw-context-core-hero{background:linear-gradient(180deg,rgba(255,216,107,.08),rgba(255,216,107,.02) 54%,transparent)}
.ccw-context-core-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}
.ccw-context-core-strip b,.ccw-context-core-strip small{display:block;text-align:center}
.ccw-context-core-strip b{padding:8px 5px 2px;border:1px solid rgba(255,216,107,.16);border-bottom:0;background:rgba(255,216,107,.055);font-size:10px;color:#fff0c0}
.ccw-context-core-strip small{padding:0 5px 8px;border:1px solid rgba(255,216,107,.16);border-top:0;background:rgba(255,216,107,.03);font-size:10px;letter-spacing:.14em;color:#9eb5bf}
.ccw-context-core-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.ccw-context-core-grid article{padding:8px;border:1px solid rgba(141,197,221,.12);background:rgba(84,128,148,.045);border-radius:8px;display:grid;gap:3px}
.ccw-context-core-grid b{font-size:10px;color:#f3f8fd}.ccw-context-core-grid small{font-size:10px;letter-spacing:.14em;color:#6f91a3}.ccw-context-core-grid em{font-style:normal;font-size:10px;color:#8ea7b4}
.ccw-context-core-note{margin-top:10px!important;padding:10px 12px;border-left:3px solid rgba(255,216,107,.6);background:rgba(255,216,107,.05);border-radius:8px;color:#c8d6dc!important}
@media(max-width:700px){.ccw-context-core-strip{grid-template-columns:repeat(2,minmax(0,1fr));}}
.ccw-war-card.is-map-focus{animation:ccw-map-war-focus 1.25s ease-out}
@keyframes ccw-map-war-focus{0%{box-shadow:0 0 0 2px rgba(255,206,105,.9),0 0 34px rgba(255,118,92,.38)}100%{box-shadow:0 0 0 0 rgba(255,206,105,0),0 0 0 rgba(255,118,92,0)}}
.ccw-v08 .ccw-map-help{max-width:calc(100% - 44px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){
  .ccw-map-hover{display:none!important}
  .ccw-map-context{width:min(320px,calc(100% - 20px));max-height:62%;}
  .ccw-v08 .ccw-map-help{font-size:10px!important;letter-spacing:.06em!important;max-width:72%}
}

.ccw-map-context .ccw-context-participants{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:7px 0 9px}
.ccw-map-context .ccw-context-participants>div{display:grid;gap:2px;padding:7px;border:1px solid rgba(132,188,212,.12);background:rgba(86,133,154,.045)}
.ccw-map-context .ccw-context-participants small{font-size:10px;letter-spacing:.13em;color:#708d9c}.ccw-map-context .ccw-context-participants b{font-size:10px}.ccw-map-context .ccw-context-participants em{font-style:normal;font-size:10px;color:#7f98a6}
.ccw-proposal.is-map-focus{animation:ccw-map-war-focus 1.25s ease-out}

/* v0.37.0 · PLANET OVERHAUL - physical geography + geopolitical readability */
.ccw-v08 .ccw-map-viewport{
  background:
    radial-gradient(circle at 50% 43%,rgba(52,122,161,.18),transparent 40%),
    radial-gradient(circle at 18% 14%,rgba(255,255,255,.78) 0 1px,transparent 1.25px),
    radial-gradient(circle at 76% 21%,rgba(183,221,255,.58) 0 1px,transparent 1.2px),
    radial-gradient(circle at 87% 68%,rgba(255,255,255,.40) 0 1px,transparent 1.2px),
    radial-gradient(circle at 27% 81%,rgba(171,218,255,.34) 0 1px,transparent 1.2px),
    radial-gradient(circle at 61% 61%,rgba(34,104,92,.08),transparent 26%),
    linear-gradient(180deg,#02070c,#06131d 54%,#02070b)!important;
  background-size:auto,170px 170px,245px 245px,315px 315px,225px 225px,auto,auto!important;
}
.ccw-v08 .ccw-map-viewport::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:radial-gradient(ellipse at center,transparent 42%,rgba(0,4,8,.10) 68%,rgba(0,3,7,.34) 100%);
  mix-blend-mode:multiply;
}
.ccw-v08 .ccw-globe-canvas{
  z-index:2;
  filter:saturate(1.13) contrast(1.055) drop-shadow(0 30px 46px rgba(0,0,0,.52));
}
.ccw-v08 .ccw-world-overlay,.ccw-v08 .ccw-map-tools,.ccw-v08 .ccw-world-alert,.ccw-v08 .ccw-world-bottombar,.ccw-v08 .ccw-map-help,.ccw-map-hover,.ccw-map-context{z-index:10}
.ccw-v08 .ccw-map-help{border-color:rgba(151,215,232,.12)!important;background:rgba(2,8,12,.70)!important;box-shadow:0 8px 25px rgba(0,0,0,.22)}
.ccw-v08 .ccw-world-overlay{background:linear-gradient(145deg,rgba(4,12,17,.74),rgba(6,17,24,.58))!important}
.ccw-v08 .ccw-world-bottombar{background:linear-gradient(180deg,rgba(2,7,10,0),rgba(2,8,12,.82))!important}
@media(max-width:700px){
  .ccw-v08 .ccw-globe-canvas{filter:saturate(1.09) contrast(1.04) drop-shadow(0 22px 34px rgba(0,0,0,.48))}
}

/* v0.38.0 · Living World map modes, regions and strategic geography */
.ccw-v08 .ccw-map-modes{
  position:absolute;z-index:22;left:22px;bottom:68px;display:flex;align-items:center;gap:2px;
  padding:4px;border:1px solid rgba(126,190,215,.16);background:rgba(3,9,14,.76);backdrop-filter:blur(12px);
  box-shadow:0 10px 30px rgba(0,0,0,.24);pointer-events:auto
}
.ccw-v08 .ccw-map-modes>span{display:none;color:#7894a3;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;padding:0 6px}
.ccw-v08 .ccw-map-modes button{appearance:none;border:0;border-left:1px solid rgba(137,194,215,.08);background:transparent;color:#6f8998;padding:7px 9px;font:800 10px/1 ui-sans-serif,system-ui;letter-spacing:.11em;cursor:pointer;pointer-events:auto;touch-action:manipulation}
.ccw-v08 .ccw-map-modes button:first-of-type{border-left:0}
.ccw-v08 .ccw-map-modes button:hover{color:#eaf8fc;background:rgba(98,192,226,.07)}
.ccw-v08 .ccw-map-modes button.is-active{color:#92e1f6;background:rgba(91,193,225,.12);box-shadow:inset 0 -1px 0 rgba(110,216,245,.45)}
.ccw-v08 .ccw-map-modes button:active{transform:scale(.97)}
.ccw-v08 .ccw-map-context-terrain p{line-height:1.55}
@media(max-width:900px){
  .ccw-v08 .ccw-map-modes{left:12px;bottom:62px;max-width:calc(100% - 24px);overflow-x:auto;scrollbar-width:none}
  .ccw-v08 .ccw-map-modes::-webkit-scrollbar{display:none}
}
@media(max-width:600px){
  .ccw-v08 .ccw-map-modes{bottom:58px;right:12px}
  .ccw-v08 .ccw-map-modes button{padding:7px 8px;font-size:10px;white-space:nowrap}
}


/* v0.39 token identity & one-address launch */
.ccw-token-launch{margin:16px 0 22px;padding:18px;border:1px solid rgba(120,203,228,.16);border-radius:18px;background:linear-gradient(145deg,rgba(10,20,29,.94),rgba(7,14,21,.96));box-shadow:inset 0 1px rgba(255,255,255,.025)}
.ccw-token-address-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.ccw-token-address-row label{display:grid;gap:6px;font-size:10px;letter-spacing:.05em;color:#91a8b2}.ccw-token-address-row input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.ccw-token-lookup-empty{margin:14px 0;display:flex;gap:12px;align-items:center;padding:15px;border:1px dashed rgba(139,203,222,.16);border-radius:14px;color:#8ba1aa}.ccw-token-lookup-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0d202b;color:#9de5f2;font-weight:900}.ccw-token-lookup-empty b,.ccw-token-lookup-empty small{display:block}.ccw-token-lookup-empty small{margin-top:3px;font-size:10px;color:#69828d}
.ccw-token-preview{margin:14px 0;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(170px,260px);gap:14px;align-items:center;padding:15px;border:1px solid rgba(105,224,169,.22);border-radius:16px;background:linear-gradient(120deg,rgba(32,93,74,.10),rgba(8,17,25,.70))}
.ccw-token-logo{width:36px;height:36px;display:inline-grid;place-items:center;object-fit:cover;border-radius:50%;border:1px solid rgba(211,239,247,.28);background:#071019;vertical-align:middle;flex:0 0 auto}.ccw-token-logo.is-large{width:64px;height:64px;box-shadow:0 0 24px rgba(104,224,191,.10)}.ccw-token-logo-fallback{font-size:10px;font-weight:900;color:#dff6fb}.ccw-token-logo-fallback.is-large{font-size:17px}
.ccw-token-preview-main h3{margin:4px 0 2px;font-size:20px}.ccw-token-preview-main h3 em{font-style:normal;color:#7ee1b4}.ccw-token-preview-main>small{display:block;overflow-wrap:anywhere;color:#7d949f;font:700 10px ui-monospace,monospace}
.ccw-token-links{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.ccw-token-links a,.ccw-token-links span{padding:5px 7px;border:1px solid rgba(134,204,224,.14);border-radius:999px;color:#9bd9e8;font-size:10px;font-weight:900;letter-spacing:.08em;text-decoration:none}.ccw-token-links span{color:#657d88}
.ccw-token-chain-choice{display:grid;gap:4px;margin-top:9px;max-width:260px;font-size:10px;color:#79909b}.ccw-token-chain-choice select{min-height:34px!important;padding:5px 8px!important}
.ccw-token-lock{display:grid;gap:3px;padding:11px;border-left:1px solid rgba(117,218,180,.17);color:#8fe0b9}.ccw-token-lock>b{font-size:10px;letter-spacing:.11em}.ccw-token-lock small{font-size:10px;line-height:1.45;color:#718b82}
.ccw-token-launch-cta{width:100%;margin-top:2px}
.ccw-launch-identity,.ccw-faction-card-id{display:flex;gap:10px;align-items:center}.ccw-launch-identity>div,.ccw-faction-card-id>div{min-width:0}.ccw-faction-card-id b,.ccw-faction-card-id span{display:block}
@media(max-width:700px){.ccw-token-address-row{grid-template-columns:1fr}.ccw-token-preview{grid-template-columns:auto 1fr}.ccw-token-lock{grid-column:1/-1;border-left:0;border-top:1px solid rgba(117,218,180,.17);padding-left:0;padding-top:10px}.ccw-token-logo.is-large{width:52px;height:52px}}

/* v0.40 token identity polish & duplicate protection */
.ccw-token-statusline{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:5px}.ccw-token-statusline>span:not(.ccw-token-linked-badge){padding:4px 6px;border:1px solid rgba(135,192,210,.12);border-radius:999px;color:#6f8b96;font:800 10px ui-monospace,monospace;letter-spacing:.08em}.ccw-token-linked-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border:1px solid rgba(92,224,163,.28);border-radius:999px;background:rgba(49,166,116,.10);color:#8ce5b8;font:900 10px ui-monospace,monospace;letter-spacing:.08em}.ccw-token-coverage{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.ccw-token-coverage span{padding:4px 6px;border-radius:7px;font:800 10px ui-monospace,monospace;letter-spacing:.07em}.ccw-token-coverage .is-found{border:1px solid rgba(94,214,163,.18);background:rgba(48,154,111,.08);color:#88dcae}.ccw-token-coverage .is-missing{border:1px solid rgba(149,176,188,.10);background:rgba(255,255,255,.02);color:#5d747e}.ccw-token-preview.has-conflict{border-color:rgba(239,181,87,.27);background:linear-gradient(120deg,rgba(126,79,23,.11),rgba(8,17,25,.72))}.ccw-token-conflict{margin:-2px 0 12px;padding:12px 14px;border:1px solid rgba(243,179,74,.23);border-radius:13px;background:rgba(123,75,17,.10);display:grid;gap:4px}.ccw-token-conflict b{color:#f2c77f;font-size:10px;letter-spacing:.1em}.ccw-token-conflict span{color:#a99375;font-size:10px;line-height:1.45}.ccw-token-conflict small{color:#796b58;font:700 10px ui-monospace,monospace}.ccw-token-disclaimer{margin:-3px 0 12px;padding:8px 10px;border-left:2px solid rgba(119,192,214,.24);color:#708993;font-size:10px;line-height:1.5}.ccw-token-disclaimer b{color:#9bb7c1}.ccw-launch-card.is-identity-match{animation:ccwIdentityMatch 1.8s ease;border-color:rgba(101,226,168,.42)!important;box-shadow:0 0 0 1px rgba(101,226,168,.13),0 0 30px rgba(78,203,147,.10)!important}@keyframes ccwIdentityMatch{0%,100%{transform:translateY(0)}20%{transform:translateY(-3px)}40%{transform:translateY(0)}}
.ccw-hub-brand{display:flex;align-items:center;gap:13px;position:relative;z-index:2;min-width:0}.ccw-token-logo.is-hub{width:62px;height:62px;border-width:2px;box-shadow:0 0 0 5px rgba(255,255,255,.025),0 12px 28px rgba(0,0,0,.22)}.ccw-hub-badges .is-token-linked{border-color:rgba(92,224,163,.23)!important;background:rgba(49,166,116,.08)!important;color:#8ce5b8!important}.ccw-token-profile{margin-bottom:10px;padding:15px;border:1px solid rgba(104,214,173,.18);border-radius:15px;background:linear-gradient(135deg,rgba(27,87,67,.09),rgba(7,16,23,.94));display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(260px,.9fr);gap:12px 18px;align-items:center}.ccw-token-profile-brand{display:flex;align-items:center;gap:12px;min-width:0}.ccw-token-logo.is-profile{width:54px;height:54px}.ccw-token-profile-brand h3{margin:5px 0 2px;font-size:18px}.ccw-token-profile-brand h3 em{font-style:normal;color:#7ee1b4}.ccw-token-profile-brand small{display:block;color:#748d98;font:700 10px ui-monospace,monospace;overflow-wrap:anywhere}.ccw-token-profile-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ccw-token-profile-meta>div{padding:8px;border:1px solid rgba(142,196,215,.09);border-radius:9px;background:rgba(255,255,255,.018)}.ccw-token-profile-meta span,.ccw-token-profile-meta b{display:block}.ccw-token-profile-meta span{color:#607984;font:800 10px ui-monospace,monospace;letter-spacing:.08em}.ccw-token-profile-meta b{margin-top:3px;color:#b8cdd5;font-size:10px}.ccw-token-profile-links{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}.ccw-token-profile-links a,.ccw-token-profile-links span{padding:6px 8px;border:1px solid rgba(131,199,219,.13);border-radius:999px;color:#9bd9e8;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.07em}.ccw-token-profile-links span{color:#617984}.ccw-token-profile>p{grid-column:1/-1;margin:0!important;color:#667e88!important;font-size:10px!important}
@media(max-width:760px){.ccw-token-profile{grid-template-columns:1fr}.ccw-token-profile-meta{grid-template-columns:1fr 1fr}.ccw-token-logo.is-hub{width:48px;height:48px}.ccw-hub-brand{align-items:flex-start}.ccw-token-statusline{margin-top:2px}}@media(max-width:460px){.ccw-token-profile-meta{grid-template-columns:1fr}.ccw-token-logo.is-hub{width:42px;height:42px}.ccw-hub-brand{gap:9px}}

/* v0.42 mission variety / battle-context polish */
.ccw-v08 .ccw-mission-list b{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ccw-v08 .ccw-mission-list b em{padding:2px 5px;border:1px solid rgba(117,211,244,.2);background:rgba(117,211,244,.06);color:#75d3f4;font-size:10px;letter-spacing:.09em;font-style:normal}
.ccw-v08 .ccw-mission-list strong{font-size:10px;color:#738b99;font-weight:600;white-space:nowrap}
.ccw-v08 .ccw-mission-menu-grid em{font-size:10px;letter-spacing:.11em;color:#78cfe9;font-style:normal;text-transform:uppercase}
.ccw-v08 .ccw-mission-meta{display:flex;gap:6px;flex-wrap:wrap;margin:13px 0 3px}
.ccw-v08 .ccw-mission-meta span{padding:4px 7px;border:1px solid rgba(117,211,244,.18);background:rgba(13,35,46,.7);color:#8ccfe4;font:700 10px/1.2 ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}
.ccw-v08 .ccw-mission-mod-desc{margin-top:7px!important;color:#91a9b4!important;font-size:10px!important}
.ccw-v08 .ccw-battle-context{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:11px;padding:9px 11px;border-left:2px solid rgba(234,108,99,.75);background:rgba(111,31,29,.11);font-size:10px;letter-spacing:.07em;color:#8fa6b1}
.ccw-v08 .ccw-battle-context b{color:#f0c0ba;font-size:10px}
.ccw-v08 .ccw-mission-result .ccw-mission-meta{justify-content:center}


/* v0.43 - high-risk mission presentation */
.ccw-v08 .ccw-mission-meta .ccw-difficulty{font-weight:900}
.ccw-v08 .ccw-mission-meta .ccw-difficulty.is-hard{border-color:rgba(229,186,106,.38);color:#e5ba6a;background:rgba(229,186,106,.08)}
.ccw-v08 .ccw-mission-meta .ccw-difficulty.is-brutal{border-color:rgba(235,126,94,.45);color:#eb7e5e;background:rgba(235,126,94,.08)}
.ccw-v08 .ccw-mission-meta .ccw-difficulty.is-desperate{border-color:rgba(255,92,92,.52);color:#ff7979;background:rgba(255,92,92,.10);box-shadow:0 0 18px rgba(255,92,92,.08)}
.ccw-v08 .ccw-mission-danger{margin:7px 0 0!important;padding:8px 10px;border-left:2px solid rgba(229,186,106,.52);background:rgba(229,186,106,.05);color:#c5ac7f!important;font-size:10px!important;letter-spacing:.025em}
.ccw-v08 .ccw-mission-reward-line{margin:8px 0 4px;font:800 11px/1.3 ui-monospace,monospace;letter-spacing:.08em;color:#8fdab0}
.ccw-v08 .ccw-mission-result.is-failed .ccw-mission-reward-line{color:#da7771}
.ccw-v08 .ccw-mission-result.is-failed h2{color:#eb8c85}
.ccw-v08 .ccw-mission-result.is-partial h2{color:#e5ba6a}
.ccw-v08 .ccw-mission-result.is-perfect h2{color:#8fe8c0;text-shadow:0 0 18px rgba(111,230,181,.14)}


/* v0.44.0 · Map Readability + Tile Intelligence */
.ccw-map-hover{min-width:235px!important;max-width:330px!important;padding:10px 11px!important;border-color:rgba(145,209,232,.34)!important;background:rgba(2,9,14,.95)!important}
.ccw-map-hover .ccw-hover-owner{display:flex;align-items:center;gap:6px;margin-bottom:6px}.ccw-map-hover .ccw-hover-owner i{width:8px;height:8px;border-radius:50%;background:var(--owner-color);box-shadow:0 0 10px var(--owner-color);flex:none}.ccw-map-hover .ccw-hover-owner strong{font-size:10px;letter-spacing:.08em;color:#f2fbff}.ccw-map-hover b{font-size:10px!important;letter-spacing:.05em!important}.ccw-map-hover small{font-size:10px!important;color:#a0b5bf!important}.ccw-map-hover em{display:block;margin-top:7px;padding-top:6px;border-top:1px solid rgba(135,193,214,.12);font-style:normal;font-size:10px;font-weight:900;letter-spacing:.09em;color:#72cde7}
.ccw-tile-quick{position:absolute;z-index:58;left:18px;top:82px;width:min(310px,calc(100% - 36px));border:1px solid color-mix(in srgb,var(--owner-color,#718795) 60%,rgba(140,198,219,.22));background:linear-gradient(155deg,rgba(3,11,16,.96),rgba(7,16,22,.94));box-shadow:0 16px 42px rgba(0,0,0,.38),inset 3px 0 0 var(--owner-color,#718795);backdrop-filter:blur(14px);color:#edf9fd;border-radius:9px;overflow:hidden;pointer-events:auto}.ccw-tile-quick[hidden]{display:none!important}.ccw-tile-quick header{display:flex;justify-content:space-between;align-items:flex-start;padding:10px 11px 8px;border-bottom:1px solid rgba(139,194,214,.11)}.ccw-quick-owner{display:grid;grid-template-columns:9px 1fr;column-gap:7px;align-items:center}.ccw-quick-owner i{grid-row:1/3;width:8px;height:8px;border-radius:50%;background:var(--owner-color);box-shadow:0 0 12px var(--owner-color)}.ccw-quick-owner span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#7896a5}.ccw-quick-owner b{font-size:10px;color:#f4fbfe}.ccw-tile-quick header>button{appearance:none;border:0;background:transparent;color:#78939f;font-size:18px;cursor:pointer}.ccw-tile-quick header>button:hover{color:#fff}.ccw-quick-place{padding:9px 11px;display:grid;gap:2px}.ccw-quick-place>b{font-size:12px}.ccw-quick-place>span{font-size:10px;letter-spacing:.09em;color:#7895a3}.ccw-quick-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(139,194,214,.08);border-bottom:1px solid rgba(139,194,214,.08)}.ccw-quick-grid>div{padding:9px 11px;min-width:0}.ccw-quick-grid>div+div{border-left:1px solid rgba(139,194,214,.08)}.ccw-quick-grid span{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:#6f8e9e;margin-bottom:4px}.ccw-quick-grid b{display:block;font-size:10px;line-height:1.35;color:#ddecf2}.ccw-quick-grid small{display:block;margin-top:4px;font-size:10px;line-height:1.4;color:#7894a1}.ccw-tile-quick footer{display:flex;gap:6px;padding:8px 11px}.ccw-tile-quick footer button{appearance:none;border:1px solid rgba(125,189,213,.18);background:rgba(80,143,166,.08);color:#a9c5d0;padding:6px 8px;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.09em;cursor:pointer}.ccw-tile-quick footer button:hover{color:#fff;border-color:rgba(118,210,241,.42);background:rgba(87,184,216,.12)}
.ccw-interrupted-mission{display:grid;gap:5px;margin:9px 0;padding:10px;border:1px solid rgba(238,130,93,.34);background:rgba(91,38,22,.18)}.ccw-interrupted-mission>span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#ffab85}.ccw-interrupted-mission>b{font-size:10px;color:#ffe1d4}.ccw-interrupted-mission>small{font-size:10px;line-height:1.45;color:#bda498}.ccw-interrupted-mission>button{justify-self:start;margin-top:3px;appearance:none;border:1px solid rgba(245,130,96,.4);background:rgba(127,43,24,.35);color:#ffd1c2;padding:7px 9px;font-size:10px;font-weight:900;letter-spacing:.08em;cursor:pointer}
@media(max-width:700px){.ccw-tile-quick{left:10px;right:10px;top:auto;bottom:98px;width:auto;max-height:42%;overflow:auto}.ccw-quick-grid{grid-template-columns:1fr}.ccw-quick-grid>div+div{border-left:0;border-top:1px solid rgba(139,194,214,.08)}}

/* v0.45.0 · Map UX 2.0 */
.ccw-map-legend-panel{position:absolute;z-index:64;right:18px;top:58px;width:min(360px,calc(100% - 36px));border:1px solid rgba(126,198,221,.24);background:linear-gradient(155deg,rgba(3,10,15,.97),rgba(6,15,21,.96));box-shadow:0 18px 50px rgba(0,0,0,.42);backdrop-filter:blur(16px);color:#eaf7fb;border-radius:10px;overflow:hidden;pointer-events:auto}.ccw-map-legend-panel[hidden]{display:none!important}.ccw-map-legend-panel header{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-bottom:1px solid rgba(135,194,216,.11)}.ccw-map-legend-panel header>div{display:grid;gap:3px}.ccw-map-legend-panel header span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.16em;color:#6f93a3}.ccw-map-legend-panel header b{font:900 10px/1.15 ui-sans-serif,system-ui;letter-spacing:.06em}.ccw-map-legend-panel header button{appearance:none;border:0;background:transparent;color:#7895a3;font-size:19px;cursor:pointer}.ccw-legend-grid{display:grid;grid-template-columns:1fr 1fr}.ccw-legend-grid>div{display:grid;grid-template-columns:20px 1fr;column-gap:8px;row-gap:2px;padding:10px 11px;border-bottom:1px solid rgba(135,194,216,.08);min-width:0}.ccw-legend-grid>div:nth-child(odd){border-right:1px solid rgba(135,194,216,.08)}.ccw-legend-grid i{grid-row:1/3;width:15px;height:15px;align-self:center;border-radius:3px;background:#1b3947;border:1px solid rgba(159,220,239,.32)}.ccw-legend-grid i.is-owner{border-radius:50%;background:#6d52df;box-shadow:0 0 8px rgba(109,82,223,.55)}.ccw-legend-grid i.is-region{background:transparent;border:0;border-top:2px solid #8198a2;border-bottom:2px solid #8198a2;border-radius:0}.ccw-legend-grid i.is-front{background:transparent;border:0;border-left:3px solid #ff927c;border-right:3px solid #ff927c;border-radius:0}.ccw-legend-grid i.is-hotspot{transform:rotate(45deg);background:#d6bd65;border-color:#ffdf75}.ccw-legend-grid i.is-structure{background:#061016;border:2px solid #8ed6ed}.ccw-legend-grid i.is-selected{background:rgba(235,247,255,.12);border:2px solid #effaff;box-shadow:0 0 10px rgba(239,250,255,.35)}.ccw-legend-grid b{font:900 10px/1.1 ui-sans-serif,system-ui;letter-spacing:.08em;color:#dcecf2}.ccw-legend-grid span{font:500 10px/1.35 ui-sans-serif,system-ui;color:#7893a0}.ccw-map-legend-panel footer{padding:9px 11px;font:700 10px/1.5 ui-sans-serif,system-ui;letter-spacing:.07em;color:#6e8996;background:rgba(0,0,0,.14)}

.ccw-map-hover{min-width:205px!important;max-width:290px!important}.ccw-map-hover small{display:grid!important;gap:2px}.ccw-map-hover small span{display:block;font-size:10px;color:#6f8e9c;letter-spacing:.08em}.ccw-map-hover em{margin-top:5px!important;padding-top:5px!important}

.ccw-tile-quick{width:min(365px,calc(100% - 36px))}.ccw-quick-owner{grid-template-columns:auto 9px 1fr}.ccw-quick-owner .ccw-quick-token-logo{grid-row:1/3;width:28px;height:28px;margin-right:1px}.ccw-quick-owner>i{grid-row:1/3;grid-column:2}.ccw-quick-owner>span,.ccw-quick-owner>b{grid-column:3}.ccw-quick-place>div{display:flex;align-items:center;gap:7px}.ccw-quick-place>div em{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#617e8b;border:1px solid rgba(127,185,206,.12);padding:3px 4px;font-style:normal}.ccw-quick-realm{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(139,194,214,.08);background:rgba(63,118,140,.035)}.ccw-quick-realm>div{padding:7px 8px;border-right:1px solid rgba(139,194,214,.07)}.ccw-quick-realm>div:last-child{border-right:0}.ccw-quick-realm span{display:block;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.11em;color:#658492;margin-bottom:4px}.ccw-quick-realm b{font:900 10px/1.1 ui-sans-serif,system-ui;color:#dcecf2}.ccw-quick-grid{grid-template-columns:1fr 1fr}.ccw-quick-grid>div:nth-child(n+3){border-top:1px solid rgba(139,194,214,.08)}.ccw-quick-grid>div:nth-child(odd){border-left:0}.ccw-quick-grid>div:nth-child(even){border-left:1px solid rgba(139,194,214,.08)}.ccw-quick-history{padding:8px 11px;border-bottom:1px solid rgba(139,194,214,.08)}.ccw-quick-history>span{display:block;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#688797;margin-bottom:6px}.ccw-quick-history>div{display:grid;grid-template-columns:7px 1fr;gap:7px;align-items:start;padding:4px 0}.ccw-quick-history i{width:6px;height:6px;border-radius:50%;background:#7595a3;margin-top:3px}.ccw-quick-history i.is-battle,.ccw-quick-history i.is-critical{background:#ff806e;box-shadow:0 0 8px rgba(255,102,83,.35)}.ccw-quick-history p{margin:0;display:grid;gap:2px}.ccw-quick-history b{font-size:10px;color:#dcecf2}.ccw-quick-history small{font-size:10px;line-height:1.35;color:#718d9a}.ccw-quick-actions{display:flex;gap:5px;flex-wrap:wrap;padding:8px 11px;border-bottom:1px solid rgba(139,194,214,.08);background:rgba(72,128,150,.025)}.ccw-quick-actions button{appearance:none;border:1px solid rgba(125,189,213,.18);background:rgba(80,143,166,.08);color:#a9c5d0;padding:7px 8px;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.08em;cursor:pointer}.ccw-quick-actions button.is-primary{border-color:rgba(94,211,239,.4);background:rgba(52,161,193,.15);color:#d7f5fc}.ccw-quick-actions button.is-danger{border-color:rgba(255,116,96,.38);background:rgba(157,54,40,.16);color:#ffd7d0}.ccw-quick-actions button:hover{filter:brightness(1.22)}

.ccw-context-history>div{padding:6px 0;border-top:1px solid rgba(119,171,193,.08)}.ccw-context-history>div:first-of-type{border-top:0}.ccw-context-history>div b{font-size:10px;color:#dcebf1}.ccw-context-history>div p{margin:2px 0 0!important;font-size:10px!important;color:#78939f!important}
#ccw-actions.is-map-focus{outline:1px solid rgba(103,211,241,.5);box-shadow:0 0 0 4px rgba(103,211,241,.06),0 0 30px rgba(50,155,190,.14)}

@media(max-width:700px){.ccw-map-legend-panel{left:10px;right:10px;top:auto;bottom:94px;width:auto;max-height:58%;overflow:auto;border-radius:12px 12px 0 0}.ccw-legend-grid{grid-template-columns:1fr}.ccw-legend-grid>div:nth-child(odd){border-right:0}.ccw-tile-quick{left:8px;right:8px;bottom:84px;width:auto;max-height:58%;overflow:auto;border-radius:14px 14px 0 0;box-shadow:0 -12px 36px rgba(0,0,0,.42),inset 0 3px 0 var(--owner-color,#718795)}.ccw-quick-realm{grid-template-columns:repeat(2,1fr)}.ccw-quick-grid{grid-template-columns:1fr}.ccw-quick-grid>div:nth-child(even){border-left:0}.ccw-quick-grid>div+div{border-top:1px solid rgba(139,194,214,.08)}.ccw-quick-actions{position:sticky;bottom:0;background:rgba(3,11,16,.97)}}

/* v0.46 - Battle UX 2.0, Faction Command Center, impact feedback and onboarding */
.ccw-faction-command-center{margin:14px 0 0;border:1px solid rgba(130,169,193,.22);background:linear-gradient(180deg,rgba(8,19,28,.96),rgba(6,14,21,.94));border-radius:18px;padding:16px;box-shadow:0 18px 44px rgba(0,0,0,.22)}
.ccw-command-center-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:14px}.ccw-command-center-head>div:first-child{min-width:0}.ccw-command-center-head span,.ccw-mini-title{font-size:10px;font-weight:900;letter-spacing:.16em;color:#88a8bb}.ccw-command-center-head h2{font-size:20px;margin:4px 0 5px;color:#eff9ff}.ccw-command-center-head p{margin:0;color:#9fb4c4;max-width:760px}.ccw-command-personal{text-align:right;min-width:160px}.ccw-command-personal b{display:block;font-size:28px;color:#dff6ff}.ccw-command-personal small{display:block;color:#91a7b7}.ccw-command-center-grid{display:grid;grid-template-columns:1.15fr .95fr 1fr;gap:12px}.ccw-command-center-grid>div{background:rgba(11,25,36,.72);border:1px solid rgba(126,165,189,.15);border-radius:13px;padding:10px}.ccw-mini-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.ccw-mini-title button{border:0;background:transparent;color:#f7d98a;font:800 10px/1 system-ui;cursor:pointer}.ccw-command-order,.ccw-command-war,.ccw-command-objective{width:100%;text-align:left;border:1px solid rgba(129,164,184,.14);background:rgba(3,10,16,.45);border-radius:10px;color:#e8f4fa;padding:9px;margin:6px 0;cursor:pointer;display:flex;align-items:center;gap:9px}.ccw-command-order:hover,.ccw-command-war:hover,.ccw-command-objective:hover{border-color:rgba(151,218,246,.48);background:rgba(15,39,53,.72)}.ccw-command-order>i,.ccw-command-objective>span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#16354a;color:#caedff;font-style:normal;font-size:11px;font-weight:900}.ccw-command-order>span{display:flex;flex-direction:column;min-width:0;flex:1}.ccw-command-order b,.ccw-command-war b,.ccw-command-objective b{font-size:12px}.ccw-command-order small,.ccw-command-war small,.ccw-command-objective small{color:#8ea5b5;font-size:10px;margin-top:2px}.ccw-command-order em{font-size:10px;font-style:normal;color:#a8dff5;white-space:nowrap}.ccw-command-order.is-critical{border-color:rgba(255,91,91,.38);box-shadow:inset 3px 0 #ff5b5b}.ccw-command-order.is-high{box-shadow:inset 3px 0 #f1b95d}.ccw-command-war{display:block}.ccw-command-war span{display:block;color:#ff9b84;font-size:10px;font-weight:900;letter-spacing:.1em}.ccw-command-war.is-siege{border-color:rgba(255,69,96,.45);box-shadow:0 0 20px rgba(255,69,96,.08)}.ccw-command-objective{align-items:flex-start}.ccw-command-objective b{flex:1}.ccw-command-objective small{white-space:nowrap}.ccw-hub-command-strip{display:grid;grid-template-columns:minmax(260px,.9fr) 1.6fr;gap:14px;margin:12px 0;padding:12px;border-radius:14px;background:rgba(9,22,31,.8);border:1px solid rgba(120,165,190,.18)}.ccw-hub-command-strip>div:first-child span{display:block;color:#8db1c5;font-size:10px;font-weight:900;letter-spacing:.14em}.ccw-hub-command-strip>div:first-child b{display:block;margin:4px 0;color:#eef9ff}.ccw-hub-command-strip small{color:#8fa8b8}.ccw-hub-command-strip>div:last-child{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.ccw-hub-command-strip button{border:1px solid rgba(255,216,107,.25);background:rgba(255,216,107,.06);color:#e9f2f6;border-radius:9px;padding:7px 9px;font-size:10px;cursor:pointer}.ccw-hub-command-strip button i{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#ffd86b;color:#172029;font-style:normal;font-weight:900;margin-right:5px}

.ccw-impact-stack{position:fixed;z-index:100050;right:18px;top:84px;width:min(390px,calc(100vw - 24px));display:grid;gap:9px;pointer-events:none}.ccw-impact-toast,.ccw-battle-result-flash{pointer-events:auto;transform:translateX(24px);opacity:0;transition:.24s ease;border-radius:13px;padding:12px 14px;background:rgba(7,18,26,.97);border:1px solid rgba(117,202,236,.35);box-shadow:0 18px 50px rgba(0,0,0,.42)}.ccw-impact-toast.is-show,.ccw-battle-result-flash.is-show{transform:none;opacity:1}.ccw-impact-toast>span,.ccw-battle-result-flash>span{display:block;color:#7cd5f4;font-size:10px;font-weight:900;letter-spacing:.14em}.ccw-impact-toast>b,.ccw-battle-result-flash>b{display:block;color:#effaff;font-size:15px;margin:3px 0 4px}.ccw-impact-toast>small,.ccw-battle-result-flash>small{display:block;color:#a4bac7;font-size:11px;margin:2px 0}.ccw-impact-toast.is-good{border-left:3px solid #69d6a2}.ccw-battle-result-flash{border-color:rgba(255,154,103,.48);border-left:3px solid #ff9a67}.ccw-battle-result-flash.is-siege{border-left-color:#ff526d;box-shadow:0 18px 52px rgba(151,21,45,.25)}.ccw-battle-result-flash button{margin-top:8px;border:0;background:transparent;padding:0;color:#9bdcf7;font:900 10px/1 system-ui;cursor:pointer}

.ccw-onboarding{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:100040;width:min(760px,calc(100vw - 28px));display:flex;justify-content:space-between;gap:18px;align-items:center;padding:13px 15px;border:1px solid rgba(104,187,224,.34);border-radius:15px;background:rgba(5,15,23,.96);box-shadow:0 16px 55px rgba(0,0,0,.5)}.ccw-onboarding>div:first-child span{display:block;color:#76cceb;font-size:10px;font-weight:900;letter-spacing:.14em}.ccw-onboarding>div:first-child b{display:block;color:#f1fbff;font-size:15px;margin:3px 0}.ccw-onboarding>div:first-child small{display:block;color:#99afbd;max-width:540px}.ccw-onboarding>div:last-child{display:flex;align-items:center;gap:8px;white-space:nowrap}.ccw-onboard-skip{position:relative;z-index:2;pointer-events:auto;touch-action:manipulation;appearance:none;border:1px solid transparent;background:transparent;color:#8ea4b2;font-size:10px;font-weight:900;letter-spacing:.05em;cursor:pointer;min-width:54px;min-height:34px;padding:8px 10px;border-radius:7px}.ccw-onboard-skip:hover,.ccw-onboard-skip:focus-visible{color:#dff5ff;border-color:rgba(128,205,234,.28);background:rgba(92,170,199,.08);outline:none}

.ccw-battle-stage{position:relative;overflow:hidden;margin:0 0 18px;border-radius:18px;border:1px solid rgba(128,166,189,.22);background:radial-gradient(circle at 50% 30%,rgba(29,62,82,.28),transparent 46%),linear-gradient(180deg,#081520,#060e15);box-shadow:0 18px 44px rgba(0,0,0,.25)}.ccw-battle-stage.is-siege{border-color:rgba(255,76,101,.46);background:radial-gradient(circle at 50% 28%,rgba(121,22,43,.28),transparent 48%),linear-gradient(180deg,#151017,#080d12)}.ccw-battle-stage-alert{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:10px 14px;border-bottom:1px solid rgba(130,166,188,.15);background:rgba(255,255,255,.025)}.ccw-battle-stage-alert span{color:#ff9a81;font-size:10px;font-weight:900;letter-spacing:.12em}.ccw-battle-stage-alert b{font-size:12px;color:#f5fbff}.ccw-battle-stage-alert time{font:900 13px/1 monospace;color:#e8f3f9}.ccw-battle-versus{display:grid;grid-template-columns:1fr 180px 1fr;align-items:center;gap:12px;padding:22px 18px 14px}.ccw-battle-side{text-align:center}.ccw-token-logo.is-battle{width:52px;height:52px;border-radius:50%;margin:0 auto 7px;display:grid;place-items:center;font-size:15px}.ccw-battle-side>span{display:block;color:#809cad;font-size:10px;font-weight:900;letter-spacing:.13em}.ccw-battle-side h2{font-size:23px;margin:4px 0 0}.ccw-battle-side strong{display:block;font-size:34px;line-height:1;color:#effaff;margin:4px 0}.ccw-battle-side small{color:#91a9b8}.ccw-battle-center{text-align:center}.ccw-battle-center span{display:block;color:#9ab1bf;font-size:10px}.ccw-battle-center b{display:block;font-size:10px;color:#f0c979;letter-spacing:.15em;margin-top:3px}.ccw-battle-center i{display:grid;place-items:center;margin:9px auto;width:48px;height:48px;border-radius:50%;border:1px solid rgba(206,229,240,.2);color:#e9f7fd;font-style:normal;font-weight:900}.ccw-battle-center em{display:block;color:#ff9a83;font-size:10px;font-style:normal;font-weight:900}.ccw-battle-momentum{position:relative;height:12px;margin:0 20px;border-radius:20px;background:#244254;overflow:hidden}.ccw-battle-momentum span{display:block;height:100%;background:linear-gradient(90deg,#e46455,#f29a6e)}.ccw-battle-momentum i{position:absolute;top:-4px;width:2px;height:20px;background:#fff;box-shadow:0 0 12px #fff}.ccw-battle-pressure{text-align:center;padding:10px 14px;color:#99adba;font-size:11px}.ccw-battle-pressure b{color:#ff7b74}.ccw-battle-pressure strong{color:#ffd86b}.ccw-battle-intel-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 14px 13px}.ccw-battle-intel-grid>div{border:1px solid rgba(130,170,192,.12);background:rgba(255,255,255,.025);border-radius:10px;padding:9px}.ccw-battle-intel-grid span{display:block;color:#7895a7;font-size:10px;font-weight:900;letter-spacing:.12em}.ccw-battle-intel-grid b{display:block;color:#eaf6fb;font-size:12px;margin:3px 0}.ccw-battle-intel-grid small{color:#859fad;font-size:10px}.ccw-battle-contributors{margin:0 14px 12px;border:1px solid rgba(132,167,187,.13);border-radius:10px;background:rgba(2,8,13,.3)}.ccw-battle-contributors summary{cursor:pointer;padding:9px;color:#91acbc;font-size:10px;font-weight:900;letter-spacing:.12em}.ccw-battle-contrib-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 9px 9px}.ccw-battle-contrib-columns section>span{display:block;color:#e7f3f9;font-weight:900;margin-bottom:5px}.ccw-battle-contrib-columns section>div{display:grid;grid-template-columns:24px 1fr auto;gap:6px;padding:5px 0;border-top:1px solid rgba(130,165,185,.08)}.ccw-battle-contrib-columns div span{color:#7393a7}.ccw-battle-contrib-columns div b{font-size:10px}.ccw-battle-contrib-columns div em{font-size:10px;color:#8fa7b6;font-style:normal}.ccw-battle-stage-actions{display:flex;gap:7px;flex-wrap:wrap;padding:0 14px 13px}.ccw-battle-stage .ccw-battle-action{margin:0 14px 14px;border-top:1px solid rgba(134,170,192,.15);padding-top:12px;display:grid;grid-template-columns:1fr 90px auto;gap:8px;align-items:center}.ccw-battle-stage .ccw-battle-action>div b,.ccw-battle-stage .ccw-battle-action>div small{display:block}.ccw-battle-stage .ccw-battle-action>div small{color:#8ca5b4;font-size:10px}.ccw-battle-history{margin-top:20px}.ccw-battle-result-row{display:flex;gap:10px;width:100%;text-align:left;padding:10px;border:0;border-bottom:1px solid rgba(120,157,177,.12);background:transparent;color:#eaf4f8;cursor:pointer}.ccw-battle-result-row:hover{background:rgba(255,255,255,.025)}.ccw-battle-result-row>span{font-size:20px}.ccw-battle-result-row b,.ccw-battle-result-row small{display:block}.ccw-battle-result-row small{color:#829aa9;margin-top:3px}.ccw-mission-rank{margin:10px 0;padding:9px;border-radius:9px;background:rgba(91,201,237,.08);border:1px solid rgba(91,201,237,.16);color:#9eb7c6;font-size:10px}.ccw-mission-rank b{color:#e9f8ff;font-size:15px}

.ccw-objective-editor h2{margin:5px 0}.ccw-objective-editor>p{color:#9db2bf}.ccw-objective-edit-row{margin:10px 0;padding:10px;border:1px solid rgba(130,166,188,.15);border-radius:11px}.ccw-objective-edit-row label{display:block;color:#86a2b3;font-size:10px;font-weight:900;letter-spacing:.08em}.ccw-objective-edit-row input[type=text]{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:9px;border-radius:8px;border:1px solid rgba(139,177,199,.25);background:#08131b;color:#eaf8ff}.ccw-objective-edit-row .ccw-pin-choice{margin-top:8px;display:flex;align-items:center;gap:6px;font-weight:700;letter-spacing:0;text-transform:none}.ccw-objective-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}

@media (max-width:980px){.ccw-command-center-grid{grid-template-columns:1fr}.ccw-battle-versus{grid-template-columns:1fr 95px 1fr}.ccw-battle-intel-grid{grid-template-columns:1fr 1fr}.ccw-hub-command-strip{grid-template-columns:1fr}.ccw-command-center-head{flex-direction:column}.ccw-command-personal{text-align:left}.ccw-onboarding{bottom:8px}.ccw-battle-stage .ccw-battle-action{grid-template-columns:1fr 80px auto}}
@media (max-width:640px){.ccw-battle-versus{grid-template-columns:1fr 64px 1fr;padding:16px 8px 10px}.ccw-token-logo.is-battle{width:42px;height:42px}.ccw-battle-side h2{font-size:16px}.ccw-battle-side strong{font-size:27px}.ccw-battle-center em{font-size:10px}.ccw-battle-intel-grid{grid-template-columns:1fr 1fr;padding:0 8px 10px}.ccw-battle-contributors{margin-left:8px;margin-right:8px}.ccw-battle-contrib-columns{grid-template-columns:1fr}.ccw-battle-stage-actions{padding:0 8px 10px}.ccw-battle-stage .ccw-battle-action{margin:0 8px 10px;grid-template-columns:1fr 70px}.ccw-battle-stage .ccw-battle-action button{grid-column:1/-1}.ccw-onboarding{align-items:flex-start;flex-direction:column}.ccw-onboarding>div:last-child{width:100%;justify-content:space-between}.ccw-impact-stack{right:8px;top:70px;width:calc(100vw - 16px)}}

/* v0.47 Legacy token showcases - earned acquisition surfaces, never combat power. */
.ccw-legacy-showcase{margin-top:10px;padding:12px;border:1px solid rgba(126,188,210,.24);border-radius:14px;background:linear-gradient(135deg,rgba(8,18,27,.94),rgba(16,31,42,.88));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.ccw-legacy-showcase.is-legendary{border-color:rgba(255,216,107,.58);box-shadow:0 0 28px rgba(255,216,107,.09),inset 0 1px 0 rgba(255,242,184,.09)}
.ccw-legacy-showcase-brand{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.ccw-legacy-showcase-brand>div{min-width:0}.ccw-legacy-showcase-brand span{display:block;font-size:10px;letter-spacing:.12em;color:#88a8b7}.ccw-legacy-showcase-brand h4{margin:2px 0 0!important;font-size:15px!important}.ccw-legacy-showcase-brand small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8299a4}.ccw-legacy-showcase-brand strong{font-size:10px;letter-spacing:.08em;color:#ffd86b;text-align:right}.ccw-legacy-token-logo{width:38px!important;height:38px!important;border-radius:50%;object-fit:cover}.ccw-legacy-motto{margin:10px 0 6px!important;color:#d8e7ed;font-style:italic}.ccw-legacy-showcase-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.ccw-legacy-showcase-actions .ccw-btn{font-size:10px;padding:7px 9px;text-decoration:none}.ccw-legacy-traffic{display:flex;gap:13px;flex-wrap:wrap;margin-top:9px;padding-top:8px;border-top:1px solid rgba(255,255,255,.07);font-size:10px;color:#88a0aa}.ccw-legacy-traffic b{color:#eef8fb}.ccw-legacy-next{margin:8px 0 0!important;font-size:10px;color:#a8c1cc}.ccw-legacy-showcase.is-compact{padding:9px}.ccw-legacy-showcase.is-compact .ccw-legacy-next{display:none}.ccw-legacy-showcase.is-compact .ccw-legacy-showcase-brand strong{display:none}.ccw-legacy-showcase.is-compact .ccw-legacy-token-logo{width:30px!important;height:30px!important}.ccw-context-legacy .ccw-legacy-showcase{margin-bottom:8px}.ccw-monument-showcase{margin:12px 0;padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(4,11,17,.42)}.ccw-monument-showcase.is-legendary{border-color:rgba(255,216,107,.35)}.ccw-legacy-reach-note{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:12px 0;padding:12px 14px;border-left:3px solid #ffd86b;background:rgba(255,216,107,.055);border-radius:8px}.ccw-legacy-reach-note b{font-size:10px;letter-spacing:.11em;color:#ffd86b;white-space:nowrap}.ccw-legacy-reach-note span{font-size:11px;color:#b8cbd3;text-align:right}
@media(max-width:700px){.ccw-legacy-showcase-brand{grid-template-columns:auto 1fr}.ccw-legacy-showcase-brand strong{grid-column:1/-1;text-align:left}.ccw-legacy-reach-note{align-items:flex-start;flex-direction:column}.ccw-legacy-reach-note span{text-align:left}.ccw-legacy-showcase-actions .ccw-btn{flex:1 1 auto;text-align:center}}
.ccw-quick-legacy{display:block;width:100%;margin:9px 0 0;padding:10px 12px;border:1px solid rgba(255,216,107,.28);border-radius:11px;background:rgba(255,216,107,.055);text-align:left;color:#eaf4f8;cursor:pointer}.ccw-quick-legacy span,.ccw-quick-legacy small{display:block;font-size:10px;letter-spacing:.08em;color:#a5b7bf}.ccw-quick-legacy span{color:#ffd86b}.ccw-quick-legacy b{display:block;margin:2px 0;font-size:11px}.ccw-quick-legacy:hover{border-color:rgba(255,216,107,.6);background:rgba(255,216,107,.09)}

/* v0.48 economy / sustainment */
.ccw-sustainment{margin-top:14px;padding:14px 15px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(5,13,18,.68)}
.ccw-sustainment-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.ccw-sustainment-head>div{display:flex;gap:10px;align-items:baseline}.ccw-sustainment-head span{font-size:11px;font-weight:900;letter-spacing:.12em;color:#9eb1ba}.ccw-sustainment-head b{font-size:18px}.ccw-sustainment-head strong{font-size:11px;letter-spacing:.1em;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.07)}
.ccw-sustainment-track{height:7px;margin:10px 0 9px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}.ccw-sustainment-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#70d79a,#cae778);box-shadow:0 0 12px rgba(112,215,154,.3)}
.ccw-sustainment p{margin:0;color:#aabac1;font-size:12px;line-height:1.45}.ccw-sustainment-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.ccw-sustainment-meta span{padding:9px;border-radius:10px;background:rgba(255,255,255,.035);font-size:10px;color:#8fa4ad}.ccw-sustainment-meta b{display:block;margin-top:4px;color:#e7f1f4;font-size:13px}
.ccw-sustainment.is-strained .ccw-sustainment-track i{background:linear-gradient(90deg,#d8ca68,#efb85d)}.ccw-sustainment.is-shortage .ccw-sustainment-track i{background:linear-gradient(90deg,#efb85d,#ec7f5e)}.ccw-sustainment.is-critical{border-color:rgba(255,103,89,.35);background:rgba(55,15,13,.34)}.ccw-sustainment.is-critical .ccw-sustainment-track i{background:linear-gradient(90deg,#ec7f5e,#ff5f55)}.ccw-sustainment.is-compact{padding:10px 12px;margin-top:10px}.ccw-sustainment.is-compact .ccw-sustainment-head b{font-size:15px}.ccw-sustainment.is-compact p{font-size:11px}
.ccw-quick-actions button.is-warning{border-color:rgba(239,184,93,.45);background:rgba(239,184,93,.10);color:#f3d391}
@media(max-width:760px){.ccw-sustainment-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-sustainment-head{align-items:flex-start}.ccw-sustainment-head>div{display:block}.ccw-sustainment-head b{display:block;margin-top:3px}}


/* v0.49.0 - Building Identity System */
.ccw-building-art{--b-accent:#8fa9b7;--b-soft:rgba(143,169,183,.16);position:relative;display:inline-grid;place-items:center;color:#d9e6ec;isolation:isolate;flex:0 0 auto}.ccw-building-art.is-core{--b-accent:#e9c76b;--b-soft:rgba(233,199,107,.16)}.ccw-building-art.is-economy{--b-accent:#a9c978;--b-soft:rgba(169,201,120,.15)}.ccw-building-art.is-logistics{--b-accent:#74b9c8;--b-soft:rgba(116,185,200,.15)}.ccw-building-art.is-military{--b-accent:#be8f81;--b-soft:rgba(190,143,129,.15)}.ccw-building-art.is-civic{--b-accent:#b9a184;--b-soft:rgba(185,161,132,.15)}.ccw-building-art.is-research{--b-accent:#8db7c9;--b-soft:rgba(141,183,201,.16)}.ccw-building-art.is-prestige,.ccw-building-art.is-wonder{--b-accent:#e6c56d;--b-soft:rgba(230,197,109,.18)}
.ccw-building-art.is-mini{width:54px;height:48px}.ccw-building-art.is-catalog{width:82px;height:72px;border:1px solid rgba(162,194,207,.12);background:radial-gradient(circle at 50% 28%,var(--b-soft),transparent 62%),linear-gradient(160deg,rgba(17,31,40,.94),rgba(7,15,21,.96));box-shadow:inset 0 1px rgba(255,255,255,.035)}.ccw-building-art.is-card{width:122px;height:96px}.ccw-building-svg{width:100%;height:100%;overflow:visible}.ccw-building-svg .v-ground{fill:rgba(3,8,12,.62)}.ccw-building-svg .v-fill{fill:rgba(80,104,116,.38);stroke:var(--b-accent);stroke-width:1.6;vector-effect:non-scaling-stroke}.ccw-building-svg .v-dark{fill:rgba(7,15,21,.88);stroke:var(--b-accent);stroke-width:1.25;vector-effect:non-scaling-stroke}.ccw-building-svg .v-line{fill:none;stroke:rgba(215,233,240,.72);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.ccw-building-svg .v-accent{fill:var(--b-accent);stroke:rgba(255,255,255,.45);stroke-width:.8}.ccw-building-svg .v-accent-soft{fill:var(--b-soft);stroke:var(--b-accent);stroke-width:1.1}.ccw-building-svg .v-master{fill:none;stroke:#f2d77d;stroke-width:2;filter:drop-shadow(0 0 3px rgba(242,215,125,.45))}.ccw-building-art.is-level-3 .ccw-building-svg{filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}.ccw-building-art.is-level-4 .ccw-building-svg,.ccw-building-art.is-level-5 .ccw-building-svg{filter:drop-shadow(0 0 8px var(--b-soft)) drop-shadow(0 5px 8px rgba(0,0,0,.3))}
.ccw-building-level-pips{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);display:flex;gap:3px}.ccw-building-level-pips i{width:4px;height:2px;background:rgba(191,211,220,.18)}.ccw-building-level-pips i.is-on{background:var(--b-accent);box-shadow:0 0 4px var(--b-soft)}
.ccw-building-catalog-section{display:grid;gap:6px}.ccw-building-catalog-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:stretch;padding:8px;border:1px solid rgba(142,188,207,.10);background:linear-gradient(145deg,rgba(13,25,34,.86),rgba(7,15,21,.9));transition:border-color .15s ease,transform .15s ease,background .15s ease}.ccw-building-catalog-card:hover{border-color:rgba(164,207,224,.24);background:linear-gradient(145deg,rgba(17,31,41,.94),rgba(8,17,24,.95));transform:translateY(-1px)}.ccw-building-catalog-copy{min-width:0}.ccw-building-catalog-title{display:flex;align-items:baseline;justify-content:space-between;gap:7px}.ccw-building-catalog-title span{font-size:10px;letter-spacing:.14em;color:#607b89}.ccw-building-catalog-title b{font-size:10px;color:#d9e8ee}.ccw-building-catalog-copy p{margin:5px 0 3px;color:#9fc0cd;font-size:10px;line-height:1.35}.ccw-building-catalog-copy>small{display:block;color:#607985;font-size:10px;line-height:1.35;max-height:28px;overflow:hidden}.ccw-building-catalog-copy footer{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-top:6px;padding-top:5px;border-top:1px solid rgba(142,188,207,.08)}.ccw-building-catalog-copy footer em{font-style:normal;color:#d7bd78;font-size:10px}.ccw-building-catalog-copy footer strong{font-size:10px;letter-spacing:.12em;color:#6f8a97}.ccw-upgrade-summary-visual{grid-template-columns:54px 1fr!important;align-items:center!important}.ccw-upgrade-summary-visual span:not(.ccw-building-art){display:grid;gap:2px}.ccw-upgrade-summary-visual em{font-style:normal;color:#d5bd78;font-size:10px}


/* v0.50.0 - Citadel Screen Overhaul */
/* Obsolete v0.50 Citadel hero/core styles retired in v0.99.17. */
.ccw-citadel-infrastructure{display:grid;gap:10px}.ccw-citadel-command{display:flex;justify-content:space-between;gap:18px;align-items:end;padding:14px;border:1px solid rgba(144,190,208,.13);background:linear-gradient(110deg,rgba(13,27,37,.95),rgba(7,16,23,.96))}.ccw-citadel-command h3{margin:4px 0 5px;font-size:16px}.ccw-citadel-command p{margin:0;max-width:720px;font-size:10px;line-height:1.45;color:#78929f}.ccw-citadel-command-stats{display:grid;grid-template-columns:repeat(4,minmax(70px,1fr));gap:7px}.ccw-citadel-command-stats div{padding:8px 10px;border-left:1px solid rgba(144,190,208,.14);display:grid}.ccw-citadel-command-stats b{font-size:16px;color:#dbeaf0}.ccw-citadel-command-stats span{font-size:10px;letter-spacing:.1em;color:#617d8a}.ccw-citadel-filter{display:flex;flex-wrap:wrap;gap:5px}.ccw-citadel-filter button{appearance:none;border:1px solid rgba(133,181,200,.12);background:#09141b;color:#617c89;font-size:10px;letter-spacing:.12em;padding:7px 9px;cursor:pointer}.ccw-citadel-filter button:hover,.ccw-citadel-filter button.is-active{border-color:rgba(151,205,224,.32);color:#d8e8ee;background:#10232d}.ccw-citadel-building-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ccw-citadel-building-card{display:grid;grid-template-columns:126px minmax(0,1fr);gap:12px;min-height:142px;padding:10px;border:1px solid rgba(143,190,207,.1);background:linear-gradient(150deg,rgba(13,25,34,.94),rgba(7,15,21,.96));position:relative;overflow:hidden}.ccw-citadel-building-card:before{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:var(--b-accent,#728d99);opacity:.52}.ccw-citadel-building-card>.ccw-building-art{width:122px;height:112px;align-self:center;border:1px solid rgba(143,190,207,.08);background:radial-gradient(circle at 50% 30%,var(--b-soft),transparent 66%)}.ccw-citadel-building-copy{display:flex;flex-direction:column;min-width:0}.ccw-citadel-building-copy header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.ccw-citadel-building-copy header span{font-size:10px;letter-spacing:.13em;color:#617d8a}.ccw-citadel-building-copy h4{margin:2px 0 0;font-size:12px;color:#deebef}.ccw-citadel-building-copy header em{font-style:normal;font-size:10px;letter-spacing:.08em;color:#6f8995;border:1px solid rgba(139,188,207,.1);padding:4px 5px;white-space:nowrap}.ccw-citadel-building-copy header em.is-built{color:#9fcdb4;border-color:rgba(117,193,151,.18)}.ccw-citadel-building-copy header em.is-project{color:#d8c077;border-color:rgba(216,192,119,.2)}.ccw-citadel-building-copy>p{font-size:10px;color:#9fc0cd;margin:8px 0 6px;line-height:1.35}.ccw-citadel-building-meta{display:grid;gap:3px;padding-top:6px;border-top:1px solid rgba(139,188,207,.08)}.ccw-citadel-building-meta span{font-size:10px;color:#5f7784;letter-spacing:.05em}.ccw-citadel-building-meta b{font-size:10px;color:#d6bc78}.ccw-citadel-building-copy footer{margin-top:auto;display:flex;align-items:center;gap:8px;padding-top:8px}.ccw-citadel-building-copy footer small{margin-left:auto;font-size:10px;color:#607b88;letter-spacing:.07em}.ccw-citadel-progress{height:3px;background:#12232c;margin-top:6px}.ccw-citadel-progress i{display:block;height:100%;background:#d5bd75}.ccw-citadel-lower{margin-top:0!important}
@media(max-width:980px){.ccw-citadel-building-grid{grid-template-columns:1fr}.ccw-citadel-command{align-items:stretch;flex-direction:column}.ccw-citadel-command-stats{width:100%}}@media(max-width:620px){.ccw-citadel-building-card{grid-template-columns:92px minmax(0,1fr)}.ccw-citadel-building-card>.ccw-building-art{width:88px;height:92px}.ccw-citadel-command-stats{grid-template-columns:repeat(2,1fr)}}


/* v0.51.0 - Unified UI Icon System */
.ccw-ui-icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.2em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.ccw-ui-icon.is-energy{color:#9dc6d6}.ccw-ui-icon.is-wood{color:#a7ba87}.ccw-ui-icon.is-stone{color:#a9b0b5}.ccw-ui-icon.is-gold,.ccw-ui-icon.is-treasury,.ccw-ui-icon.is-credits{color:#d9bf76}.ccw-ui-icon.is-sustainment{color:#a7c882}.ccw-ui-icon.is-battle,.ccw-ui-icon.is-attack,.ccw-ui-icon.is-siege{color:#c89588}.ccw-ui-icon.is-research,.ccw-ui-icon.is-signal{color:#8ebccc}.ccw-ui-icon.is-naval,.ccw-ui-icon.is-support,.ccw-ui-icon.is-reinforce{color:#82b7c4}.ccw-ui-icon.is-council,.ccw-ui-icon.is-vote{color:#b4a58d}.ccw-ui-icon.is-monument,.ccw-ui-icon.is-legendary,.ccw-ui-icon.is-victory{color:#dfc56f}.ccw-icon-label{display:inline-flex!important;align-items:center;gap:5px}.ccw-icon-label .ccw-ui-icon{font-size:11px}.ccw-project-icon{display:grid!important;place-items:center!important;width:24px!important;height:24px!important;border:1px solid rgba(143,190,207,.13);background:#09151c}.ccw-project-icon .ccw-ui-icon{font-size:14px}.ccw-tech-visual{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border:1px solid rgba(143,190,207,.14);background:radial-gradient(circle at 50% 35%,rgba(126,185,204,.12),transparent 70%);color:#a7c9d5}.ccw-tech-visual .ccw-ui-icon{font-size:21px}.ccw-battle-result-icon{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;border:1px solid rgba(190,139,127,.18);background:rgba(85,34,27,.16)}.ccw-battle-result-icon .ccw-ui-icon{font-size:17px}.ccw-mission-icon{display:grid!important;place-items:center!important}.ccw-mission-icon .ccw-ui-icon{width:22px;height:22px}.ccw-supply-icon{display:grid;place-items:center!important}.ccw-supply-icon .ccw-ui-icon{width:24px;height:24px}.ccw-wonder-card>.ccw-building-art{width:58px;height:52px;align-self:start}.ccw-proposal-icon>.ccw-building-art{width:36px;height:34px}.ccw-proposal-icon>.ccw-building-art .ccw-building-level-pips{display:none}
/* Keep UI accent colors semantic and restrained. Territory/faction color remains the dominant map color. */
.ccw-btn .ccw-ui-icon{margin-right:5px}.ccw-energy-row .ccw-ui-icon,.ccw-vote-count .ccw-ui-icon{opacity:.9}.ccw-war-alert .ccw-ui-icon,.ccw-hint .ccw-ui-icon{width:13px;height:13px}


/* v0.52.0 · Map Readability / Color Logic */
.ccw-v08 .ccw-terrain-key{max-width:min(72%,760px);flex-wrap:wrap;row-gap:6px}
.ccw-v08 .ccw-terrain-key i.is-ownerwash{background:linear-gradient(135deg,#765de4,#42b9cf);border-color:rgba(255,255,255,.2)}
.ccw-v08 .ccw-terrain-key i.is-terrainmark{background:transparent;border:0;position:relative}
.ccw-v08 .ccw-terrain-key i.is-terrainmark:before{content:"";position:absolute;left:1px;right:1px;bottom:1px;height:2px;background:#789078;box-shadow:3px -3px 0 -1px #789078,-2px -5px 0 -1px #789078}
.ccw-v08 .ccw-terrain-key i.is-borderkey{background:transparent;border:0;border-left:2px solid #d7e5e9;border-radius:0}
.ccw-v08 .ccw-terrain-key i.is-frontkey{background:transparent;border:0;border-left:3px dashed #ff755f;border-radius:0}
.ccw-v08 .ccw-terrain-key i.is-rivalkey{background:transparent;border:0;border-left:2px solid #c7d1d5;border-radius:0}
.ccw-v08 .ccw-terrain-key i.is-woodkey{background:#37a45b}.ccw-v08 .ccw-terrain-key i.is-stonekey{background:#a7b2c4}.ccw-v08 .ccw-terrain-key i.is-energykey{background:#d77e39}.ccw-v08 .ccw-terrain-key i.is-goldkey{background:#e8c04a}
.ccw-v08 .ccw-terrain-key i.is-supplygood{background:#48d896}.ccw-v08 .ccw-terrain-key i.is-supplymid{background:#edbe47}.ccw-v08 .ccw-terrain-key i.is-supplybad{background:#eb5c4e}
.ccw-v08 .ccw-terrain-key i.is-historykey{background:#765239;border-color:#b58458}
.ccw-legend-grid i.is-terrainmark{background:linear-gradient(135deg,#385b3e,#7f7663);border-color:rgba(179,199,187,.35);position:relative}
.ccw-legend-grid i.is-terrainmark:after{content:"";position:absolute;left:3px;right:3px;bottom:3px;height:1px;background:rgba(238,248,241,.55);transform:rotate(-18deg)}
.ccw-map-hover .ccw-hover-owner span{margin-left:auto;font-size:10px;font-weight:800;letter-spacing:.08em;color:#7895a3;text-transform:uppercase}
.ccw-v08 .ccw-map-modes button[data-map-mode="terrain"].is-active{color:#d9e7b7;background:rgba(154,175,105,.12);box-shadow:inset 0 -1px 0 rgba(191,211,140,.5)}

/* v0.54.0 · Terrain Props + Isolated Territory */
.ccw-quick-isolated{margin:0 11px 9px;padding:8px 9px;border:1px solid rgba(255,199,92,.28);background:rgba(115,76,17,.13);display:grid;gap:3px}.ccw-quick-isolated b{font:900 10px/1.2 ui-sans-serif,system-ui;letter-spacing:.08em;color:#ffd98a}.ccw-quick-isolated small{font:600 10px/1.4 ui-sans-serif,system-ui;color:#aa9773}
.ccw-isolated-line{display:grid!important;gap:3px!important;padding:7px 8px!important;margin:5px 0!important;border:1px solid rgba(255,199,92,.22)!important;background:rgba(115,76,17,.10)!important}.ccw-isolated-line b{color:#ffd98a!important}.ccw-isolated-line small{display:block;color:#9f9074;font-size:10px;line-height:1.35}
.ccw-map-context section.is-isolated{border-color:rgba(255,199,92,.2)!important;background:rgba(115,76,17,.09)!important}.ccw-map-context section.is-isolated h4{color:#ffd98a!important}
.ccw-map-hover small strong{font:900 10px/1.35 ui-sans-serif,system-ui;color:#ffd98a;letter-spacing:.045em}
.ccw-mission-meta .is-isolated{color:#ffd98a!important;border-color:rgba(255,199,92,.28)!important;background:rgba(115,76,17,.12)!important}.ccw-mission-isolated{padding:8px 9px;border:1px solid rgba(255,199,92,.25);background:rgba(115,76,17,.11);color:#d6c092!important;font-size:10px!important;line-height:1.45!important}
.ccw-proposal.is-isolated,.ccw-battle-card.is-isolated{box-shadow:inset 3px 0 0 rgba(255,199,92,.75)}
.ccw-isolated-vote-warning{margin:8px 0;padding:7px 9px;border:1px solid rgba(255,199,92,.24);background:rgba(115,76,17,.10);display:grid;gap:2px}.ccw-isolated-vote-warning b{font-size:10px;letter-spacing:.08em;color:#ffd98a}.ccw-isolated-vote-warning span{font-size:10px;line-height:1.4;color:#ad9a76}.ccw-proposal.is-isolated{border-color:rgba(255,199,92,.24)!important;box-shadow:inset 3px 0 0 rgba(255,199,92,.72)}
.ccw-battle-stage.is-isolated{border-color:rgba(255,199,92,.28)}.ccw-battle-side.is-isolated{position:relative}.ccw-isolated-badge{display:inline-flex!important;margin:5px auto 1px!important;padding:3px 6px!important;border:1px solid rgba(255,199,92,.3)!important;background:rgba(115,76,17,.16)!important;color:#ffd98a!important;font:900 10px/1 ui-sans-serif,system-ui!important;letter-spacing:.08em!important;border-radius:999px}.ccw-battle-pressure em{font-style:normal;color:#ffd98a;font-weight:850}.ccw-battle-action small{line-height:1.4}

/* v0.55 abandoned 2.5D Citadel scene retired in v0.99.17. */

/* v0.56 · Showcase-first Citadel / public Prestige Hall / Regalia studio */
.ccw-own-prestige-stage{position:relative;overflow:hidden;min-height:360px;border:1px solid rgba(168,198,210,.15);border-radius:22px;background:radial-gradient(circle at 74% 36%,color-mix(in srgb,var(--faction-color) 16%,transparent),transparent 30%),linear-gradient(145deg,#0b171d,#061015 68%);padding:34px;display:grid;grid-template-columns:minmax(260px,.95fr) minmax(240px,.72fr);gap:26px;align-items:center;box-shadow:inset 0 1px rgba(255,255,255,.04),0 20px 50px rgba(0,0,0,.22)}
.ccw-own-prestige-stage:after{content:"";position:absolute;left:6%;right:6%;bottom:25px;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--faction-color) 50%,#8ea7af),transparent)}
.ccw-own-prestige-brand{display:flex;flex-direction:column;align-items:flex-start;gap:7px;z-index:2}.ccw-own-prestige-brand>.is-prestige-hq{width:82px;height:82px;border-radius:22px;border:1px solid color-mix(in srgb,var(--faction-color) 55%,rgba(255,255,255,.16));box-shadow:0 0 42px color-mix(in srgb,var(--faction-color) 20%,transparent);background:#081219}.ccw-own-prestige-brand>span{font-size:10px;letter-spacing:.18em;color:#8099a3}.ccw-own-prestige-brand h2{font-size:31px;letter-spacing:-.045em;margin:0;color:#f3f7f7}.ccw-own-prestige-brand p{max-width:620px;margin:0 0 8px;color:#8ca1a8;font-size:11px;line-height:1.55}
.ccw-own-prestige-crown{height:210px;display:grid;place-content:center;text-align:center;position:relative;z-index:1}.ccw-own-prestige-crown:before{content:"";position:absolute;inset:20px 10%;border:1px solid color-mix(in srgb,var(--faction-color) 34%,rgba(255,255,255,.08));clip-path:polygon(50% 0,100% 28%,90% 84%,50% 100%,10% 84%,0 28%);background:radial-gradient(circle,color-mix(in srgb,var(--faction-color) 14%,transparent),transparent 67%)}.ccw-own-prestige-crown i{width:58px;height:74px;margin:auto;border:2px solid color-mix(in srgb,var(--faction-color) 74%,#e0c77c);clip-path:polygon(0 100%,10% 34%,31% 57%,50% 12%,70% 57%,91% 34%,100% 100%);background:linear-gradient(180deg,color-mix(in srgb,var(--faction-color) 35%,#d8b75c),rgba(210,179,89,.08));filter:drop-shadow(0 0 22px color-mix(in srgb,var(--faction-color) 30%,transparent))}.ccw-own-prestige-crown strong{margin-top:12px;font-size:13px;color:#e8ddae;letter-spacing:.06em}.ccw-own-prestige-crown span{font-size:10px;color:#7e959d;letter-spacing:.1em}
.ccw-own-prestige-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;z-index:2}.ccw-own-prestige-stats article{padding:12px;border-top:1px solid rgba(167,195,203,.12);background:rgba(5,12,16,.45)}.ccw-own-prestige-stats b{display:block;font-size:18px;color:#e8eff0}.ccw-own-prestige-stats span{font-size:10px;letter-spacing:.13em;color:#728a93}.ccw-own-regalia{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;z-index:2}.ccw-own-regalia>span{display:grid;grid-template-columns:24px auto;column-gap:7px;align-items:center;padding:7px 9px;border:1px solid rgba(169,198,206,.11);background:rgba(5,12,16,.58);border-radius:8px}.ccw-own-regalia i{grid-row:1/3;font-style:normal;font-size:16px;color:#dbc477}.ccw-own-regalia b{font-size:10px;color:#cbdadd}.ccw-own-regalia small{font-size:10px;color:#70868e;letter-spacing:.09em}.ccw-own-regalia .is-empty{display:block;color:#788f98;font-size:10px}.ccw-own-trophy-hall,.ccw-hq-command{border:1px solid rgba(150,187,199,.11);background:rgba(7,16,21,.76);padding:18px;border-radius:17px}.ccw-hq-command{display:grid;grid-template-columns:minmax(260px,.8fr) 1.2fr;gap:18px;align-items:start}.ccw-hq-command h3{margin:4px 0 6px}.ccw-hq-command p{margin:0;color:#78909a;font-size:10px;line-height:1.5}.ccw-hq-command .ccw-faction-supplies{margin:0}
.ccw-regalia-studio{display:grid;gap:20px}.ccw-regalia-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px;border-radius:20px;border:1px solid rgba(157,193,205,.13);background:linear-gradient(145deg,rgba(12,26,34,.96),rgba(6,13,18,.98))}.ccw-regalia-hero h2{margin:4px 0 7px;font-size:24px;max-width:700px}.ccw-regalia-hero p{margin:0;color:#8198a1;font-size:10px;line-height:1.5}.ccw-regalia-live{min-width:160px;display:grid;justify-items:center;gap:5px;padding:16px;border:1px solid rgba(176,205,214,.12);border-radius:16px;background:rgba(4,10,14,.55)}.ccw-regalia-live .is-regalia{width:64px;height:64px;border-radius:18px}.ccw-regalia-live b{font-size:15px}.ccw-regalia-live small{font-size:10px;color:#789099}.ccw-regalia-stress-toggle{margin-top:7px;padding:7px 9px!important;font-size:10px!important;letter-spacing:.08em;white-space:nowrap}.ccw-regalia-stress-toggle.is-active{border-color:rgba(242,208,105,.62)!important;color:#f2d069!important;box-shadow:0 0 0 1px rgba(242,208,105,.14)}.ccw-regalia-slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ccw-regalia-slot{border:1px solid rgba(151,186,198,.12);border-radius:14px;background:rgba(8,18,24,.83);padding:13px;display:grid;gap:10px}.ccw-regalia-slot.is-filled{border-color:color-mix(in srgb,var(--faction-color) 35%,rgba(160,197,208,.16))}.ccw-regalia-slot header{display:flex;gap:9px;align-items:center}.ccw-regalia-slot header>span{font-size:19px;color:#d5bf76}.ccw-regalia-slot header b{display:block;font-size:10px}.ccw-regalia-slot header small{font-size:10px;color:#708993;letter-spacing:.1em}.ccw-regalia-preview{min-height:82px;border:1px solid rgba(150,187,199,.08);background:rgba(3,9,12,.48);padding:11px;display:grid;grid-template-columns:44px 1fr;column-gap:10px;align-items:center}.ccw-regalia-preview i{grid-row:1/3;font-style:normal;font-size:30px;text-align:center;color:#d9c276}.ccw-regalia-preview strong{font-size:10px}.ccw-regalia-preview small{font-size:10px;color:#7b929a;line-height:1.45}.ccw-regalia-slot select{width:100%;background:#071218;color:#c9d9dd;border:1px solid rgba(153,188,199,.15);padding:8px}.ccw-regalia-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ccw-regalia-item{display:grid;grid-template-columns:34px 1fr;gap:9px;padding:11px;border:1px solid rgba(151,188,199,.1);background:rgba(6,15,20,.74)}.ccw-regalia-item>i{font-style:normal;font-size:22px;color:#d7c177}.ccw-regalia-item b{font-size:10px}.ccw-regalia-item span{display:block;font-size:10px;color:#708892;letter-spacing:.09em;margin:2px 0}.ccw-regalia-item p{margin:0;font-size:10px;color:#778e97;line-height:1.4}
.ccw-public-citadel-modal[hidden]{display:none!important}.ccw-public-citadel-modal{position:fixed;z-index:100020;inset:0;background:rgba(1,5,8,.82);backdrop-filter:blur(7px);display:grid;place-items:center;padding:20px}.ccw-public-citadel-shell{position:relative;width:min(1060px,96vw);max-height:92vh;overflow:auto;border:1px solid rgba(160,196,207,.16);border-radius:22px;background:#071116;box-shadow:0 35px 90px rgba(0,0,0,.55)}.ccw-public-citadel-close{position:sticky;top:10px;float:right;z-index:4;margin:10px 10px -46px 0;width:34px;height:34px;border-radius:50%;border:1px solid rgba(170,200,209,.15);background:#0a171d;color:#aac0c7;cursor:pointer}.ccw-public-prestige{padding:28px;display:grid;gap:18px}.ccw-public-prestige-head{display:flex;align-items:center;gap:13px}.ccw-public-prestige-head .is-public-citadel{width:66px;height:66px;border-radius:17px}.ccw-public-prestige-head>div{flex:1}.ccw-public-prestige-head span{font-size:10px;letter-spacing:.16em;color:#748c95}.ccw-public-prestige-head h2{margin:3px 0;font-size:26px}.ccw-public-prestige-head h2 em{font-style:normal;color:var(--faction-color)}.ccw-public-prestige-head p{margin:0;font-size:10px;color:#8299a1}.ccw-public-prestige-head>strong{font-size:10px;color:#ddc77c;border:1px solid rgba(220,194,110,.2);padding:9px 12px;border-radius:8px}.ccw-prestige-stage{min-height:330px;border:1px solid rgba(166,199,209,.12);border-radius:19px;background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--faction-color) 18%,transparent),transparent 31%),linear-gradient(150deg,#0b171d,#050d11);padding:26px;display:grid;grid-template-columns:260px 1fr;gap:18px;align-items:center}.ccw-prestige-crest{text-align:center;display:grid;justify-items:center;gap:7px}.ccw-prestige-crest .is-stage{width:112px;height:112px;border-radius:28px;border:2px solid color-mix(in srgb,var(--faction-color) 55%,#d8c06e);box-shadow:0 0 55px color-mix(in srgb,var(--faction-color) 20%,transparent)}.ccw-prestige-crest i{width:150px;height:10px;border-radius:50%;background:color-mix(in srgb,var(--faction-color) 24%,#d7bc6b);filter:blur(6px);opacity:.6}.ccw-prestige-crest b{font-size:15px}.ccw-prestige-crest span{font-size:10px;color:#748c94;letter-spacing:.1em}.ccw-prestige-pillars{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.ccw-prestige-pillars article{padding:18px;border:1px solid rgba(166,199,209,.1);background:rgba(4,10,14,.5)}.ccw-prestige-pillars b{font-size:25px;display:block;color:#e9edef}.ccw-prestige-pillars span{font-size:10px;color:#7d949c;letter-spacing:.1em}.ccw-public-regalia{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.ccw-public-regalia>span{padding:8px 10px;border:1px solid rgba(160,194,205,.1);background:rgba(4,10,14,.55);display:grid;grid-template-columns:24px auto;gap:2px 7px}.ccw-public-regalia i{grid-row:1/3;font-style:normal;font-size:17px;color:#d6c078}.ccw-public-regalia b{font-size:10px}.ccw-public-regalia small{font-size:10px;color:#718991}.ccw-public-regalia.is-empty{font-size:10px;color:#728b94}.ccw-public-trophies,.ccw-public-monuments,.ccw-public-chronicle{padding:17px;border:1px solid rgba(155,190,201,.1);background:rgba(7,16,21,.68)}.ccw-public-trophies>div:first-child>span,.ccw-public-monuments>div:first-child>span,.ccw-public-chronicle>div:first-child>span{font-size:10px;color:#748c95;letter-spacing:.14em}.ccw-public-trophies h3,.ccw-public-monuments h3,.ccw-public-chronicle h3{margin:3px 0 11px}.ccw-public-trophy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.ccw-public-trophy-grid article{padding:10px;border:1px solid rgba(198,181,111,.13);background:rgba(47,40,19,.12);display:grid;gap:3px}.ccw-public-trophy-grid i{font-style:normal;color:#dbc577;font-size:18px}.ccw-public-trophy-grid b{font-size:10px}.ccw-public-trophy-grid small{font-size:10px;color:#7c9198}.ccw-public-monuments>div:last-child{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.ccw-public-monuments article{padding:10px;border:1px solid rgba(162,193,203,.1);display:grid;gap:3px}.ccw-public-monuments article.is-legendary{border-color:rgba(222,193,101,.3);background:linear-gradient(130deg,rgba(77,61,15,.16),rgba(8,15,19,.65))}.ccw-public-monuments b{font-size:10px}.ccw-public-monuments span,.ccw-public-monuments small{font-size:10px;color:#778f97}.ccw-public-chronicle article{display:flex;gap:9px;padding:8px 0;border-top:1px solid rgba(151,188,199,.08)}.ccw-public-chronicle i{font-style:normal;color:#d6bf76}.ccw-public-chronicle b{display:block;font-size:10px}.ccw-public-chronicle small{font-size:10px;color:#768e96}.ccw-public-prestige footer{display:grid;gap:9px}.ccw-public-links{display:flex;flex-wrap:wrap;gap:6px}.ccw-public-links a{font-size:10px;color:#9eb5bc;border:1px solid rgba(157,192,203,.14);padding:7px 9px;text-decoration:none}.ccw-public-links a.is-trade{border-color:rgba(128,209,154,.28);color:#a5e3b8}.ccw-public-prestige footer>small{color:#6f858e;font-size:10px}.ccw-public-citadel-loading{padding:70px;text-align:center;color:#8ea5ad;font-size:10px;letter-spacing:.12em}.ccw-public-citadel-loading.is-error{color:#ef9b9b}.ccw-view-public-citadel{margin-top:9px;width:100%}
.ccw-hover-owner.is-sea i{background:#2e8fc0!important}.ccw-hover-owner.is-sea strong{color:#a9d9f0}.ccw-tile-info .ccw-sea-note{color:#8ec9e5}.ccw-hover-owner.is-polar i,.ccw-quick-owner.is-polar i{background:#d6eef5!important}.ccw-hover-owner.is-polar strong,.ccw-quick-owner.is-polar b{color:#e8f8ff}.ccw-quick-owner.is-polar{grid-template-columns:9px 1fr!important}.ccw-quick-owner.is-polar > span,.ccw-quick-owner.is-polar > b{grid-column:2!important}.ccw-quick-owner.is-polar > i{grid-column:1!important}
@media(max-width:800px){.ccw-own-prestige-stage,.ccw-prestige-stage,.ccw-hq-command{grid-template-columns:1fr}.ccw-own-prestige-stats{grid-template-columns:repeat(2,1fr)}.ccw-regalia-slot-grid,.ccw-regalia-collection,.ccw-public-monuments>div:last-child{grid-template-columns:1fr}.ccw-public-trophy-grid{grid-template-columns:repeat(2,1fr)}.ccw-public-citadel-modal{padding:7px}.ccw-public-prestige{padding:17px}.ccw-public-prestige-head{align-items:flex-start}.ccw-public-prestige-head>strong{display:none}}


/* v0.57 Prestige Hall redesign */

.ccw-own-prestige-stage-v2,.ccw-prestige-stage-v2{grid-template-columns:minmax(250px,.8fr) minmax(460px,1.5fr) minmax(220px,.75fr)!important;align-items:stretch;min-height:auto;padding:24px;gap:18px}
.ccw-prestige-stage-left{display:grid;gap:12px;align-content:start}
.ccw-prestige-mini-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.ccw-prestige-mini-stats article{padding:11px;border:1px solid rgba(165,191,200,.12);border-radius:12px;background:rgba(6,13,18,.6)}.ccw-prestige-mini-stats b{display:block;font-size:18px;color:#edf1f2}.ccw-prestige-mini-stats span{font-size:10px;letter-spacing:.12em;color:#758c95}
.ccw-own-hall-scene,.ccw-public-hall-scene{border:1px solid rgba(183,201,208,.11);border-radius:18px;background:linear-gradient(180deg,rgba(18,28,34,.96),rgba(9,15,19,.98));padding:18px;display:grid;gap:14px;position:relative;overflow:hidden}
.ccw-own-hall-scene:before,.ccw-public-hall-scene:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,color-mix(in srgb,var(--faction-color) 16%,transparent),transparent 42%),linear-gradient(180deg,transparent 0 68%,rgba(190,166,96,.06) 68%,transparent 69%);pointer-events:none}
.ccw-own-hall-title,.ccw-public-hall-title{position:relative;z-index:1}.ccw-own-hall-title span,.ccw-public-hall-title span{display:block;font-size:10px;letter-spacing:.15em;color:#7f97a0}.ccw-own-hall-title h3,.ccw-public-hall-title h3{margin:2px 0 6px;font-size:22px}.ccw-own-hall-title p,.ccw-public-hall-title p{margin:0;color:#8399a2;font-size:10px;line-height:1.55}
.ccw-own-hall-pedestals,.ccw-public-hall-pedestals{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;position:relative;z-index:1}.ccw-own-hall-pedestals article,.ccw-public-hall-pedestals article{border:1px solid rgba(180,198,205,.12);border-radius:14px;background:linear-gradient(180deg,rgba(34,30,19,.2),rgba(10,15,19,.92));padding:12px 10px;display:grid;justify-items:center;gap:4px;box-shadow:inset 0 1px rgba(255,255,255,.05)}.ccw-own-hall-pedestals span,.ccw-public-hall-pedestals span{font-size:20px}.ccw-own-hall-pedestals b,.ccw-public-hall-pedestals b{font-size:22px;color:#f1f4f5}.ccw-own-hall-pedestals small,.ccw-public-hall-pedestals small{font-size:10px;color:#7d939c;text-align:center;letter-spacing:.08em}
.ccw-own-regalia-v2,.ccw-public-regalia-v2{position:relative;z-index:1;border-top:1px solid rgba(173,192,199,.1);padding-top:12px}.ccw-own-regalia-v2>span,.ccw-public-regalia-v2>span{border-radius:12px;padding:9px 10px;background:rgba(5,12,16,.72)}
.ccw-own-prestige-side,.ccw-prestige-stage-right{display:grid;gap:10px;align-content:start}.ccw-own-side-card,.ccw-public-side-panel{border:1px solid rgba(165,189,198,.11);border-radius:14px;background:rgba(8,15,20,.82);padding:13px;display:grid;gap:5px}.ccw-own-side-card span,.ccw-public-side-panel span{font-size:10px;letter-spacing:.14em;color:#7d949d}.ccw-own-side-card b,.ccw-public-side-panel b{font-size:14px;color:#edf1f2}.ccw-own-side-card small,.ccw-public-side-panel small{font-size:10px;color:#7f959d;line-height:1.5}.ccw-own-side-card.is-muted,.ccw-public-side-panel.is-muted{background:rgba(5,10,13,.78)}
.ccw-trophy-grid-v2,.ccw-public-hall-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;position:relative;z-index:1}.ccw-trophy-card,.ccw-public-hall-card{border:1px solid rgba(191,174,103,.14);border-radius:14px;background:linear-gradient(180deg,rgba(54,44,20,.17),rgba(7,13,17,.9));padding:12px;display:grid;gap:5px;align-content:start;min-height:104px}.ccw-trophy-card span,.ccw-public-hall-card i{font-style:normal;font-size:20px;color:#dcc679}.ccw-trophy-card b,.ccw-public-hall-card b{font-size:10px;color:#eef2f2}.ccw-trophy-card small,.ccw-public-hall-card small{font-size:10px;color:#81979f;line-height:1.45}.ccw-trophy-card.is-empty,.ccw-public-hall-card.is-empty{border-style:dashed;background:rgba(7,13,17,.82)}
.ccw-own-prestige-brand{padding:8px 0}.ccw-own-prestige-brand h2{font-size:28px}.ccw-own-prestige-brand p{font-size:10px}.ccw-own-prestige-stats{display:none}.ccw-public-prestige-v2 footer{display:none}.ccw-public-links{display:flex;flex-wrap:wrap;gap:6px}.ccw-public-links span{font-size:10px;color:#7c9199}
@media(max-width:980px){.ccw-own-prestige-stage-v2,.ccw-prestige-stage-v2{grid-template-columns:1fr!important}.ccw-own-hall-pedestals,.ccw-public-hall-pedestals,.ccw-trophy-grid-v2,.ccw-public-hall-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.ccw-own-hall-pedestals,.ccw-public-hall-pedestals,.ccw-trophy-grid-v2,.ccw-public-hall-grid,.ccw-prestige-mini-stats{grid-template-columns:1fr 1fr}.ccw-own-prestige-brand h2{font-size:24px}}


/* v0.61.0 performance pass */
.ccw-globe-canvas{filter:none!important;will-change:auto!important}.ccw-globe-fx-canvas{position:absolute;inset:0;z-index:3;width:100%;height:100%;display:block;pointer-events:none;filter:none!important}
.ccw-v08 .ccw-globe-canvas{filter:none!important}.ccw-v08 .ccw-globe-fx-canvas{z-index:3}
.ccw-v08 .ccw-map-tools,.ccw-v08 .ccw-terrain-key,.ccw-v08 .ccw-map-modes,.ccw-v08 .ccw-world-overlay,.ccw-v08 .ccw-world-bottombar,.ccw-v08 .ccw-map-help,.ccw-map-legend-panel,.ccw-game-hud,.ccw-hub-nav{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.ccw-v08 .ccw-map-tools{background:rgba(4,9,14,.94)!important}.ccw-v08 .ccw-terrain-key,.ccw-v08 .ccw-map-modes{background:rgba(3,9,14,.93)!important}.ccw-v08 .ccw-world-overlay{background:rgba(5,13,19,.93)!important}.ccw-v08 .ccw-world-bottombar{background:linear-gradient(180deg,rgba(4,10,15,.02),rgba(4,10,15,.94))!important}.ccw-game-hud{background:rgba(5,11,17,.97)!important}.ccw-hub-nav{background:rgba(5,12,18,.97)!important}
.ccw-map-viewport.has-popover .ccw-world-overlay-left,.ccw-map-viewport.has-popover .ccw-map-help{opacity:0!important;transform:translateY(-6px);pointer-events:none!important}.ccw-map-viewport.has-popover .ccw-world-alert,.ccw-map-viewport.has-popover .ccw-world-sponsor{opacity:.15}
.ccw-war-card.is-last-push:before{animation-duration:3.6s!important;opacity:.65}
@media(prefers-reduced-motion:reduce){.ccw-v08 *, .ccw-v08 *:before,.ccw-v08 *:after{scroll-behavior:auto!important}.ccw-war-card.is-last-push:before{animation:none!important}}

/* v0.64 UX simplification */
.ccw-inline-research{margin:18px 0;padding:18px;border:1px solid rgba(145,181,195,.12);border-radius:16px;background:rgba(7,16,21,.72)}
.ccw-proposal-question{display:grid;gap:3px;margin:9px 0;padding:10px 12px;border-left:3px solid var(--faction-color,#7ca);background:rgba(255,255,255,.025)}.ccw-proposal-question strong{font-size:10px}.ccw-proposal-question span{font-size:10px;color:#81959d}.ccw-proposal-details{margin-top:8px;color:#778d95;font-size:10px}.ccw-proposal-details summary{cursor:pointer;color:#9eb2b9}

/* v0.66 production/mobile polish */
@media(max-width:780px){
  .ccw-game-hud{grid-template-columns:1fr auto;gap:8px;padding:8px 10px}.ccw-brand-lockup{display:none}.ccw-tabs{grid-column:1/-1;order:2;display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;padding-bottom:2px}.ccw-tabs::-webkit-scrollbar{display:none}.ccw-tab{flex:1 0 auto;min-width:86px;padding:9px 11px}.ccw-hud-right{grid-column:1/-1;justify-content:flex-end}.ccw-layout{display:block}.ccw-main{min-width:0}.ccw-sidebar{position:relative;inset:auto;width:auto;max-height:none;display:grid;grid-template-columns:1fr;gap:10px;padding:10px}.ccw-map-viewport{min-height:68dvh;height:68dvh}.ccw-map-tools{max-width:calc(100vw - 24px);overflow-x:auto}.ccw-map-modes{max-width:calc(100vw - 24px);overflow-x:auto;white-space:nowrap}.ccw-map-help{display:none}.ccw-world-bottombar{left:8px;right:8px;bottom:8px}.ccw-tile-quick{left:8px!important;right:8px!important;bottom:64px!important;top:auto!important;width:auto!important;max-height:55dvh;overflow:auto}.ccw-map-context{max-width:calc(100vw - 24px);max-height:62dvh;overflow:auto}.ccw-hub-nav{display:flex;overflow-x:auto;white-space:nowrap}.ccw-hub-nav button{flex:0 0 auto}.ccw-tech-grid,.ccw-citadel-building-grid,.ccw-ranking-list{min-width:0}.ccw-battle-versus{grid-template-columns:1fr}.ccw-battle-center{order:-1}.ccw-public-citadel-shell{width:98vw;max-height:95dvh}
}
@media(max-width:480px){.ccw-map-viewport{min-height:64dvh;height:64dvh}.ccw-player .ccw-hud-reward,.ccw-player .ccw-name{display:none}.ccw-world-overlay-left{max-width:55vw}.ccw-world-overlay-left strong{font-size:15px}.ccw-command-button span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ccw-shell *,.ccw-shell *:before,.ccw-shell *:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.ccw-impact-toast,.ccw-battle-result-flash{transform:none!important}}

/* v0.66.1 quick tile / water panel fix */
.ccw-quick-owner.is-sea{grid-template-columns:9px 1fr!important}.ccw-quick-owner.is-sea > span,.ccw-quick-owner.is-sea > b{grid-column:2!important}.ccw-quick-owner.is-sea > i{grid-column:1!important}.ccw-tile-quick footer{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(3,11,16,.84),rgba(3,11,16,.98));z-index:2}.ccw-tile-quick footer button{min-height:32px;border-radius:8px}.ccw-tile-quick{z-index:95}


/* v0.67 · World Planet launch polish / sponsor-first presentation */
.ccw-world-sponsor{position:absolute;z-index:11;top:16px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:auto auto;align-items:center;column-gap:8px;row-gap:2px;max-width:min(360px,30%);padding:8px 12px;border:1px solid rgba(255,216,107,.32);border-radius:10px;background:rgba(6,12,17,.94);box-shadow:0 8px 26px rgba(0,0,0,.28);color:#eef8fb;text-decoration:none!important;text-align:left}.ccw-world-sponsor[hidden]{display:none!important}.ccw-world-sponsor span{grid-column:1/-1;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.16em;color:#d9be69}.ccw-world-sponsor b{font:900 11px/1.1 ui-sans-serif,system-ui;color:#fff}.ccw-world-sponsor small{font:700 10px/1.2 ui-sans-serif,system-ui;color:#829aa5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ccw-world-sponsor[href]:hover{border-color:rgba(255,216,107,.65);transform:translateX(-50%) translateY(-1px)}
.ccw-season-sponsor a{margin-left:auto;color:#ffe08a!important;font-size:10px;font-weight:900;letter-spacing:.08em;text-decoration:none}.ccw-season-sponsor a:hover{text-decoration:underline}.ccw-regalia-hero{border-color:rgba(255,216,107,.16)}
@media(max-width:760px){.ccw-world-sponsor{top:58px;max-width:calc(100% - 24px);width:max-content}.ccw-world-sponsor small{display:none}.ccw-world-sponsor b{font-size:10px}}

.ccw-world-meta{display:block;margin-top:3px;font:800 10px/1.3 ui-sans-serif,system-ui;letter-spacing:.09em;color:#86a5b3}

/* v0.68.0 · $CIV Genesis funding / neutral World-token layer */
.ccw-qual-stack{display:grid;gap:7px}
.ccw-genesis-funding-compact{display:grid;grid-template-columns:1fr auto;gap:5px 14px;align-items:center;padding:9px 12px;border:1px solid rgba(145,119,255,.22);border-radius:9px;background:linear-gradient(100deg,rgba(67,43,120,.16),rgba(10,22,30,.91));box-shadow:inset 3px 0 0 rgba(142,112,255,.65)}
.ccw-genesis-funding-compact>div{display:grid;gap:2px}.ccw-genesis-funding-compact span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.15em;color:#9f8ee7}.ccw-genesis-funding-compact b{font-size:12px;color:#f3efff}.ccw-genesis-funding-compact b em{font-style:normal;font-size:10px;color:#8194a0;font-weight:700}.ccw-genesis-funding-compact small{font-size:10px;color:#879da8}.ccw-genesis-funding-compact>strong{font-size:15px;color:#cbbfff}.ccw-genesis-funding-compact>i{grid-column:1/-1;display:block;height:3px;border-radius:3px;background:rgba(255,255,255,.07);overflow:hidden}.ccw-genesis-funding-compact>i>u{display:block;height:100%;background:linear-gradient(90deg,#6f5adb,#a991ff);text-decoration:none}
.ccw-genesis-funding{margin:12px 0;border:1px solid rgba(149,125,255,.23);border-radius:14px;background:linear-gradient(145deg,rgba(44,29,84,.22),rgba(4,12,18,.92));overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.24)}
.ccw-genesis-funding>header{display:grid;grid-template-columns:1fr auto;gap:18px;padding:16px 18px;align-items:center}.ccw-genesis-funding>header>div:first-child>span{display:block;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.16em;color:#a594f2}.ccw-genesis-funding h3{margin:5px 0 4px;font-size:18px;color:#f2efff}.ccw-genesis-funding p{margin:0;max-width:680px;font-size:10px;line-height:1.5;color:#92a7b1}.ccw-genesis-funding>header>div:last-child{display:grid;justify-items:end;gap:2px;text-align:right}.ccw-genesis-funding>header>div:last-child small{font-size:10px;letter-spacing:.11em;color:#738a96}.ccw-genesis-funding>header>div:last-child b{font-size:23px;color:#e6dfff}.ccw-genesis-funding>header>div:last-child em{font-style:normal;font-size:10px;color:#7f96a1}.ccw-genesis-funding-track{height:5px;background:rgba(255,255,255,.055)}.ccw-genesis-funding-track i{display:block;height:100%;background:linear-gradient(90deg,#6252c8,#aa91ff);box-shadow:0 0 18px rgba(149,120,255,.35)}
.ccw-genesis-funding-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));border-top:1px solid rgba(255,255,255,.045);border-bottom:1px solid rgba(255,255,255,.045)}.ccw-genesis-funding-grid article{padding:11px 13px;border-right:1px solid rgba(255,255,255,.05)}.ccw-genesis-funding-grid article:last-child{border-right:0}.ccw-genesis-funding-grid span{display:block;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.12em;color:#748f9d}.ccw-genesis-funding-grid b{display:block;margin-top:5px;font-size:13px;color:#e8f1f5}.ccw-genesis-funding-grid small{display:block;margin-top:3px;font-size:10px;color:#6f8792}
.ccw-genesis-funding>footer{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:10px 14px}.ccw-genesis-funding>footer span{font-size:10px;color:#a7bdc7}.ccw-genesis-funding>footer strong{margin-left:auto;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.09em;color:#a896f0}
.ccw-genesis-foundation{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;margin:10px 0 14px;padding:12px 14px;border:1px solid rgba(184,158,255,.18);border-radius:12px;background:linear-gradient(100deg,rgba(48,31,91,.18),rgba(5,14,20,.64))}.ccw-genesis-foundation-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(185,158,255,.42);border-radius:50%;color:#c9b8ff;box-shadow:0 0 18px rgba(138,102,238,.15)}.ccw-genesis-foundation>div:nth-child(2)>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.15em;color:#8879ca}.ccw-genesis-foundation h3{margin:3px 0 2px;font-size:12px;color:#eeeaff}.ccw-genesis-foundation p{margin:0;font-size:10px;color:#7e949e}.ccw-genesis-foundation-stats{display:flex;gap:14px}.ccw-genesis-foundation-stats span{display:grid;text-align:right;gap:2px}.ccw-genesis-foundation-stats b{font-size:10px;color:#e5edf1}.ccw-genesis-foundation-stats small{font:800 10px/1.2 ui-sans-serif,system-ui;letter-spacing:.09em;color:#6c828d}
.ccw-token-conflict.is-world-token{border-color:rgba(165,139,255,.4)!important;background:rgba(65,45,122,.15)!important}.ccw-token-conflict.is-world-token b{color:#d8ccff!important}
@media(max-width:760px){.ccw-genesis-funding>header{grid-template-columns:1fr}.ccw-genesis-funding>header>div:last-child{justify-items:start;text-align:left}.ccw-genesis-funding-grid{grid-template-columns:1fr 1fr}.ccw-genesis-funding-grid article:nth-child(2){border-right:0}.ccw-genesis-funding-grid article:nth-child(n+3){border-top:1px solid rgba(255,255,255,.05)}.ccw-genesis-foundation{grid-template-columns:auto 1fr}.ccw-genesis-foundation-stats{grid-column:1/-1;justify-content:space-between}.ccw-genesis-foundation-stats span{text-align:left}.ccw-genesis-funding>footer strong{width:100%;margin-left:0}}
.ccw-genesis-received{display:block!important;margin-top:7px;font:800 10px/1.4 ui-sans-serif,system-ui!important;letter-spacing:.08em;color:#786fa3!important}.ccw-genesis-received b{font-size:10px!important;color:#c8bbff!important}.ccw-genesis-foundation>div:nth-child(2)>small{display:block;margin-top:5px;font-size:10px;line-height:1.35;color:#8b7dc4}

/* v0.70 · CivCoin economy + Legacy polish */
.ccw-v08 .ccw-vault-prize.is-world-pool{background:rgba(169,139,255,.05);border-color:rgba(169,139,255,.16)}
.ccw-v08 .ccw-vault-prize.is-world-pool span{color:#cbbcff}
.ccw-v08 .ccw-commander-card>div:first-child b{letter-spacing:.01em}

/* v0.73 · Winning Conditions / standalone Domination paths */
.ccw-v08 .ccw-winning-conditions{margin:14px 0 18px;padding:16px;border:1px solid rgba(231,191,87,.2);border-radius:14px;background:linear-gradient(145deg,rgba(35,28,13,.28),rgba(6,15,20,.9));box-shadow:inset 3px 0 0 rgba(231,191,87,.55)}
.ccw-v08 .ccw-winning-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:13px}.ccw-v08 .ccw-winning-head h2{margin:4px 0 5px;font-size:21px;letter-spacing:-.02em;color:#f2f5ef}.ccw-v08 .ccw-winning-head p{margin:0;max-width:760px;font-size:10px;line-height:1.5;color:#8297a0}.ccw-v08 .ccw-winning-head p b{color:#e5ca78}.ccw-v08 .ccw-winning-head>strong{white-space:nowrap;padding:8px 10px;border:1px solid rgba(231,191,87,.26);border-radius:8px;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.12em;color:#e2c66f;background:rgba(231,191,87,.06)}
.ccw-v08 .ccw-win-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ccw-v08 .ccw-win-card{position:relative;overflow:hidden;min-height:166px;padding:13px;border:1px solid rgba(145,180,194,.12);border-radius:11px;background:rgba(5,13,18,.78);display:flex;flex-direction:column;gap:6px}.ccw-v08 .ccw-win-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:rgba(231,191,87,.38)}.ccw-v08 .ccw-win-card.is-counting{border-color:rgba(239,188,61,.5);box-shadow:0 0 26px rgba(239,188,61,.09),inset 0 0 22px rgba(239,188,61,.035)}.ccw-v08 .ccw-win-card.is-locked{opacity:.72}.ccw-v08 .ccw-win-card header{display:flex;justify-content:space-between;gap:10px;align-items:center}.ccw-v08 .ccw-win-card header>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.15em;color:#d6bc68}.ccw-v08 .ccw-win-card header>b{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.09em;color:#8da4ae}.ccw-v08 .ccw-win-card h3{margin:1px 0 2px;font-size:11px;line-height:1.35;color:#dce8ec;font-weight:760}.ccw-v08 .ccw-win-card>strong{font:900 20px/1.1 ui-monospace,monospace;color:#f0f5f6}.ccw-v08 .ccw-win-card>small{font-size:10px;line-height:1.48;color:#748b95}.ccw-v08 .ccw-win-progress{height:5px;margin:3px 0 1px;border-radius:5px;background:rgba(255,255,255,.055);overflow:hidden}.ccw-v08 .ccw-win-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#896e2f,#e2bd58)}.ccw-v08 .ccw-win-lock{padding:4px 6px;border:1px solid rgba(128,150,158,.15);border-radius:5px;color:#758993!important}.ccw-v08 .ccw-win-live{color:#f2ce68!important}.ccw-v08 .ccw-win-countdown{margin-top:auto;padding-top:8px;border-top:1px solid rgba(231,191,87,.16);display:flex;align-items:center;justify-content:space-between;gap:10px}.ccw-v08 .ccw-win-countdown span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.14em;color:#9f8747}.ccw-v08 .ccw-win-countdown b{font:900 14px/1 ui-monospace,monospace;color:#f0ce6b}.ccw-v08 .ccw-win-active{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 10px;padding:8px 10px;border:1px solid rgba(232,188,70,.2);border-radius:8px;background:rgba(232,188,70,.055)}.ccw-v08 .ccw-win-active>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.15em;color:#b99a45}.ccw-v08 .ccw-win-active>b{font-size:10px;color:#e8d18a}.ccw-v08 .ccw-domination-banner{border-color:rgba(232,188,70,.36);background:linear-gradient(100deg,rgba(74,53,11,.22),rgba(8,18,24,.92))}
@media(max-width:760px){.ccw-v08 .ccw-winning-head{display:grid}.ccw-v08 .ccw-winning-head>strong{justify-self:start}.ccw-v08 .ccw-win-grid{grid-template-columns:1fr}.ccw-v08 .ccw-win-card{min-height:150px}}

/* v0.74 · Winning Conditions / Prosperity */
.ccw-v08 .ccw-win-category{margin-top:14px;padding-top:13px;border-top:1px solid rgba(255,255,255,.06)}
.ccw-v08 .ccw-win-category>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.ccw-v08 .ccw-win-category>header>div{display:flex;align-items:center;gap:9px}.ccw-v08 .ccw-win-category>header span{font:900 10px/1 ui-monospace,monospace;color:#667d87}.ccw-v08 .ccw-win-category>header h3{margin:0;font:900 11px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#e4cf87}.ccw-v08 .ccw-win-category>header>b{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.11em;color:#879da6}.ccw-v08 .ccw-win-category>p{margin:0 0 10px;font-size:10px;line-height:1.45;color:#708792}
.ccw-v08 .ccw-win-category.is-prosperity>header h3{color:#87d8b4}.ccw-v08 .ccw-win-category.is-prosperity .ccw-win-card:before{background:rgba(89,203,151,.5)}.ccw-v08 .ccw-win-category.is-prosperity .ccw-win-card header>span{color:#89d5b4}.ccw-v08 .ccw-win-category.is-prosperity .ccw-win-progress i{background:linear-gradient(90deg,#2f7960,#72d1a7)}
.ccw-v08 .ccw-win-action{margin-top:auto;align-self:flex-start;font-size:10px;padding:7px 9px}

/* v0.76 · Innovation + Research 3.2 */
.ccw-v08 .ccw-win-category.is-innovation>header h3{color:#9bb8ff}.ccw-v08 .ccw-win-category.is-innovation .ccw-win-card:before{background:rgba(117,148,240,.55)}.ccw-v08 .ccw-win-category.is-innovation .ccw-win-card header>span{color:#aabfff}.ccw-v08 .ccw-win-category.is-innovation .ccw-win-progress i{background:linear-gradient(90deg,#405eaa,#8dabff)}
.ccw-v08 .ccw-research-v2{display:grid;gap:12px}.ccw-v08 .ccw-research-profile{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ccw-v08 .ccw-research-profile>div{padding:10px;border:1px solid rgba(132,166,255,.14);border-radius:8px;background:linear-gradient(145deg,rgba(39,54,94,.16),rgba(8,17,24,.88));display:grid;gap:4px}.ccw-v08 .ccw-research-profile span,.ccw-v08 .ccw-research-queue>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#7e99e5}.ccw-v08 .ccw-research-profile b{font:900 15px/1 ui-monospace,monospace;color:#e2e9ff}.ccw-v08 .ccw-research-profile small{font-size:10px;line-height:1.4;color:#718696}
.ccw-v08 .ccw-research-queue{padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:rgba(5,13,18,.55);display:grid;gap:6px}.ccw-v08 .ccw-research-queue>small{font-size:10px;color:#748a94}.ccw-v08 .ccw-research-job-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-top:5px;border-top:1px solid rgba(255,255,255,.05);font-size:10px;color:#94a9b4}.ccw-v08 .ccw-research-job-row b{font-size:10px;color:#becdff}
.ccw-v08 .ccw-tech-card.is-research-2{align-content:start;min-width:0}.ccw-v08 .ccw-tech-card.is-research-2 .ccw-tech-head{align-items:flex-start}.ccw-v08 .ccw-tech-ladder{display:grid;gap:3px;margin-top:2px}.ccw-v08 .ccw-tech-tier{display:grid;grid-template-columns:25px minmax(90px,.7fr) 1.5fr;gap:6px;align-items:center;padding:5px 6px;border:1px solid rgba(255,255,255,.055);border-radius:5px;background:rgba(0,0,0,.12);opacity:.68}.ccw-v08 .ccw-tech-tier>span{font:900 10px/1 ui-monospace,monospace;color:#657b88}.ccw-v08 .ccw-tech-tier>b{font-size:10px;color:#99aab2}.ccw-v08 .ccw-tech-tier>small{font-size:10px;line-height:1.3;color:#657983}.ccw-v08 .ccw-tech-tier.is-done{opacity:1;border-color:rgba(102,188,160,.15);background:rgba(50,122,99,.07)}.ccw-v08 .ccw-tech-tier.is-done>span,.ccw-v08 .ccw-tech-tier.is-done>b{color:#8ad2b5}.ccw-v08 .ccw-tech-tier.is-next{opacity:1;border-color:rgba(132,166,255,.26);background:rgba(75,99,168,.11)}.ccw-v08 .ccw-tech-tier.is-next>span,.ccw-v08 .ccw-tech-tier.is-next>b{color:#b8c8ff}.ccw-v08 .ccw-tech-tier.is-gated:not(.is-done){opacity:.42}.ccw-v08 .ccw-tech-job{position:relative;overflow:hidden;display:flex;justify-content:space-between;padding:6px 7px;border:1px solid rgba(132,166,255,.15);border-radius:5px;font-size:10px;color:#9fb1e9}.ccw-v08 .ccw-tech-job i{position:absolute;left:0;bottom:0;height:2px;background:#738fe9}.ccw-v08 .ccw-tech-cost{min-height:26px;line-height:1.4}
@media(max-width:980px){.ccw-v08 .ccw-research-profile{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.ccw-v08 .ccw-research-profile{grid-template-columns:1fr}.ccw-v08 .ccw-tech-tier{grid-template-columns:24px 1fr}.ccw-v08 .ccw-tech-tier>small{grid-column:2}}

/* v0.76 Research 3.2 · doctrine tree */
.ccw-v08 .ccw-research-tree{display:grid;gap:14px}.ccw-v08 .ccw-research-branch{border:1px solid rgba(132,166,255,.12);background:rgba(6,13,20,.46);padding:12px;border-radius:8px}.ccw-v08 .ccw-research-branch-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:10px}.ccw-v08 .ccw-research-branch-head>div{display:flex;gap:10px;align-items:flex-start}.ccw-v08 .ccw-research-branch-head>div>span{font-size:22px;line-height:1;color:#a9baff}.ccw-v08 .ccw-research-branch-head small{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#6f88ca}.ccw-v08 .ccw-research-branch-head h3{margin:3px 0 2px;font-size:14px;color:#e2e9ff}.ccw-v08 .ccw-research-branch-head p{margin:0;font-size:10px;color:#718696}.ccw-v08 .ccw-research-branch-head>strong{font:800 10px/1.3 ui-monospace,monospace;color:#91a7e8;white-space:nowrap}.ccw-v08 .ccw-research-node-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px}.ccw-v08 .ccw-tech-node{display:grid;align-content:start;gap:7px;min-height:190px;padding:10px;border:1px solid rgba(151,188,207,.1);border-radius:6px;background:linear-gradient(150deg,rgba(15,27,37,.9),rgba(8,17,24,.92))}.ccw-v08 .ccw-tech-node header{display:flex;gap:8px;align-items:flex-start}.ccw-v08 .ccw-tech-node header>span{font-size:20px}.ccw-v08 .ccw-tech-node header small{display:block;font:800 10px/1.35 ui-monospace,monospace;color:#6f8492}.ccw-v08 .ccw-tech-node h4{margin:3px 0 0;font-size:10px;color:#d9e6eb}.ccw-v08 .ccw-tech-node p{margin:0;min-height:34px;font-size:10px;line-height:1.45;color:#7f949f}.ccw-v08 .ccw-tech-node-cost{display:grid;gap:3px;margin-top:auto}.ccw-v08 .ccw-tech-node-cost b{font:800 10px/1.4 ui-monospace,monospace;color:#d7c57b}.ccw-v08 .ccw-tech-node-cost small{font-size:10px;line-height:1.35;color:#9b7380}.ccw-v08 .ccw-tech-node.is-done{border-color:rgba(91,190,147,.25);background:linear-gradient(150deg,rgba(21,57,47,.32),rgba(8,17,24,.92))}.ccw-v08 .ccw-tech-node.is-done h4{color:#9ed7bd}.ccw-v08 .ccw-tech-node.is-locked{opacity:.58}.ccw-v08 .ccw-tech-node.is-active{border-color:rgba(132,166,255,.34);box-shadow:inset 0 0 22px rgba(89,111,184,.07)}
@media(max-width:760px){.ccw-v08 .ccw-research-profile{grid-template-columns:1fr 1fr}.ccw-v08 .ccw-research-branch-head{display:grid}.ccw-v08 .ccw-research-node-grid{grid-template-columns:1fr}}

/* v0.76 · Research 3.2 doctrine specialization + capstones */
.ccw-v08 .ccw-branch-doctrine{display:inline-block;margin-top:5px;padding:3px 5px;border:1px solid rgba(126,153,229,.2);border-radius:4px;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.1em;color:#9bb0ef;background:rgba(92,112,177,.08)}
.ccw-v08 .ccw-doctrine-tag{display:inline-block;margin-top:5px;padding:3px 5px;border-radius:4px;border:1px solid rgba(209,177,87,.22);font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.09em;color:#d8bf78;background:rgba(181,139,44,.07)}
.ccw-v08 .ccw-doctrine-tag.is-primary{border-color:rgba(94,194,151,.24);color:#9ed7bd;background:rgba(49,130,96,.08)}
.ccw-v08 .ccw-doctrine-tag.is-secondary{border-color:rgba(220,126,102,.28);color:#e3a08d;background:rgba(164,67,47,.08)}
.ccw-v08 .ccw-tech-node.is-capstone{border-color:rgba(220,190,103,.28);background:linear-gradient(150deg,rgba(56,45,18,.3),rgba(8,17,24,.94));box-shadow:inset 0 0 26px rgba(219,181,82,.045)}
.ccw-v08 .ccw-tech-node.is-capstone h4{color:#ead79a}.ccw-v08 .ccw-tech-node.is-capstone header>span{filter:drop-shadow(0 0 8px rgba(232,198,104,.2))}

.ccw-upgrade-tech-gate{display:block;margin-top:6px;font-size:11px;letter-spacing:.04em;opacity:.82}

/* v0.90.0 · Timed Development Claims */
.ccw-claim-card{display:grid;gap:5px;margin:8px 0;padding:10px 11px;border:1px solid rgba(238,184,93,.28);background:rgba(91,68,22,.12);border-radius:9px}
.ccw-claim-card.is-own{border-color:rgba(91,201,237,.32);background:rgba(54,143,174,.08)}
.ccw-claim-card>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.14em;color:#d8ae61}.ccw-claim-card.is-own>span{color:#79d6f5}
.ccw-claim-card>b{font-size:10px;color:#f1f8fb}.ccw-claim-card>small{font-size:10px;line-height:1.4;color:#94aab5}
.ccw-claim-progress{height:5px;border-radius:20px;overflow:hidden;background:rgba(255,255,255,.07);margin-top:3px}.ccw-claim-progress>i{display:block;height:100%;background:linear-gradient(90deg,rgba(91,201,237,.72),rgba(130,231,193,.86));border-radius:inherit}


/* v0.91.6 · Navigation hit-area / accessibility */
.ccw-shell.ccw-v08 .ccw-tabs{position:relative;z-index:30;align-items:stretch!important;min-height:48px;}
.ccw-shell.ccw-v08 .ccw-tab{
  min-height:48px!important;min-width:92px!important;padding:0 18px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  pointer-events:auto!important;touch-action:manipulation;-webkit-tap-highlight-color:rgba(117,211,244,.12);
  cursor:pointer!important;user-select:none;
}
.ccw-shell.ccw-v08 .ccw-tab[data-view="faction"]{min-width:132px!important;}
.ccw-shell.ccw-v08 .ccw-tab:active{background:rgba(117,211,244,.09)!important;transform:translateY(1px);}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tab{
  flex:0 0 auto!important;min-height:48px!important;min-width:92px!important;padding:0 16px!important;
}
body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tab[data-view="faction"]{min-width:132px!important;}
@media(max-width:900px){
  .ccw-shell.ccw-v08 .ccw-tabs{min-height:56px;}
  .ccw-shell.ccw-v08 .ccw-tab,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tab{min-height:50px!important;min-width:78px!important;padding:6px 10px!important;}
  .ccw-shell.ccw-v08 .ccw-tab[data-view="faction"],
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tab[data-view="faction"]{min-width:108px!important;}
}

/* v0.91.6 globe/UI stacking fix */
.ccw-v08 .ccw-tile-quick{z-index:120!important}
.ccw-v08 .ccw-map-context{z-index:121!important}
.ccw-v08 .ccw-map-legend-panel{z-index:110!important}
.ccw-v08 .ccw-globe-fx-canvas{z-index:3!important}


/* v0.91.6 · Globe popovers live above the canvas compositor */
.ccw-v08 #ccw-map-card{isolation:isolate!important}
.ccw-v08 #ccw-map-viewport{z-index:1!important;contain:paint!important}
.ccw-v08 .ccw-map-popover-layer{position:absolute;inset:0;z-index:250!important;pointer-events:none;overflow:hidden}
.ccw-v08 .ccw-map-popover-layer>.ccw-map-hover,
.ccw-v08 .ccw-map-popover-layer>.ccw-tile-quick,
.ccw-v08 .ccw-map-popover-layer>.ccw-map-context{pointer-events:auto;z-index:1!important}
.ccw-v08 .ccw-map-popover-layer>.ccw-map-context{z-index:2!important}

/* v0.92.0 sidebar overhaul */
.ccw-v08 .ccw-sidebar-quicknav{position:sticky;top:0;z-index:25;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:10px 12px;border-bottom:1px solid var(--ccw-line);background:linear-gradient(180deg,rgba(7,12,17,.98),rgba(7,12,17,.92))}
.ccw-v08 .ccw-sidebar-quicknav button{appearance:none;border:1px solid rgba(144,188,207,.12);background:#09131a;color:#8ca3af;padding:8px 4px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.ccw-v08 .ccw-sidebar-quicknav button.is-active,.ccw-v08 .ccw-sidebar-quicknav button:hover{color:#e2eff3;border-color:rgba(121,211,243,.35);background:#0d1a22}
.ccw-v08 .ccw-command-panel[data-sidebar-section]{scroll-margin-top:58px}
.ccw-v08 .ccw-command-panel[data-sidebar-section].is-collapsed>:not(.ccw-panel-head){display:none!important}
.ccw-v08 .ccw-command-panel[data-sidebar-section] .ccw-panel-head{cursor:pointer;user-select:none;position:relative;padding-right:22px}
.ccw-v08 .ccw-command-panel[data-sidebar-section] .ccw-panel-head::after{content:'−';position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:13px;color:#7faec2}
.ccw-v08 .ccw-command-panel[data-sidebar-section].is-collapsed .ccw-panel-head{margin-bottom:0;padding-bottom:0;border-bottom:0}
.ccw-v08 .ccw-command-panel[data-sidebar-section].is-collapsed .ccw-panel-head::after{content:'+'}
.ccw-v08 .ccw-orders-panel{background:linear-gradient(180deg,rgba(9,18,25,.95),rgba(7,13,18,.88))!important}
.ccw-v08 #ccw-missions,.ccw-v08 #ccw-proposals,.ccw-v08 #ccw-buildings,.ccw-v08 #ccw-orders{display:grid;gap:10px}
.ccw-v08 #ccw-tile-info{display:grid;gap:8px;padding:12px;border:1px solid rgba(144,188,207,.10);background:rgba(255,255,255,.018)}
.ccw-v08 #ccw-tile-info > div{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#9fb4c1}
.ccw-v08 #ccw-tile-info > div b{color:#e1edf2;font-size:10px;text-align:right}
.ccw-v08 #ccw-tile-info .ccw-tile-title{display:block!important;font-size:18px;font-weight:700;color:#f2f8fa;line-height:1.1;padding-bottom:6px;border-bottom:1px solid rgba(144,188,207,.08)}
.ccw-v08 .ccw-council-summary,.ccw-v08 .ccw-hint{padding:12px;border:1px solid rgba(144,188,207,.10);background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-building-catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:0 0 8px}
.ccw-v08 .ccw-building-search{display:grid;gap:5px}
.ccw-v08 .ccw-building-search span{font-size:10px;letter-spacing:.14em;color:#6e8897;text-transform:uppercase}
.ccw-v08 .ccw-building-search input{width:100%;padding:9px 10px;border:1px solid rgba(144,188,207,.14);background:#0a141b;color:#dbe9ef}
.ccw-v08 .ccw-building-toolbar-note{display:grid;place-items:end;font-size:10px;color:#7e98a6}
.ccw-v08 .ccw-building-toolbar-note b{font-size:16px;line-height:1;color:#e2edf2}
.ccw-v08 .ccw-building-catalog-section{border-top:1px solid rgba(144,188,207,.10);padding-top:8px}
.ccw-v08 .ccw-building-catalog-section summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;list-style:none;padding:5px 0}
.ccw-v08 .ccw-building-catalog-section summary::-webkit-details-marker{display:none}
.ccw-v08 .ccw-building-catalog-section summary span{font-size:10px;letter-spacing:.16em;color:#6f8997}
.ccw-v08 .ccw-building-catalog-section summary b{font-size:10px;color:#dce9ef}
.ccw-v08 .ccw-building-catalog-stack{display:grid;gap:8px;padding-top:8px}
.ccw-v08 .ccw-building-catalog-card{grid-template-columns:68px minmax(0,1fr)!important;gap:10px!important;border-radius:10px!important;padding:9px!important;background:linear-gradient(180deg,rgba(11,20,28,.95),rgba(8,15,21,.92))!important;border:1px solid rgba(144,188,207,.11)!important}
.ccw-v08 .ccw-building-catalog-card:hover{transform:none!important;border-color:rgba(144,188,207,.22)!important}
.ccw-v08 .ccw-building-catalog-card .ccw-building-art{width:68px;height:58px}
.ccw-v08 .ccw-building-catalog-copy p{font-size:10px!important;color:#d4e1e7!important;margin:6px 0 4px!important}
.ccw-v08 .ccw-building-catalog-copy>small{max-height:none!important;font-size:10px!important;color:#7f99a7!important}
.ccw-v08 .ccw-building-catalog-copy footer{align-items:center!important}
@media(max-width:900px){.ccw-v08 .ccw-sidebar-quicknav{grid-template-columns:repeat(4,minmax(54px,1fr));overflow:auto}.ccw-v08 .ccw-building-catalog-toolbar{grid-template-columns:1fr}.ccw-v08 .ccw-building-toolbar-note{place-items:start}}

/* v0.93.0 sidebar + tile/build + project markers */
.ccw-v08 .ccw-sidebar-quicknav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ccw-v08 .ccw-sidebar-quicknav button{font-size:10px!important;padding:10px 6px!important}
.ccw-v08 .ccw-command-panel[hidden]{display:none!important}
.ccw-v08 .ccw-council-summary.is-compact{display:grid;gap:10px;padding:12px;border:1px solid rgba(144,188,207,.12);background:rgba(255,255,255,.02)}
.ccw-v08 .ccw-council-topline{display:grid;gap:10px}
.ccw-v08 .ccw-council-topline h3{margin:2px 0 4px;font-size:24px;line-height:1.05}
.ccw-v08 .ccw-council-topline p{margin:0;color:#9db2bf;font-size:10px}
.ccw-v08 .ccw-council-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ccw-v08 .ccw-council-kpis span{padding:9px 8px;border:1px solid rgba(144,188,207,.10);background:#0a131a;display:grid;gap:3px;text-align:center}
.ccw-v08 .ccw-council-kpis b{font-size:16px;color:#eef8fc}
.ccw-v08 .ccw-council-kpis small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#7c97a5}
.ccw-v08 .ccw-council-notes{display:grid;gap:6px}
.ccw-v08 .ccw-council-notes small{display:block;color:#8aa2af;font-size:10px}
.ccw-v08 .ccw-council-projects{padding:10px;border:1px solid rgba(144,188,207,.10);background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-council-projects summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#bcd0da}
.ccw-v08 .ccw-proposal-compact .ccw-proposal-question strong{font-size:17px;line-height:1.15}
.ccw-v08 .ccw-proposal-compact .ccw-vote-count{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ccw-v08 .ccw-proposal-compact .ccw-vote-count span{text-align:left}
.ccw-v08 .ccw-proposal-compact .ccw-voted{font-size:10px;padding:7px 9px}
.ccw-v08 .ccw-tile-build-panel{margin-top:10px;padding-top:10px;border-top:1px solid rgba(144,188,207,.08);display:grid;gap:10px}
.ccw-v08 .ccw-tile-build-head span{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#6f8997}
.ccw-v08 .ccw-tile-build-head h4{margin:2px 0 0;font-size:17px;line-height:1.1;color:#eef7fa}
.ccw-v08 .ccw-tile-build-grid{display:grid;gap:8px}
.ccw-v08 .ccw-build-slot{padding:10px;border:1px solid rgba(144,188,207,.10);background:rgba(255,255,255,.018);display:grid;gap:5px}
.ccw-v08 .ccw-build-slot.is-built{border-color:rgba(121,211,243,.24)}
.ccw-v08 .ccw-build-slot>span{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#6f8997}
.ccw-v08 .ccw-build-slot>b{font-size:14px;color:#eef7fa}
.ccw-v08 .ccw-build-slot small,.ccw-v08 .ccw-build-slot em{font-size:10px;color:#8ba2ae;font-style:normal}
.ccw-v08 .ccw-build-list,.ccw-v08 .ccw-build-reasons{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.ccw-v08 .ccw-build-list li,.ccw-v08 .ccw-build-reasons li{padding:7px 8px;border:1px solid rgba(144,188,207,.08);background:#0a131a;display:grid;gap:2px}
.ccw-v08 .ccw-build-list li b{font-size:11px;color:#ebf6fb}
.ccw-v08 .ccw-build-list li small,.ccw-v08 .ccw-build-list li em{font-size:10px;color:#8ea5b1}
.ccw-v08 .ccw-build-reasons li{font-size:10px;color:#c7d7de}
@media(max-width:900px){.ccw-v08 .ccw-council-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.94.2 building-card polish only */
.ccw-v08 .ccw-building-catalog-card{display:block!important;padding:0!important;overflow:hidden;border-radius:12px!important;background:linear-gradient(150deg,rgba(13,25,34,.98),rgba(7,14,20,.98))!important;border:1px solid rgba(144,188,207,.13)!important;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.ccw-v08 .ccw-building-catalog-card:hover{border-color:rgba(138,210,236,.28)!important;background:linear-gradient(150deg,rgba(16,31,41,.99),rgba(8,17,24,.99))!important}
.ccw-v08 .ccw-building-catalog-card.is-wonder{border-color:rgba(221,193,103,.24)!important;background:linear-gradient(150deg,rgba(35,31,20,.76),rgba(9,16,22,.98))!important}
.ccw-v08 .ccw-building-catalog-card.is-great-project{border-color:rgba(122,196,218,.24)!important}
.ccw-v08 .ccw-building-card-top{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding:12px 12px 10px}
.ccw-v08 .ccw-building-catalog-card .ccw-building-catalog-art{width:76px;height:70px;display:grid;place-items:center;border:1px solid rgba(144,188,207,.10);background:radial-gradient(circle at 50% 35%,rgba(120,184,205,.10),rgba(7,14,20,.18) 68%)}
.ccw-v08 .ccw-building-catalog-card.is-wonder .ccw-building-catalog-art{border-color:rgba(221,193,103,.17);background:radial-gradient(circle at 50% 35%,rgba(221,193,103,.11),rgba(7,14,20,.18) 70%)}
.ccw-v08 .ccw-building-card-heading{min-width:0;display:grid;gap:4px}
.ccw-v08 .ccw-building-card-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.ccw-v08 .ccw-building-card-eyebrow>span{font-size:10px;letter-spacing:.16em;color:#6f8997;text-transform:uppercase}
.ccw-v08 .ccw-building-card-eyebrow>em{font-style:normal;font-size:10px;letter-spacing:.10em;color:#b9d7e3;border:1px solid rgba(127,191,214,.18);background:rgba(79,143,166,.06);padding:3px 5px;border-radius:999px}
.ccw-v08 .ccw-building-catalog-card.is-wonder .ccw-building-card-eyebrow>em{color:#e6d391;border-color:rgba(221,193,103,.22);background:rgba(221,193,103,.06)}
.ccw-v08 .ccw-building-card-heading h4{margin:0;font-size:16px;line-height:1.1;color:#eef7fa;font-weight:760}
.ccw-v08 .ccw-building-card-heading p{margin:0!important;color:#b9d2dc!important;font-size:10px!important;line-height:1.4!important}
.ccw-v08 .ccw-building-card-body{display:grid;gap:10px;padding:0 12px 12px}
.ccw-v08 .ccw-building-card-body>small{display:block!important;max-height:none!important;color:#718b98!important;font-size:10px!important;line-height:1.45!important;padding-top:9px;border-top:1px solid rgba(144,188,207,.07)}
.ccw-v08 .ccw-building-requirement{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;padding:7px 8px;border-left:2px solid rgba(232,190,97,.72);background:rgba(117,84,24,.08)}
.ccw-v08 .ccw-building-requirement span{font-size:10px;letter-spacing:.14em;color:#ad9669}
.ccw-v08 .ccw-building-requirement b{font-size:10px;color:#dec58d;font-weight:650}
.ccw-v08 .ccw-building-card-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding-top:9px;border-top:1px solid rgba(144,188,207,.07)}
.ccw-v08 .ccw-building-card-meta>div>span{display:block;font-size:10px;letter-spacing:.14em;color:#627d8b;margin-bottom:5px}
.ccw-v08 .ccw-build-costs{display:flex;flex-wrap:wrap;gap:5px}
.ccw-v08 .ccw-build-cost-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid rgba(144,188,207,.09);background:#091219;border-radius:5px}
.ccw-v08 .ccw-build-cost-chip i{font-style:normal;font-size:10px;color:#708a98;font-weight:800}
.ccw-v08 .ccw-build-cost-chip b{font-size:10px;color:#dbe8ed}
.ccw-v08 .ccw-build-cost-chip.is-treasury{border-color:rgba(217,191,118,.17)}.ccw-v08 .ccw-build-cost-chip.is-treasury i,.ccw-v08 .ccw-build-cost-chip.is-treasury b{color:#d9bf76}
.ccw-v08 .ccw-build-cost-chip.is-wood i{color:#a7ba87}.ccw-v08 .ccw-build-cost-chip.is-stone i{color:#a9b0b5}.ccw-v08 .ccw-build-cost-chip.is-energy i{color:#9dc6d6}.ccw-v08 .ccw-build-cost-chip.is-gold i{color:#dfc56f}
.ccw-v08 .ccw-building-limits{display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.ccw-v08 .ccw-building-limits span{font-size:10px;letter-spacing:.08em;color:#6d8693;white-space:nowrap}
@media(max-width:600px){.ccw-v08 .ccw-building-card-top{grid-template-columns:62px minmax(0,1fr)}.ccw-v08 .ccw-building-catalog-card .ccw-building-catalog-art{width:62px;height:62px}.ccw-v08 .ccw-building-card-meta{grid-template-columns:1fr}.ccw-v08 .ccw-building-limits{align-items:flex-start;flex-direction:row;flex-wrap:wrap}}

/* v0.93.3 local build picker redesign */
.ccw-v08 .ccw-propose-box{display:grid;gap:10px}
.ccw-v08 .ccw-build-picker{display:grid;gap:10px}
.ccw-v08 .ccw-build-picker-head{display:grid;gap:6px}
.ccw-v08 .ccw-build-picker-head label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#7e98a5}
.ccw-v08 .ccw-build-picker-head input{width:100%;padding:10px 11px;border:1px solid rgba(144,188,207,.14);background:#09131a;color:#e4eff4;border-radius:10px}
.ccw-v08 .ccw-build-picker-list{display:grid;gap:10px;max-height:380px;overflow:auto;padding-right:4px}
.ccw-v08 .ccw-build-picker-section{display:grid;gap:8px}
.ccw-v08 .ccw-build-picker-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#6e8897}
.ccw-v08 .ccw-build-picker-card{appearance:none;width:100%;display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:center;text-align:left;padding:10px;border:1px solid rgba(144,188,207,.10);background:linear-gradient(180deg,rgba(10,18,25,.96),rgba(7,13,18,.92));color:#eaf5f9;border-radius:12px;cursor:pointer;transition:border-color .15s ease,transform .15s ease,background .15s ease}
.ccw-v08 .ccw-build-picker-card:hover{border-color:rgba(121,211,243,.26);transform:translateY(-1px)}
.ccw-v08 .ccw-build-picker-card.is-selected{border-color:#4ab8e5;background:linear-gradient(180deg,rgba(12,31,43,.96),rgba(9,20,28,.94));box-shadow:0 0 0 1px rgba(74,184,229,.18) inset}
.ccw-v08 .ccw-build-picker-art .ccw-building-art{width:74px;height:60px;margin:0}
.ccw-v08 .ccw-build-picker-copy{display:grid;gap:5px;min-width:0}
.ccw-v08 .ccw-build-picker-top{display:grid;gap:4px}
.ccw-v08 .ccw-build-picker-top b{font-size:14px;line-height:1.1;color:#f4fbfe}
.ccw-v08 .ccw-build-picker-copy small{font-size:10px;line-height:1.4;color:#a9bec9}
.ccw-v08 .ccw-build-picker-copy em{font-style:normal;font-size:10px;color:#f2d48a}
.ccw-v08 .ccw-build-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:999px;border:1px solid rgba(144,188,207,.14);background:rgba(255,255,255,.03);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#9db5c1;margin-right:5px}
.ccw-v08 .ccw-build-badge.is-coastal{border-color:rgba(85,198,237,.24);color:#87dfff}
.ccw-v08 .ccw-build-badge.is-wonder{border-color:rgba(237,199,92,.28);color:#f3d88f}
.ccw-v08 .ccw-build-badge.is-unique{border-color:rgba(189,138,250,.26);color:#d7b5ff}
.ccw-v08 .ccw-build-picker-wonders{border-top:1px solid rgba(144,188,207,.08);padding-top:8px}
.ccw-v08 .ccw-build-picker-wonders summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:#d7e5ec;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.ccw-v08 .ccw-build-picker-wonders summary b{font-size:10px;color:#8aa3af}
.ccw-v08 .ccw-build-picker-footer{display:grid;gap:10px;padding-top:4px;border-top:1px solid rgba(144,188,207,.08)}
.ccw-v08 .ccw-build-picker-selection{display:grid;gap:3px;padding:10px;border:1px solid rgba(144,188,207,.10);background:rgba(255,255,255,.018);border-radius:10px}
.ccw-v08 .ccw-build-picker-selection span{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#76909e}
.ccw-v08 .ccw-build-picker-selection b{font-size:14px;color:#eef8fc}
.ccw-v08 .ccw-build-picker-selection small,.ccw-v08 .ccw-build-picker-selection em{font-size:10px;color:#94aab5;font-style:normal}
@media(max-width:800px){.ccw-v08 .ccw-build-picker-card{grid-template-columns:64px minmax(0,1fr)}.ccw-v08 .ccw-build-picker-art .ccw-building-art{width:64px;height:52px}}

/* v0.93.3 direct tile build picker */
.ccw-v08 .ccw-tile-quick.is-build-picker{width:min(440px,calc(100% - 36px));max-height:min(72vh,720px);overflow:auto}
.ccw-v08 .ccw-quick-build-head>div{display:grid;gap:3px}.ccw-v08 .ccw-quick-build-head>div span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#7896a5}.ccw-v08 .ccw-quick-build-head>div b{font-size:11px;color:#f4fbfe}
.ccw-v08 .ccw-quick-build-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;align-items:end;padding:10px 11px;border-bottom:1px solid rgba(139,194,214,.09);background:rgba(72,128,150,.025)}
.ccw-v08 .ccw-quick-build-toolbar>div{display:grid;gap:3px}.ccw-v08 .ccw-quick-build-toolbar span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#6f8e9e}.ccw-v08 .ccw-quick-build-toolbar b{font-size:10px;color:#dcecf2}.ccw-v08 .ccw-quick-build-toolbar input{min-width:0;padding:8px 9px!important;border-radius:8px!important;font-size:10px!important;background:#071219!important}
.ccw-v08 .ccw-quick-build-list{display:grid;gap:7px;padding:9px 10px 12px}
.ccw-v08 .ccw-quick-build-card{appearance:none;width:100%;display:grid;grid-template-columns:58px minmax(0,1fr);gap:9px;align-items:center;text-align:left;padding:8px;border:1px solid rgba(129,190,213,.14);background:linear-gradient(155deg,rgba(8,19,26,.98),rgba(5,13,18,.96));color:#eaf6fa;border-radius:10px;cursor:pointer}
.ccw-v08 .ccw-quick-build-card:hover:not(:disabled){border-color:rgba(92,212,246,.48);background:linear-gradient(155deg,rgba(10,29,39,.98),rgba(6,17,23,.96));transform:translateY(-1px)}
.ccw-v08 .ccw-quick-build-card>div{display:grid;place-items:center}.ccw-v08 .ccw-quick-build-card .ccw-building-art{width:56px!important;height:48px!important;margin:0!important}
.ccw-v08 .ccw-quick-build-card>span{min-width:0;display:grid;gap:3px}.ccw-v08 .ccw-quick-build-card>span>small{font-size:10px;font-weight:900;letter-spacing:.11em;color:#66899a}.ccw-v08 .ccw-quick-build-card>span>b{font-size:11px;color:#f2fbff}.ccw-v08 .ccw-quick-build-card>span>em{font-style:normal;font-size:10px;line-height:1.35;color:#9cb6c2}.ccw-v08 .ccw-quick-build-card>span>strong{font-size:10px;line-height:1.35;color:#78d9f1;letter-spacing:.04em}
.ccw-v08 .ccw-quick-build-card.is-locked{opacity:.58;cursor:not-allowed}.ccw-v08 .ccw-quick-build-card.is-locked>span>strong{color:#e4b16a}.ccw-v08 .ccw-quick-build-card.is-wonder{border-color:rgba(233,200,103,.21);background:linear-gradient(155deg,rgba(32,27,14,.66),rgba(8,15,20,.96))}
.ccw-v08 .ccw-quick-build-card.is-upgrade{margin:10px;width:calc(100% - 20px);border-color:rgba(90,207,242,.34)}
.ccw-v08 .ccw-quick-build-cost{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.ccw-v08 .ccw-quick-build-cost>span{display:inline-flex;gap:3px;align-items:center;padding:3px 5px;border-radius:999px;border:1px solid rgba(140,196,214,.11);background:rgba(255,255,255,.025)}.ccw-v08 .ccw-quick-build-cost i{font-style:normal;font-size:10px;color:#78939f}.ccw-v08 .ccw-quick-build-cost b{font-size:10px;color:#dcebf0}.ccw-v08 .ccw-quick-build-cost .is-treasury b,.ccw-v08 .ccw-quick-build-cost .is-gold b{color:#e6cd84}.ccw-v08 .ccw-quick-build-cost .is-energy b{color:#8edcef}.ccw-v08 .ccw-quick-build-cost .is-wood b{color:#acd18d}.ccw-v08 .ccw-quick-build-cost .is-stone b{color:#bdc6cb}
.ccw-v08 .ccw-quick-build-wonders{border-top:1px solid rgba(139,194,214,.08);padding-top:7px}.ccw-v08 .ccw-quick-build-wonders summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:6px 2px;color:#d9c77e;font-size:10px;font-weight:900;letter-spacing:.12em}.ccw-v08 .ccw-quick-build-wonders[open] summary{margin-bottom:6px}
.ccw-v08 .ccw-quick-build-existing{display:grid;justify-items:start;gap:5px;padding:12px 11px;border-bottom:1px solid rgba(139,194,214,.08)}.ccw-v08 .ccw-quick-build-existing>span,.ccw-v08 .ccw-quick-build-project>span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#6f8e9e}.ccw-v08 .ccw-quick-build-existing .ccw-building-art{width:76px!important;height:62px!important}.ccw-v08 .ccw-quick-build-existing h3,.ccw-v08 .ccw-quick-build-project h3{margin:0;font-size:16px;color:#f1fbfe}.ccw-v08 .ccw-quick-build-existing p,.ccw-v08 .ccw-quick-build-project p{margin:0;font-size:10px;line-height:1.4;color:#9db5c0}
.ccw-v08 .ccw-quick-build-project{display:grid;gap:8px;padding:13px 11px}.ccw-v08 .ccw-quick-build-project small,.ccw-v08 .ccw-quick-build-project em{font-size:10px;color:#809ba8;font-style:normal}.ccw-v08 .ccw-quick-build-project .ccw-btn{justify-self:start;margin-top:3px}.ccw-v08 .ccw-quick-build-progress{height:5px;background:#14232c;overflow:hidden}.ccw-v08 .ccw-quick-build-progress i{display:block;height:100%;background:linear-gradient(90deg,#4bbbe5,#7ee4c4)}
.ccw-v08 .ccw-quick-build-lock{margin:10px;padding:11px;border:1px solid rgba(228,177,106,.18);background:rgba(80,54,24,.12);display:grid;gap:4px}.ccw-v08 .ccw-quick-build-lock b{font-size:10px;color:#e6c07e}.ccw-v08 .ccw-quick-build-lock span{font-size:10px;color:#a99171}
@media(max-width:700px){.ccw-v08 .ccw-tile-quick.is-build-picker{left:8px!important;right:8px!important;width:auto!important;max-height:65dvh!important}.ccw-v08 .ccw-quick-build-toolbar{grid-template-columns:1fr}.ccw-v08 .ccw-quick-build-card{grid-template-columns:52px minmax(0,1fr)}.ccw-v08 .ccw-quick-build-card .ccw-building-art{width:50px!important;height:44px!important}}

/* v0.94.2 live Council ranking */
.ccw-v08 .ccw-proposal-state{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 2px;padding:6px 8px;border-left:3px solid #91a2aa;background:rgba(145,162,170,.06)}
.ccw-v08 .ccw-proposal-state span{font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#b8c6cc}
.ccw-v08 .ccw-proposal-state b{font-size:10px;color:#dff4e8}
.ccw-v08 .ccw-proposal-state.is-passing{border-left-color:#6ad99a;background:rgba(106,217,154,.07)}
.ccw-v08 .ccw-proposal-state.is-passing span{color:#8ce7b2}
.ccw-v08 .ccw-proposal-state.is-close{border-left-color:#f0c45e;background:rgba(240,196,94,.07)}
.ccw-v08 .ccw-proposal-state.is-close span{color:#f4d684}
.ccw-v08 .ccw-proposal-state.is-building{border-left-color:#66cbe8;background:rgba(102,203,232,.06)}
.ccw-v08 .ccw-proposal-state.is-building span{color:#8bdcf2}
.ccw-v08 .ccw-proposal-state.is-new{border-left-color:#82949d}
.ccw-v08 .ccw-proposal-state.is-war{border-left-color:#ef786e;background:rgba(239,120,110,.07)}
.ccw-v08 .ccw-proposal-state.is-war span{color:#f0a096}
.ccw-v08 .ccw-proposal-compact.is-passing{box-shadow:inset 3px 0 0 rgba(106,217,154,.72)}
.ccw-v08 .ccw-proposal-compact.is-close{box-shadow:inset 3px 0 0 rgba(240,196,94,.72)}
.ccw-v08 .ccw-proposal-compact.is-building{box-shadow:inset 3px 0 0 rgba(102,203,232,.55)}
.ccw-v08 .ccw-context-proposal.is-passing{border-color:rgba(106,217,154,.26)!important}
.ccw-v08 .ccw-context-proposal.is-close{border-color:rgba(240,196,94,.26)!important}
.ccw-v08 .ccw-context-proposal.is-building{border-color:rgba(102,203,232,.24)!important}
.ccw-v08 .ccw-context-proposal.is-war{border-color:rgba(239,120,110,.28)!important}

/* v0.94.2 tile quick panel polish */
.ccw-v08 .ccw-tile-quick{width:min(348px,calc(100% - 36px));border-radius:14px!important;border-color:rgba(133,191,213,.18)!important;background:linear-gradient(165deg,rgba(5,14,20,.975),rgba(7,17,23,.955))!important;box-shadow:0 22px 54px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.02) inset,inset 3px 0 0 var(--owner-color,#718795)!important}
.ccw-v08 .ccw-tile-quick header{padding:12px 13px 10px!important}
.ccw-v08 .ccw-quick-owner span{font-size:10px!important;letter-spacing:.16em!important}
.ccw-v08 .ccw-quick-owner b{font-size:11px!important;line-height:1.25!important}
.ccw-v08 .ccw-quick-place{padding:10px 13px 8px!important;gap:4px!important}
.ccw-v08 .ccw-quick-place>div b{font-size:14px!important;color:#f2fbff}
.ccw-v08 .ccw-quick-place>span{font-size:10px!important;color:#86a2b1!important}
.ccw-v08 .ccw-quick-realm{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px;padding:10px 13px!important;background:transparent!important;border-top:1px solid rgba(139,194,214,.08)!important}
.ccw-v08 .ccw-quick-realm>div{padding:9px 10px!important;border:1px solid rgba(139,194,214,.08)!important;background:rgba(255,255,255,.02)!important;border-right:0!important}
.ccw-v08 .ccw-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px 13px!important;border-top:1px solid rgba(139,194,214,.08)!important;border-bottom:0!important;background:linear-gradient(180deg,rgba(255,255,255,.01),transparent)!important}
.ccw-v08 .ccw-quick-grid>div{padding:10px!important;border:1px solid rgba(139,194,214,.08)!important;background:rgba(255,255,255,.02)!important;min-height:78px}
.ccw-v08 .ccw-quick-grid>div:nth-child(n),.ccw-v08 .ccw-quick-grid>div:nth-child(even),.ccw-v08 .ccw-quick-grid>div:nth-child(odd){border-left:1px solid rgba(139,194,214,.08)!important;border-top:1px solid rgba(139,194,214,.08)!important}
.ccw-v08 .ccw-quick-grid span{font-size:10px!important;margin-bottom:5px!important}
.ccw-v08 .ccw-quick-grid b{font-size:10px!important;line-height:1.35!important}
.ccw-v08 .ccw-quick-grid small{font-size:10px!important;line-height:1.45!important}
.ccw-v08 .ccw-quick-history{padding:9px 13px 7px!important}
.ccw-v08 .ccw-quick-actions{padding:9px 13px!important;gap:7px!important;background:transparent!important}
.ccw-v08 .ccw-quick-actions button{border-radius:9px!important;padding:8px 10px!important;font-size:10px!important}
.ccw-v08 .ccw-tile-quick footer{position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;padding:10px 13px 13px!important;border-top:1px solid rgba(139,194,214,.08)!important;background:transparent!important}
.ccw-v08 .ccw-tile-quick footer button{display:flex;align-items:center;justify-content:center;min-height:34px;white-space:nowrap;border-radius:10px!important;background:rgba(255,255,255,.03)!important}
.ccw-v08 .ccw-tile-quick footer button:hover{background:rgba(92,212,246,.14)!important}
.ccw-v08 .ccw-tile-quick footer button[data-quick-focus]{border-color:rgba(102,209,239,.34)!important;color:#dff8ff!important}
@media(max-width:700px){.ccw-v08 .ccw-tile-quick{width:auto!important}.ccw-v08 .ccw-quick-grid{grid-template-columns:1fr!important}.ccw-v08 .ccw-quick-realm{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ccw-v08 .ccw-tile-quick footer{position:sticky!important;bottom:0;grid-template-columns:1fr 1fr 1fr;background:linear-gradient(180deg,rgba(5,14,20,.82),rgba(5,14,20,.98))!important}}

/* v0.94.2 faded world sponsor */
.ccw-v08 .ccw-world-sponsor{opacity:.38!important;border-color:rgba(255,216,107,.16)!important;background:rgba(6,12,17,.42)!important;box-shadow:none!important;backdrop-filter:blur(3px);transition:opacity .18s ease,border-color .18s ease,background .18s ease,transform .18s ease}
.ccw-v08 .ccw-world-sponsor span{color:rgba(217,190,105,.72)!important}
.ccw-v08 .ccw-world-sponsor b{color:rgba(255,255,255,.68)!important}
.ccw-v08 .ccw-world-sponsor small{color:rgba(130,154,165,.62)!important}
.ccw-v08 .ccw-world-sponsor[href]:hover{opacity:.78!important;border-color:rgba(255,216,107,.34)!important;background:rgba(6,12,17,.72)!important;transform:translateX(-50%) translateY(-1px)}
.ccw-v08 .ccw-map-viewport.has-popover .ccw-world-sponsor{opacity:.10!important}

/* v0.95.0 dedicated Research hub tab */
.ccw-v08 .ccw-hub-nav [data-hub-tab="research"]{border-color:rgba(105,211,240,.20);color:#bfeaf6}
.ccw-v08 .ccw-hub-nav [data-hub-tab="research"].is-active{border-color:rgba(105,211,240,.55);background:rgba(65,161,192,.14);color:#e5faff}
.ccw-v08 .ccw-hub-content>.ccw-inline-research{margin-top:0}

.ccw-v08 .ccw-building-toolbar-actions{display:flex;align-items:end;justify-content:flex-end;gap:8px}
.ccw-v08 .ccw-building-research-shortcut{min-height:34px;border-color:rgba(105,211,240,.24);background:rgba(65,161,192,.09);color:#c8eff8;white-space:nowrap}
.ccw-v08 .ccw-building-research-shortcut:hover{border-color:rgba(105,211,240,.48);background:rgba(65,161,192,.16)}
@media(max-width:900px){.ccw-v08 .ccw-building-toolbar-actions{justify-content:space-between;align-items:center}.ccw-v08 .ccw-building-toolbar-note{place-items:end}}

/* v0.95.0 resource balance / hotspot legend */
.ccw-v08 .ccw-terrain-key .is-hotspotkey{background:linear-gradient(135deg,#f0cb58 0 45%,#071014 46% 54%,#63d58a 55% 100%)!important;border:1px solid rgba(240,203,88,.55)!important;transform:rotate(45deg);border-radius:2px!important}

/* v0.96.1 tactical right-click panels */
.ccw-v08 .ccw-map-context>header.ccw-rival-intel-head{background:linear-gradient(90deg,rgba(87,25,29,.33),rgba(5,13,19,.97) 58%)}
.ccw-v08 .ccw-map-context>header.ccw-neutral-intel-head{background:linear-gradient(90deg,rgba(40,73,67,.28),rgba(5,13,19,.97) 58%)}
.ccw-v08 .ccw-rival-owner{background:linear-gradient(90deg,rgba(255,108,88,.045),transparent)}
.ccw-v08 .ccw-rival-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}
.ccw-v08 .ccw-rival-grid article{display:grid;gap:3px;min-width:0;padding:9px;border:1px solid rgba(132,188,212,.10);background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-rival-grid article small{font-size:10px;letter-spacing:.13em;color:#6f8f9f}
.ccw-v08 .ccw-rival-grid article b{font-size:10px;line-height:1.2;color:#eef8fc}
.ccw-v08 .ccw-rival-grid article em{font-style:normal;font-size:10px;line-height:1.35;color:#8199a5}
.ccw-v08 .ccw-rival-action,.ccw-v08 .ccw-neutral-action{display:grid;gap:5px;background:rgba(255,255,255,.015)}
.ccw-v08 .ccw-rival-action.is-ready{border-left:3px solid rgba(238,104,91,.78);background:linear-gradient(90deg,rgba(122,33,31,.14),transparent)}
.ccw-v08 .ccw-rival-action.is-live{border-left:3px solid #ff735f;background:linear-gradient(90deg,rgba(122,33,31,.18),transparent)}
.ccw-v08 .ccw-rival-action.is-proposed{border-left:3px solid #e6c25c;background:linear-gradient(90deg,rgba(111,87,24,.13),transparent)}
.ccw-v08 .ccw-rival-action.is-locked,.ccw-v08 .ccw-neutral-action.is-locked{border-left:3px solid rgba(126,151,162,.42)}
.ccw-v08 .ccw-neutral-action.is-ready{border-left:3px solid rgba(92,210,173,.72);background:linear-gradient(90deg,rgba(38,105,83,.12),transparent)}
.ccw-v08 .ccw-neutral-action.is-live{border-left:3px solid rgba(86,191,232,.76);background:linear-gradient(90deg,rgba(30,85,110,.13),transparent)}
.ccw-v08 .ccw-rival-action .ccw-btn,.ccw-v08 .ccw-neutral-action .ccw-btn{justify-self:start;margin-top:2px}
@media(max-width:520px){.ccw-v08 .ccw-rival-grid{grid-template-columns:1fr}}

/* v0.96.1 sidebar research tab */
.ccw-v08 .ccw-research-panel{display:grid;gap:12px}
.ccw-v08 .ccw-sidebar-quicknav button[data-sidebar-mode="research"]{letter-spacing:.06em}

/* v0.96.1 inline Council voting */
.ccw-v08 .ccw-inline-council{display:grid;gap:7px;margin-top:7px;padding:9px;border:1px solid rgba(116,171,194,.16);background:rgba(7,18,25,.76);border-radius:8px}
.ccw-v08 .ccw-inline-council.is-passing{border-color:rgba(106,217,154,.34);background:rgba(34,86,64,.12)}
.ccw-v08 .ccw-inline-council.is-close{border-color:rgba(239,192,80,.34);background:rgba(99,72,19,.10)}
.ccw-v08 .ccw-inline-council.is-building{border-color:rgba(89,171,232,.28);background:rgba(25,68,101,.10)}
.ccw-v08 .ccw-inline-council-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ccw-v08 .ccw-inline-council-head span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#c8d7de}
.ccw-v08 .ccw-inline-council-head b{font:800 10px/1 ui-monospace,monospace;color:#9ed9bb}
.ccw-v08 .ccw-inline-council p{margin:0;font-size:10px;line-height:1.35;color:#8ca3ae}
.ccw-v08 .ccw-inline-council-bar{height:4px;background:#13242d;overflow:hidden;border-radius:99px}
.ccw-v08 .ccw-inline-council-bar i{display:block;height:100%;background:linear-gradient(90deg,#57bce5,#72db9c)}
.ccw-v08 .ccw-inline-council-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.ccw-v08 .ccw-inline-council-stats span{padding:5px 4px;border:1px solid rgba(128,179,198,.08);background:rgba(255,255,255,.018);display:grid;gap:2px}
.ccw-v08 .ccw-inline-council-stats b{font:900 10px/1 ui-monospace,monospace;color:#dcebf1}
.ccw-v08 .ccw-inline-council-stats small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#66828f}
.ccw-v08 .ccw-inline-vote-controls{display:grid;gap:6px;padding-top:2px}
.ccw-v08 .ccw-inline-vote-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.ccw-v08 .ccw-inline-vote-presets button{appearance:none;border:1px solid rgba(103,193,220,.19);background:rgba(73,154,181,.08);color:#bfe5f1;padding:6px;font:900 10px/1 ui-sans-serif,system-ui;cursor:pointer;border-radius:6px}
.ccw-v08 .ccw-inline-vote-custom{display:grid;grid-template-columns:68px minmax(0,1fr);gap:6px}
.ccw-v08 .ccw-inline-vote-custom input{min-width:0;padding:7px!important;font-size:10px!important}
.ccw-v08 .ccw-inline-vote-custom .ccw-btn{min-height:30px;padding:6px 8px;font-size:10px}
.ccw-v08 .ccw-inline-vote-controls>small{font-size:10px;color:#647f8b}
.ccw-v08 .ccw-inline-voted{padding:6px 7px;border:1px solid rgba(106,217,154,.16);background:rgba(60,133,96,.08);font-size:10px;color:#98d8b5}
.ccw-v08 .ccw-tech-node.is-council{border-color:rgba(107,185,220,.26);box-shadow:inset 0 0 22px rgba(70,148,185,.05)}
.ccw-v08 .ccw-tech-node.is-council{min-height:260px}
@media(max-width:700px){.ccw-v08 .ccw-inline-council-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.96.1 intelligence research */
.ccw-v08 .ccw-intel-section{border-color:rgba(154,132,255,.22)!important;background:linear-gradient(155deg,rgba(27,24,55,.36),rgba(7,17,23,.92))!important}
.ccw-v08 .ccw-intel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.ccw-v08 .ccw-intel-head span{font-size:10px!important;letter-spacing:.15em;color:#9f93e8!important}.ccw-v08 .ccw-intel-head b{font-size:10px;color:#ddd7ff}
.ccw-v08 .ccw-intel-counter{margin:0 0 9px;padding:6px 8px;border-left:3px solid #d6a85d;background:rgba(214,168,93,.07);font-size:10px;font-weight:900;letter-spacing:.08em;color:#e7c98f}
.ccw-v08 .ccw-intel-section .ccw-rival-grid article{border-color:rgba(154,132,255,.12)!important;background:rgba(21,21,42,.28)!important}

/* v0.96.1 Development Push crew/checkpoint sync game */
.ccw-v08 .ccw-dev-sync{display:grid;gap:16px;padding:18px;border:1px solid rgba(121,211,243,.15);border-radius:16px;background:linear-gradient(160deg,rgba(10,27,37,.94),rgba(6,14,20,.96))}
.ccw-v08 .ccw-dev-sync-head{display:grid;gap:4px;text-align:center}.ccw-v08 .ccw-dev-sync-head span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.16em;color:#6c9db0}.ccw-v08 .ccw-dev-sync-head b{font-size:18px;color:#eefaff}.ccw-v08 .ccw-dev-sync-head em{font-size:10px;font-style:normal;color:#819ca9}
.ccw-v08 .ccw-dev-track{position:relative;height:28px;border:1px solid rgba(132,197,220,.18);border-radius:999px;background:linear-gradient(90deg,#101a21,#172731 50%,#101a21);overflow:visible}
.ccw-v08 .ccw-dev-track::before{content:'';position:absolute;inset:5px;border-radius:999px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 8%,rgba(255,255,255,.065) 8% 8.5%)}
.ccw-v08 .ccw-dev-zone{position:absolute;top:4px;bottom:4px;border-radius:999px;background:linear-gradient(90deg,rgba(83,223,178,.34),rgba(101,224,246,.45));border:1px solid rgba(128,242,211,.65);box-shadow:0 0 16px rgba(86,218,196,.18)}
.ccw-v08 .ccw-dev-marker{position:absolute;top:-7px;width:4px;height:42px;margin-left:-2px;border-radius:4px;background:#f6fbff;box-shadow:0 0 12px rgba(217,247,255,.72);pointer-events:none}
.ccw-v08 .ccw-dev-marker::after{content:'';position:absolute;left:50%;bottom:-5px;transform:translateX(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #f6fbff}
.ccw-v08 .ccw-dev-sync-btn{appearance:none;justify-self:center;min-width:190px;padding:12px 24px;border-radius:12px;border:1px solid rgba(93,210,240,.35);background:rgba(55,153,183,.14);color:#e5f8fd;font-weight:900;letter-spacing:.08em;cursor:pointer}.ccw-v08 .ccw-dev-sync-btn:hover{background:rgba(55,153,183,.22)}.ccw-v08 .ccw-dev-sync-btn.is-hit{border-color:#6be0b0;background:rgba(62,181,132,.25)}.ccw-v08 .ccw-dev-sync-btn.is-near{border-color:#f0ce72;background:rgba(183,142,48,.22)}.ccw-v08 .ccw-dev-sync-btn.is-miss{border-color:#ed8170;background:rgba(181,67,51,.22)}
.ccw-v08 .ccw-dev-rounds{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}.ccw-v08 .ccw-dev-rounds i{height:5px;border-radius:999px;background:#1b2a32}.ccw-v08 .ccw-dev-rounds i.is-current{box-shadow:0 0 0 1px rgba(128,215,240,.45)}.ccw-v08 .ccw-dev-rounds i.is-hit{background:#65dba6}.ccw-v08 .ccw-dev-rounds i.is-near{background:#e3c464}.ccw-v08 .ccw-dev-rounds i.is-miss{background:#c96055}
@media(max-width:620px){.ccw-v08 .ccw-dev-sync{padding:14px}.ccw-v08 .ccw-dev-sync-btn{width:100%;min-width:0}}

/* v0.96.2 premium CivCoin World brand lockup */
.ccw-v08 .ccw-brand-lockup{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  padding:7px 16px!important;
  min-width:0!important;
  overflow:hidden;
}
.ccw-v08 .ccw-brand-lockup::after{
  content:'';
  position:absolute;
  left:68px;
  right:16px;
  bottom:6px;
  height:1px;
  background:linear-gradient(90deg,rgba(213,178,98,.34),rgba(93,176,208,.10),transparent 86%);
  pointer-events:none;
}
.ccw-v08 .ccw-brand-emblem{
  width:43px;
  height:43px;
  flex:0 0 43px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(211,177,100,.28);
  border-radius:12px;
  background:radial-gradient(circle at 50% 42%,rgba(213,178,98,.10),rgba(7,15,21,.94) 68%);
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 0 20px rgba(213,178,98,.08);
}
.ccw-v08 .ccw-brand-emblem img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.04);
}
.ccw-v08 .ccw-brand-copy{
  min-width:0;
  display:grid!important;
  align-content:center;
  gap:4px;
  padding-bottom:3px;
}
.ccw-v08 .ccw-brand-copy strong{
  display:block;
  margin:0;
  font-size:15px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.115em!important;
  text-transform:uppercase;
  white-space:nowrap;
  background:linear-gradient(90deg,#f7fbfd 0%,#edf4f7 62%,#d8bd7d 118%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent!important;
  text-shadow:0 0 22px rgba(185,220,233,.04);
}
.ccw-v08 .ccw-brand-copy>span{
  display:block;
  margin:0!important;
  font-size:10px!important;
  line-height:1.1;
  font-weight:850!important;
  letter-spacing:.205em!important;
  color:#668796!important;
  white-space:nowrap;
}
@media(max-width:1180px){
  .ccw-v08 .ccw-brand-lockup{padding-inline:12px!important;gap:9px!important}
  .ccw-v08 .ccw-brand-emblem{width:38px;height:38px;flex-basis:38px;border-radius:10px}
  .ccw-v08 .ccw-brand-copy strong{font-size:13px!important;letter-spacing:.09em!important}
  .ccw-v08 .ccw-brand-copy>span{font-size:10px!important;letter-spacing:.16em!important}
  .ccw-v08 .ccw-brand-lockup::after{left:59px;right:12px}
}
@media(max-width:900px){
  .ccw-v08 .ccw-brand-lockup{padding:7px 10px!important}
  .ccw-v08 .ccw-brand-emblem{width:38px;height:38px;flex-basis:38px}
  .ccw-v08 .ccw-brand-copy>span{display:none!important}
  .ccw-v08 .ccw-brand-lockup::after{display:none}
}
@media(max-width:620px){
  .ccw-v08 .ccw-brand-emblem{width:34px;height:34px;flex-basis:34px;border-radius:9px}
  .ccw-v08 .ccw-brand-copy strong{font-size:12px!important;letter-spacing:.07em!important}
}


/* v0.97.1 · Battle War Room UX */
.ccw-battle-now{display:grid;justify-items:center;gap:4px;padding:16px 14px 12px;text-align:center;background:linear-gradient(180deg,rgba(83,151,181,.065),rgba(0,0,0,0))}.ccw-battle-now>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.17em;color:#7599aa}.ccw-battle-now h2{display:flex;align-items:baseline;justify-content:center;gap:8px;flex-wrap:wrap;margin:1px 0;color:#dcebf1;font-size:15px}.ccw-battle-now h2 b{font-size:30px;color:#f4fbff}.ccw-battle-now h2 i{font-style:normal;color:#506b79}.ccw-battle-now>strong{font:950 13px/1.1 ui-sans-serif,system-ui;letter-spacing:.08em;color:#97d7e9}.ccw-battle-now.is-close>strong{color:#ffd273}.ccw-battle-now>small{color:#7895a3;font-size:10px}
.ccw-battle-why{margin:3px 14px 12px;border:1px solid rgba(133,177,196,.13);background:rgba(4,12,18,.34);border-radius:12px;overflow:hidden}.ccw-battle-why>header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:8px 10px;border-bottom:1px solid rgba(133,177,196,.10)}.ccw-battle-why>header span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.15em;color:#7597a7}.ccw-battle-why>header small{font-size:10px;color:#617d8b}.ccw-battle-why-grid{display:grid;grid-template-columns:1fr 1fr}.ccw-battle-why-grid>article{padding:11px;min-width:0}.ccw-battle-why-grid>article+article{border-left:1px solid rgba(133,177,196,.1)}.ccw-battle-why-grid article>span{display:block;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#c8897d}.ccw-battle-why-grid article.is-defense>span{color:#7db7ca}.ccw-battle-why-grid article>b{display:block;margin:5px 0 3px;font-size:11px;color:#e0edf2}.ccw-battle-why-grid article>small{display:block;color:#718e9c;font-size:10px;line-height:1.4}.ccw-battle-capacity{margin-top:9px;padding-top:8px;border-top:1px solid rgba(133,177,196,.08)}.ccw-battle-capacity>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.ccw-battle-capacity span{font:900 10px/1 ui-sans-serif,system-ui!important;letter-spacing:.11em!important;color:#678594!important}.ccw-battle-capacity b{font-size:10px!important;margin:0!important;color:#dcebf0!important}.ccw-battle-capacity-bar{height:4px;margin:5px 0;background:#122732;border-radius:999px;overflow:hidden}.ccw-battle-capacity-bar i{display:block;height:100%;background:linear-gradient(90deg,#6baec5,#b7d9e5);border-radius:999px}.ccw-battle-capacity small{font-size:10px!important;color:#64808e!important}
.ccw-battle-outcome-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 14px 12px;padding:11px 12px;border:1px solid rgba(105,184,207,.16);border-left:3px solid #79bcd0;background:rgba(64,142,168,.06);border-radius:10px}.ccw-battle-outcome-preview.is-attack{border-color:rgba(217,126,101,.2);border-left-color:#d9826d;background:rgba(133,55,38,.08)}.ccw-battle-outcome-preview>div{min-width:0}.ccw-battle-outcome-preview span{display:block;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.14em;color:#7f9dab}.ccw-battle-outcome-preview b{display:block;margin:4px 0 3px;font-size:12px;color:#edf8fc}.ccw-battle-outcome-preview small{display:block;font-size:10px;line-height:1.45;color:#829ba7}.ccw-battle-outcome-preview>strong{font:950 15px/1 ui-monospace,monospace;color:#dfeef4;white-space:nowrap}
.ccw-battle-response{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:0 14px 13px;padding:11px 12px;border:1px solid rgba(130,192,214,.2);background:linear-gradient(100deg,rgba(59,128,154,.10),rgba(11,24,32,.28));border-radius:11px}.ccw-battle-response.is-urgent{border-color:rgba(235,139,94,.33);background:linear-gradient(100deg,rgba(132,58,35,.13),rgba(11,24,32,.28))}.ccw-battle-response.is-joined{border-color:rgba(104,197,151,.22);background:linear-gradient(100deg,rgba(52,126,91,.10),rgba(11,24,32,.28))}.ccw-battle-response>div:first-child span{display:block;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.14em;color:#82a8b8}.ccw-battle-response>div:first-child b{display:block;margin:4px 0 2px;font-size:11px;color:#e6f3f8}.ccw-battle-response>div:first-child small{display:block;max-width:720px;color:#7994a1;font-size:10px;line-height:1.45}.ccw-battle-commit{display:grid;grid-template-columns:72px auto;gap:6px}.ccw-battle-commit input{width:72px;box-sizing:border-box;border:1px solid rgba(132,184,203,.22);background:#07131a;color:#eaf7fb;padding:8px;border-radius:7px}.ccw-battle-commit button:last-child{grid-column:1/-1}.ccw-battle-stage-actions{padding-top:1px}
@media(max-width:760px){.ccw-battle-why-grid{grid-template-columns:1fr}.ccw-battle-why-grid>article+article{border-left:0;border-top:1px solid rgba(133,177,196,.1)}.ccw-battle-why>header{align-items:flex-start;flex-direction:column;gap:3px}.ccw-battle-response{grid-template-columns:1fr}.ccw-battle-commit{grid-template-columns:80px minmax(0,1fr)}.ccw-battle-outcome-preview{align-items:flex-start;flex-direction:column}.ccw-battle-now h2 b{font-size:25px}}

/* v0.98.0 public Manual / World Hub utility links */
.ccw-v08 .ccw-hud-right{gap:9px!important}.ccw-v08 .ccw-utility-links{display:flex;align-items:center;gap:4px}.ccw-v08 .ccw-utility-links a{display:inline-flex;align-items:center;min-height:28px;padding:0 8px;border:1px solid rgba(142,202,222,.11);border-radius:7px;color:#7897a4;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.1em;white-space:nowrap;background:rgba(112,213,239,.025)}.ccw-v08 .ccw-utility-links a:hover{color:#cfeef6;border-color:rgba(112,213,239,.25);background:rgba(112,213,239,.07)}
@media(max-width:1180px){.ccw-v08 .ccw-utility-links{display:none}}


/* v0.99.0 · Alpha readiness: mobile layout + touch + performance-facing polish */
.ccw-v08 .ccw-brand-title{display:flex;align-items:center;gap:7px;min-width:0}
.ccw-v08 .ccw-alpha-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:3px 5px!important;border:1px solid rgba(239,194,92,.32);border-radius:5px;background:rgba(239,194,92,.08);color:#e3c26e!important;font:900 10px/1 ui-sans-serif,system-ui!important;letter-spacing:.14em!important;white-space:nowrap}
.ccw-v08 .ccw-utility-links .ccw-report-issue{border-color:rgba(224,172,91,.22);color:#d5b56f;background:rgba(224,172,91,.045)}
.ccw-v08 .ccw-utility-links .ccw-report-issue:hover{border-color:rgba(224,172,91,.42);color:#f0d38c;background:rgba(224,172,91,.09)}

@media(max-width:1180px){
  .ccw-v08 .ccw-utility-links{display:flex!important}
  .ccw-v08 .ccw-utility-links a:not(.ccw-report-issue):not(.ccw-world-shortcut){display:none!important}
  .ccw-v08 .ccw-report-issue{min-height:32px!important;padding-inline:9px!important}
}

@media(max-width:760px){
  html:has(body.ccw-standalone-page),body.ccw-standalone-page{overscroll-behavior-y:none}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{min-height:54px!important;padding:6px 8px!important;gap:6px!important}
  .ccw-v08 .ccw-brand-emblem{width:36px!important;height:36px!important;flex-basis:36px!important}
  .ccw-v08 .ccw-brand-copy strong{font-size:11px!important;letter-spacing:.055em!important}
  .ccw-v08 .ccw-alpha-badge{font-size:10px!important;padding:3px 4px!important}
  .ccw-v08 .ccw-report-issue{font-size:10px!important;letter-spacing:.07em!important;min-height:30px!important}
  .ccw-v08 .ccw-map-viewport{height:58dvh!important;min-height:390px!important;max-height:620px!important;touch-action:none;contain:layout paint style}
  .ccw-v08 .ccw-map-tools{gap:5px!important}.ccw-v08 .ccw-map-tool{min-width:36px!important;min-height:36px!important}
  .ccw-v08 .ccw-world-overlay-left{max-width:62%!important;pointer-events:none}
  .ccw-v08 .ccw-sidebar{display:block!important;padding:0 8px 84px!important;border-top:1px solid rgba(144,188,207,.11)!important;overflow:visible!important}
  .ccw-v08 .ccw-sidebar-quicknav{position:sticky!important;top:54px!important;z-index:90!important;margin:0 -8px 8px!important;padding:8px!important;grid-template-columns:repeat(4,minmax(72px,1fr))!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:none;box-shadow:0 8px 20px rgba(0,0,0,.22)}
  .ccw-v08 .ccw-sidebar-quicknav::-webkit-scrollbar{display:none}.ccw-v08 .ccw-sidebar-quicknav button{min-height:42px!important;padding:8px 7px!important;font-size:10px!important;touch-action:manipulation}
  .ccw-v08 .ccw-command-panel{margin-bottom:8px!important;border-radius:11px!important;overflow:hidden}
  .ccw-v08 .ccw-panel-head{min-height:44px!important;padding:10px!important;touch-action:manipulation}

  /* Compact Council: no horizontal reading or tiny vote controls on phones. */
  .ccw-v08 .ccw-council-summary.is-compact{padding:10px!important;gap:8px!important}
  .ccw-v08 .ccw-council-topline h3{font-size:19px!important}
  .ccw-v08 .ccw-council-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .ccw-v08 .ccw-council-kpis span{padding:8px 6px!important}.ccw-v08 .ccw-council-kpis b{font-size:14px!important}
  .ccw-v08 .ccw-proposal{padding:10px!important;border-radius:10px!important;min-width:0!important}
  .ccw-v08 .ccw-proposal-compact .ccw-proposal-question strong{font-size:14px!important}
  .ccw-v08 .ccw-proposal-compact .ccw-vote-count{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
  .ccw-v08 .ccw-vote-controls,.ccw-v08 .ccw-vote-controls:has(small){grid-template-columns:84px minmax(0,1fr)!important;gap:7px!important}
  .ccw-v08 .ccw-vote-controls input,.ccw-v08 .ccw-vote-controls .ccw-btn{min-height:42px!important}

  /* Research: cards become readable, touch-sized rows rather than a desktop grid squeezed down. */
  .ccw-v08 .ccw-inline-research{gap:10px!important}.ccw-v08 .ccw-research-profile{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .ccw-v08 .ccw-research-profile>div{padding:9px!important}.ccw-v08 .ccw-research-profile b{font-size:13px!important}
  .ccw-v08 .ccw-research-branch{padding:9px!important;border-radius:10px!important}.ccw-v08 .ccw-research-branch-head{gap:7px!important;margin-bottom:8px!important}
  .ccw-v08 .ccw-research-node-grid{grid-template-columns:1fr!important;gap:7px!important}.ccw-v08 .ccw-tech-node{min-height:0!important;padding:10px!important;gap:6px!important}
  .ccw-v08 .ccw-tech-node p{min-height:0!important;font-size:10px!important}.ccw-v08 .ccw-tech-node .ccw-btn{min-height:42px!important}
  .ccw-v08 .ccw-research-job-row{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}

  /* War Room: outcome first, then reasons/actions in one thumb-friendly column. */
  .ccw-battle-now{padding:13px 9px 9px!important}.ccw-battle-now h2{gap:5px!important}.ccw-battle-now h2 b{font-size:23px!important}
  .ccw-battle-why{margin:3px 8px 9px!important;border-radius:9px!important}.ccw-battle-why-grid{grid-template-columns:1fr!important}
  .ccw-battle-why-grid>article+article{border-left:0!important;border-top:1px solid rgba(133,177,196,.1)!important}
  .ccw-battle-outcome-preview,.ccw-battle-response{margin:0 8px 9px!important;padding:10px!important;border-radius:9px!important}
  .ccw-battle-outcome-preview{align-items:flex-start!important;flex-direction:column!important}.ccw-battle-outcome-preview>strong{white-space:normal!important;font-size:13px!important}
  .ccw-battle-response{grid-template-columns:1fr!important}.ccw-battle-commit{grid-template-columns:84px minmax(0,1fr)!important;width:100%!important}.ccw-battle-commit input,.ccw-battle-commit button{min-height:44px!important}
  .ccw-battle-stage-actions .ccw-btn,.ccw-war-card .ccw-btn{min-height:44px!important}

  .ccw-v08 .ccw-wide-panel,.ccw-v08 .ccw-civ-hub,.ccw-v08 .ccw-panel{max-width:100%!important;overflow-wrap:anywhere}
}

@media(max-width:430px){
  .ccw-v08 .ccw-brand-emblem{width:32px!important;height:32px!important;flex-basis:32px!important}.ccw-v08 .ccw-brand-copy strong{font-size:10px!important}.ccw-v08 .ccw-alpha-badge{font-size:10px!important}
  .ccw-v08 .ccw-research-profile{grid-template-columns:1fr!important}.ccw-v08 .ccw-council-kpis{grid-template-columns:1fr 1fr!important}
  .ccw-v08 .ccw-map-viewport{height:55dvh!important;min-height:360px!important}
}

/* v0.99.1 · audit fixes: mobile sidebar groups must remain reachable */
@media(max-width:900px){
  .ccw-v08 .ccw-sidebar{grid-template-columns:1fr!important}
  .ccw-v08 .ccw-sidebar .ccw-secondary-panel:not([hidden]){display:block!important}
}


/* v0.99.7 live globe zoom: canvas geometry is re-projected during zoom; no bitmap/CSS scale preview. */
.ccw-v08 .ccw-globe-canvas,.ccw-v08 .ccw-globe-fx-canvas{backface-visibility:hidden}
/* v0.99.10 · World Core network links */
.ccw-context-core-network{background:linear-gradient(180deg,rgba(76,190,218,.055),rgba(255,216,107,.025));border-top:1px solid rgba(130,205,228,.08);border-bottom:1px solid rgba(255,216,107,.08)}
.ccw-context-core-network h4{margin:4px 0 8px;color:#f2f8fb;font-size:12px}
.ccw-context-core-actions{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 8px}
.ccw-context-core-actions .ccw-btn{flex:1 1 auto;min-width:92px;text-align:center;text-decoration:none}
.ccw-context-core-actions .ccw-btn[disabled]{opacity:.44;cursor:not-allowed}
.ccw-context-core-network>small{display:block;color:#829eab;font-size:10px;line-height:1.45}

/* v0.99.25 · Civpass identity in the live World HUD */
.ccw-v08 .ccw-hud-civrank{display:grid;gap:1px;align-content:center;min-height:32px;padding:4px 8px;border:1px solid rgba(112,213,239,.16);border-radius:8px;background:rgba(112,213,239,.045);text-decoration:none!important;color:inherit!important}
.ccw-v08 .ccw-hud-civrank small{font-size:10px;letter-spacing:.13em;color:#6e8d99;font-weight:900}
.ccw-v08 .ccw-hud-civrank b{font-size:10px;letter-spacing:.08em;color:#dff5fa}
.ccw-v08 .ccw-hud-civrank:hover{border-color:rgba(112,213,239,.35);background:rgba(112,213,239,.08)}
@media(max-width:680px){.ccw-v08 .ccw-hud-civrank{padding:3px 6px}.ccw-v08 .ccw-hud-civrank small{display:none}}

/* v0.99.26 · Release UX polish */
.ccw-v08 button.ccw-sync-status{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:default;outline:0}
.ccw-v08 button.ccw-sync-status[data-status="error"]{cursor:pointer}
.ccw-v08 button.ccw-sync-status[data-status="error"]:hover{background:rgba(232,134,125,.12);border-color:rgba(232,134,125,.42)}
.ccw-v08 :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid rgba(117,211,244,.9)!important;outline-offset:2px!important}
.ccw-v08 .ccw-tab:focus-visible{outline-offset:-3px!important}
.ccw-v08 .ccw-empty-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ccw-v08 .ccw-empty-actions .ccw-btn{min-height:38px}
.ccw-v08 .ccw-api-warning{display:grid;gap:7px;align-items:start}
.ccw-v08 .ccw-api-warning .ccw-btn{justify-self:start;margin-top:2px;min-height:36px}
.ccw-v08 .ccw-map-status .ccw-btn{margin-top:10px;min-height:38px}
.ccw-v08 .ccw-message{overflow-wrap:anywhere}
.ccw-v08 .ccw-mission-frame:focus-within{border-color:rgba(117,211,244,.24)}

@media(max-width:900px){
  .ccw-v08 .ccw-tabs{bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
  .ccw-v08 .ccw-layout{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
  .ccw-v08 .ccw-onboarding{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important;left:8px!important;right:8px!important;width:auto!important;max-width:none!important}
  .ccw-v08 .ccw-message{left:10px!important;right:10px!important;top:72px!important;max-width:none!important}
  .ccw-v08 .ccw-map-tool{min-width:40px!important;min-height:40px!important}
  .ccw-v08 .ccw-map-tool-wide{min-width:76px!important}
  .ccw-v08 .ccw-map-modes button{min-height:40px!important;padding-left:10px!important;padding-right:10px!important}
  .ccw-v08 .ccw-command-button{min-height:44px!important}
  .ccw-v08 .ccw-empty-actions{display:grid;grid-template-columns:1fr 1fr}
  .ccw-v08 .ccw-empty-actions .ccw-btn{width:100%;min-height:44px}
  .ccw-v08 button.ccw-sync-status[data-status="error"]{display:flex!important;position:fixed;z-index:140;right:10px;top:10px;box-shadow:0 8px 28px rgba(0,0,0,.36)}
}
@media(max-width:480px){
  .ccw-v08 .ccw-empty-actions{grid-template-columns:1fr}
  .ccw-v08 .ccw-onboarding{padding:12px!important}
  .ccw-v08 .ccw-onboarding .ccw-btn,.ccw-v08 .ccw-onboard-skip{min-height:42px}
}


/* v0.99.28 - art-directed visual direction pass
   Mother asset: Civital. Production rendering stays native SVG/CSS/canvas for performance. */
.ccw-v08{--ccw-bronze:#b99a5e;--ccw-stone:#777a72;--ccw-ink:#050b10;--ccw-panel-deep:#081116}
.ccw-v08 .ccw-map-viewport{background:radial-gradient(circle at 50% 39%,rgba(69,112,128,.16),transparent 41%),radial-gradient(circle at 58% 58%,rgba(95,78,45,.055),transparent 33%),linear-gradient(180deg,#02070b,#061018 56%,#020609)!important}
.ccw-v08 .ccw-globe-canvas{filter:saturate(.96) contrast(1.075) brightness(.98) drop-shadow(0 34px 54px rgba(0,0,0,.58))}
.ccw-v08 .ccw-world-overlay{background:linear-gradient(150deg,rgba(5,12,16,.78),rgba(8,18,23,.68))!important;border-color:rgba(188,169,117,.15)!important;box-shadow:0 18px 48px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.025)!important}

/* Architectural miniature language derived from the Civital master. */
.ccw-v08 .ccw-building-art{position:relative;filter:drop-shadow(0 8px 10px rgba(0,0,0,.28))}
.ccw-v08 .ccw-building-art:before{content:"";position:absolute;left:9%;right:9%;bottom:8%;height:18%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(0,0,0,.38),rgba(0,0,0,0) 68%);filter:blur(2px);z-index:-1}
.ccw-v08 .ccw-building-svg .v-ground{fill:rgba(2,7,9,.30)}
.ccw-v08 .ccw-building-svg .v-fill{fill:rgba(86,92,88,.72);stroke:rgba(214,207,183,.66);stroke-width:1.25}
.ccw-v08 .ccw-building-svg .v-dark{fill:rgba(16,23,26,.95);stroke:rgba(204,213,207,.52);stroke-width:1.05}
.ccw-v08 .ccw-building-svg .v-roof{fill:rgba(118,116,104,.76);stroke:rgba(229,219,185,.64);stroke-width:1.1;stroke-linejoin:round}
.ccw-v08 .ccw-building-svg .v-glass{fill:rgba(84,126,139,.42);stroke:rgba(165,206,214,.58);stroke-width:.9}
.ccw-v08 .ccw-building-svg .v-road{fill:rgba(38,42,40,.65);stroke:rgba(170,158,123,.38);stroke-width:.8}
.ccw-v08 .ccw-building-svg .v-water{fill:rgba(36,103,129,.52);stroke:rgba(133,193,207,.48);stroke-width:.8}
.ccw-v08 .ccw-building-svg .v-line{stroke:rgba(231,226,207,.72);stroke-width:1.1}
.ccw-v08 .ccw-building-svg .v-accent{fill:var(--b-accent);stroke:rgba(244,226,165,.52)}
.ccw-v08 .ccw-building-svg .v-accent-soft{fill:color-mix(in srgb,var(--b-accent) 21%,rgba(184,155,91,.12));stroke:color-mix(in srgb,var(--b-accent) 55%,#c6aa68);stroke-width:1}
.ccw-v08 .ccw-building-art.is-core{--b-accent:#c9ad69;--b-soft:rgba(201,173,105,.16)}
.ccw-v08 .ccw-building-art.is-prestige,.ccw-v08 .ccw-building-art.is-wonder{--b-accent:#d2b76e;--b-soft:rgba(210,183,110,.18)}

/* Bigger art-first building cards; metadata stays compact. */
.ccw-v08 .ccw-building-catalog-card{border-radius:14px!important;background:linear-gradient(155deg,rgba(14,24,29,.99),rgba(6,12,16,.99))!important;border-color:rgba(189,169,112,.13)!important;box-shadow:0 11px 28px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.025)!important}
.ccw-v08 .ccw-building-catalog-card:hover{border-color:rgba(201,180,115,.27)!important;background:linear-gradient(155deg,rgba(18,31,36,.99),rgba(8,15,19,.99))!important}
.ccw-v08 .ccw-building-card-top{grid-template-columns:132px minmax(0,1fr)!important;gap:16px!important;padding:14px 14px 12px!important}
.ccw-v08 .ccw-building-catalog-card .ccw-building-catalog-art{width:132px!important;height:104px!important;border-radius:12px;border-color:rgba(205,187,130,.13)!important;background:radial-gradient(ellipse at 50% 72%,rgba(168,145,84,.11),transparent 52%),linear-gradient(160deg,rgba(17,29,33,.98),rgba(6,12,16,.98))!important;overflow:hidden}
.ccw-v08 .ccw-building-catalog-card .ccw-building-catalog-art .ccw-building-art{width:120px!important;height:96px!important}
.ccw-v08 .ccw-building-card-heading h4{font-size:14px!important;letter-spacing:.01em;color:#e5eceb!important}
.ccw-v08 .ccw-building-card-heading p{font-size:10px!important;line-height:1.45;color:#aebdb9!important;max-width:580px}
.ccw-v08 .ccw-building-card-eyebrow>span{color:#8d9b96!important}.ccw-v08 .ccw-building-card-eyebrow>em{border-radius:999px!important;background:rgba(185,154,94,.055)!important;border-color:rgba(185,154,94,.18)!important;color:#cbb98b!important}
.ccw-v08 .ccw-building-card-body{border-top-color:rgba(185,166,111,.09)!important;background:rgba(3,8,11,.24)}
.ccw-v08 .ccw-building-requirement{border-left:2px solid rgba(190,164,101,.58);padding-left:9px}
.ccw-v08 .ccw-build-costs span{background:rgba(8,15,18,.86)!important;border-color:rgba(173,169,144,.13)!important}

.ccw-v08 .ccw-build-picker-card{grid-template-columns:96px minmax(0,1fr)!important;min-height:94px;padding:9px!important;border-color:rgba(184,164,111,.12)!important;background:linear-gradient(155deg,rgba(13,23,28,.98),rgba(7,13,16,.97))!important}
.ccw-v08 .ccw-build-picker-card:hover,.ccw-v08 .ccw-build-picker-card.is-selected{border-color:rgba(207,181,109,.30)!important;background:linear-gradient(155deg,rgba(18,31,36,.99),rgba(8,15,19,.99))!important}
.ccw-v08 .ccw-build-picker-art .ccw-building-art{width:90px!important;height:78px!important}
.ccw-v08 .ccw-build-picker-top b{font-size:11px!important;color:#e6eeec!important}
.ccw-v08 .ccw-build-picker-copy>small{color:#a4b4b0!important}

.ccw-v08 .ccw-citadel-building-card{grid-template-columns:154px minmax(0,1fr)!important;min-height:166px!important;border-radius:14px;border-color:rgba(185,166,111,.11)!important;background:linear-gradient(155deg,rgba(13,23,28,.98),rgba(6,12,16,.98))!important;padding:11px!important;gap:14px!important}
.ccw-v08 .ccw-citadel-building-card>.ccw-building-art{width:150px!important;height:132px!important;border-radius:12px;background:radial-gradient(ellipse at 50% 72%,rgba(166,143,83,.11),transparent 56%),rgba(6,13,16,.55)!important;border-color:rgba(185,165,111,.11)!important}
.ccw-v08 .ccw-citadel-building-card:before{width:3px;background:linear-gradient(180deg,var(--b-accent,#b99a5e),transparent 88%);opacity:.76}
.ccw-v08 .ccw-citadel-building-copy h4{font-size:14px;color:#e5ecea}.ccw-v08 .ccw-citadel-building-copy>p{font-size:10px;color:#a9b9b5}

/* Civital / premium structure presentation surfaces. */
.ccw-v08 .ccw-prestige-stage,.ccw-v08 .ccw-own-prestige-stage,.ccw-v08 .ccw-prestige-stage-v2,.ccw-v08 .ccw-own-prestige-stage-v2{background:radial-gradient(circle at 28% 42%,color-mix(in srgb,var(--faction-color) 11%,transparent),transparent 32%),radial-gradient(circle at 72% 18%,rgba(191,161,91,.065),transparent 28%),linear-gradient(150deg,#0b1519,#050b0e)!important;border-color:rgba(190,171,116,.13)!important}

@media(max-width:760px){
  .ccw-v08 .ccw-building-card-top{grid-template-columns:96px minmax(0,1fr)!important;gap:11px!important}
  .ccw-v08 .ccw-building-catalog-card .ccw-building-catalog-art{width:96px!important;height:86px!important}
  .ccw-v08 .ccw-building-catalog-card .ccw-building-catalog-art .ccw-building-art{width:90px!important;height:80px!important}
  .ccw-v08 .ccw-citadel-building-card{grid-template-columns:108px minmax(0,1fr)!important}
  .ccw-v08 .ccw-citadel-building-card>.ccw-building-art{width:104px!important;height:104px!important}
}

/* v0.99.29 - art-directed building evolution */
.ccw-building-art.is-level-1 .ccw-building-svg{transform:scale(.90) translateY(3%);transform-origin:50% 70%}
.ccw-building-art.is-level-2 .ccw-building-svg{transform:scale(.94) translateY(2%);transform-origin:50% 70%}
.ccw-building-art.is-level-3 .ccw-building-svg{transform:scale(.98);transform-origin:50% 70%}
.ccw-building-art.is-level-4 .ccw-building-svg{transform:scale(1.015) translateY(-1%);transform-origin:50% 70%}
.ccw-building-art.is-level-5 .ccw-building-svg{transform:scale(1.05) translateY(-2%);transform-origin:50% 70%;filter:drop-shadow(0 0 9px rgba(221,191,104,.18)) drop-shadow(0 5px 8px rgba(0,0,0,.34))}
.ccw-building-art.is-level-5:after{content:"MASTER";position:absolute;right:2px;top:2px;font:800 10px/1 ui-monospace,monospace;letter-spacing:.12em;color:#e8ce82;background:rgba(9,15,18,.82);border:1px solid rgba(232,206,130,.26);padding:3px 4px;pointer-events:none}
.ccw-building-art.is-mini.is-level-5:after,.ccw-building-art.is-map.is-level-5:after{display:none}


/* v0.99.30 - Planet Design Pass 2 + three-level zoom system */
.ccw-v08 .ccw-zoom-label{min-width:92px!important;color:#9bb9c9!important;letter-spacing:.045em!important}
.ccw-v08 .ccw-zoom-tier{min-width:54px!important}
.ccw-v08 .ccw-zoom-tier.is-active{background:rgba(103,203,240,.12)!important;color:#effbff!important;box-shadow:inset 0 -2px 0 rgba(112,218,248,.72)}
.ccw-v08[data-globe-zoom="world"] .ccw-map-viewport{--ccw-zoom-accent:rgba(105,183,218,.18)}
.ccw-v08[data-globe-zoom="region"] .ccw-map-viewport{--ccw-zoom-accent:rgba(121,206,226,.24)}
.ccw-v08[data-globe-zoom="local"] .ccw-map-viewport{--ccw-zoom-accent:rgba(229,203,135,.16)}
.ccw-v08 .ccw-map-viewport::after{box-shadow:inset 0 0 90px var(--ccw-zoom-accent,rgba(105,183,218,.16))!important;transition:box-shadow .24s ease}
@media(max-width:900px){.ccw-v08 .ccw-zoom-label{min-width:72px!important;font-size:10px!important}.ccw-v08 .ccw-zoom-tier{display:none!important}}

@media(max-width:600px){.ccw-v08 .ccw-map-tools{display:flex!important;grid-template-columns:none!important;align-items:center!important}.ccw-v08 .ccw-zoom-label{min-width:66px!important}.ccw-v08 .ccw-map-tool-wide{display:none!important}}

/* v0.99.31 - Living World Pass · runtime visuals remain Canvas/SVG for performance. */


/* v0.99.33 - Graphics Polish Pass · richer roads, clouds, water and structure readability. */
.ccw-v08 .ccw-building-catalog-card.is-great-project{border-color:rgba(218,190,105,.28)!important;background:linear-gradient(150deg,rgba(28,27,20,.94),rgba(7,15,21,.98))!important}
.ccw-v08 .ccw-building-catalog-card.is-great-project .ccw-building-card-top{background:radial-gradient(circle at 14% 30%,rgba(225,196,108,.08),transparent 45%)}
.ccw-building-art.is-great-project{--b-accent:#e7ca76;--b-soft:rgba(231,202,118,.18)}
.ccw-building-art.is-project-world-beacon{--b-accent:#8edcf1;--b-soft:rgba(142,220,241,.18)}
.ccw-building-art.is-project-grand-exchange .ccw-great-project-svg.is-stage-3{filter:drop-shadow(0 0 9px rgba(231,202,118,.30))}
.ccw-building-art.is-project-world-beacon .ccw-great-project-svg.is-stage-3{filter:drop-shadow(0 0 10px rgba(142,220,241,.34))}
.ccw-great-project-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px;border:1px solid rgba(219,195,126,.13);background:rgba(255,255,255,.018)}
.ccw-great-project-stages span{min-width:0;display:grid;gap:2px;padding:6px 7px;border-top:2px solid rgba(180,198,205,.14);background:rgba(7,15,21,.54)}
.ccw-great-project-stages span i{font-style:normal;font-size:10px;font-weight:900;color:#657e8b}
.ccw-great-project-stages span b{font-size:10px;letter-spacing:.08em;line-height:1.25;color:#8299a4}
.ccw-great-project-stages span.is-current{border-top-color:#e7ca76;background:rgba(231,202,118,.06)}
.ccw-great-project-stages.is-world-beacon span.is-current{border-top-color:#8edcf1;background:rgba(142,220,241,.06)}
.ccw-great-project-stages span.is-current i,.ccw-great-project-stages span.is-current b{color:#ecd78f}
.ccw-great-project-stages.is-world-beacon span.is-current i,.ccw-great-project-stages.is-world-beacon span.is-current b{color:#a5e5f4}
.ccw-great-project-stages span.is-complete{border-top-color:rgba(117,201,157,.65)}
.ccw-great-project-stages span.is-complete i,.ccw-great-project-stages span.is-complete b{color:#85c8a5}
.ccw-v08 .ccw-build-badge.is-project{border-color:rgba(229,198,108,.30);color:#efd58a;background:rgba(229,198,108,.06)}
.ccw-v08 .ccw-upgrade-summary.is-great-project{border-color:rgba(225,195,105,.22);background:rgba(225,195,105,.035)}

/* v0.99.34 - World Landmark Pass · physical World Core + biome-aware Dynasty Sites. */

/* v0.99.35 - Permanent Landmark Identity: Dynasty Sites use neutral cross-season materials and inspection-only labels. */

/* v0.99.36 - Status Overlay Cleanup: isolated/supply states are visual-first and inspection text stays contextual. */


/* v0.99.37 - Regalia Visual Pass · earned loadout is visible on the Civital, preview and Public Citadel. */
.ccw-regalia-visual-stage{border:1px solid rgba(210,190,120,.18);border-radius:18px;background:radial-gradient(circle at 50% 44%,rgba(70,130,151,.16),transparent 42%),linear-gradient(150deg,rgba(8,20,27,.98),rgba(3,9,13,.98));padding:16px;overflow:hidden;box-shadow:inset 0 0 55px rgba(43,91,109,.08)}
.ccw-regalia-visual-stage>header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:2px 4px 8px}.ccw-regalia-visual-stage>header span,.ccw-public-regalia-visual>div span{font-size:10px;letter-spacing:.15em;color:#7e9aa3}.ccw-regalia-visual-stage>header h3{margin:3px 0 0;font-size:16px}.ccw-regalia-visual-stage>header strong{font-size:10px;letter-spacing:.12em;color:#d9c478;border:1px solid rgba(217,196,120,.22);padding:6px 8px;border-radius:999px}
.ccw-regalia-visual-stage canvas{display:block;width:100%;height:360px;border-radius:13px;background:linear-gradient(180deg,rgba(8,22,29,.42),rgba(2,8,11,.15))}.ccw-regalia-visual-key{display:grid;grid-template-columns:repeat(9,1fr);gap:6px}.ccw-regalia-visual-key span{text-align:center;padding:6px 4px;border-top:1px solid rgba(156,192,203,.10);font-size:10px;letter-spacing:.10em;color:#789098}
.ccw-public-regalia-visual{border:1px solid rgba(213,191,115,.16);border-radius:17px;background:radial-gradient(circle at 50% 48%,color-mix(in srgb,var(--faction-color) 13%,transparent),transparent 46%),rgba(4,11,15,.72);padding:13px 16px 8px}.ccw-public-regalia-visual>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.ccw-public-regalia-visual>div b{font-size:10px;color:#d7e3e6}.ccw-public-regalia-visual canvas{display:block;width:100%;height:300px}
@media(max-width:800px){.ccw-regalia-visual-stage canvas{height:280px}.ccw-public-regalia-visual canvas{height:250px}.ccw-regalia-visual-key{grid-template-columns:repeat(4,1fr)}}

/* v0.99.38 - Regalia Expansion: 9-slot Civital loadout with Grounds + Grand Approach. */


/* v0.99.41 - Regalia Studio streamlined: slot selection happens in the equipped panel, with a single focused editor below. */
.ccw-regalia-icon{display:block;width:34px;height:34px;overflow:visible}.ccw-regalia-icon *{vector-effect:non-scaling-stroke}.ccw-regalia-icon-base,.ccw-regalia-icon-gold{fill:none;stroke-linecap:round;stroke-linejoin:round}.ccw-regalia-icon-base{stroke:#9fb2b8;stroke-width:1.8}.ccw-regalia-icon-gold{stroke:#d9bf72;stroke-width:1.8}.ccw-regalia-icon-cyan{fill:#78ccdf;stroke:#b6edf5;stroke-width:.7}.ccw-regalia-icon-base-fill{fill:#a9b9be}.ccw-regalia-icon.is-empty{opacity:.45}.ccw-regalia-icon.is-equipped .ccw-regalia-icon-gold,.ccw-regalia-slot.is-filled .ccw-regalia-icon-gold{stroke:#efd47b}.ccw-regalia-icon.is-equipped .ccw-regalia-icon-cyan,.ccw-regalia-slot.is-filled .ccw-regalia-icon-cyan{filter:drop-shadow(0 0 4px rgba(103,210,233,.35))}
.ccw-regalia-workbench{display:grid;grid-template-columns:minmax(0,3fr) minmax(340px,2fr);border:1px solid rgba(210,190,120,.20);border-radius:20px;background:linear-gradient(145deg,rgba(7,18,24,.98),rgba(3,9,13,.99));overflow:hidden;box-shadow:inset 0 0 70px rgba(43,91,109,.06)}
.ccw-regalia-workbench .ccw-regalia-visual-stage{border:0;border-radius:0;background:radial-gradient(circle at 50% 45%,rgba(70,130,151,.16),transparent 43%),linear-gradient(150deg,rgba(8,20,27,.96),rgba(3,9,13,.98));padding:16px 16px 14px;box-shadow:none;min-width:0}
.ccw-regalia-workbench .ccw-regalia-visual-stage>header{align-items:center;padding:3px 5px 9px}.ccw-regalia-workbench .ccw-regalia-visual-stage>header span{font-size:10px}.ccw-regalia-workbench .ccw-regalia-visual-stage>header h3{font-size:18px;line-height:1.2}.ccw-regalia-map-status{display:inline-flex!important;align-items:center;gap:7px;font-size:10px!important;white-space:nowrap}.ccw-regalia-map-status>i{display:block;width:7px;height:7px;border-radius:50%;background:#73d2e5;box-shadow:0 0 10px rgba(115,210,229,.55)}
.ccw-regalia-workbench .ccw-regalia-visual-stage canvas{height:344px;border-radius:14px;background:linear-gradient(180deg,rgba(6,20,27,.46),rgba(2,7,10,.18));border:1px solid rgba(126,174,188,.06)}
.ccw-regalia-equipped-panel{min-width:0;border-left:1px solid rgba(204,185,119,.16);padding:17px;background:linear-gradient(180deg,rgba(7,16,21,.90),rgba(3,10,14,.96));display:flex;flex-direction:column}.ccw-regalia-equipped-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 12px;border-bottom:1px solid rgba(215,194,125,.20)}.ccw-regalia-equipped-panel>header span{font-size:12px;font-weight:900;letter-spacing:.16em;color:#dce6e9}.ccw-regalia-equipped-panel>header b{font-size:11px;color:#d8c174}.ccw-regalia-equipped-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:12px}.ccw-regalia-equipped-slot{appearance:none;width:100%;min-width:0;border:1px solid rgba(151,188,199,.12);border-radius:11px;background:rgba(4,12,16,.62);color:#dbe5e8;padding:8px;display:grid;grid-template-columns:43px minmax(0,1fr) 10px;align-items:center;gap:8px;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.ccw-regalia-equipped-slot:hover{border-color:rgba(218,195,119,.34);background:rgba(11,24,30,.82);transform:translateY(-1px)}.ccw-regalia-equipped-slot.is-filled{border-color:rgba(215,192,113,.24);background:linear-gradient(145deg,rgba(22,24,19,.35),rgba(5,14,18,.76))}.ccw-regalia-equipped-icon{width:43px;height:43px;border-radius:9px;border:1px solid rgba(167,195,203,.10);background:radial-gradient(circle at 50% 38%,rgba(80,145,162,.13),rgba(3,9,12,.55));display:grid;place-items:center}.ccw-regalia-equipped-icon .ccw-regalia-icon{width:35px;height:35px}.ccw-regalia-equipped-copy{min-width:0;display:grid;gap:3px}.ccw-regalia-equipped-copy small{font-size:10px;color:#74a3b0;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ccw-regalia-equipped-copy b{font-size:11px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ccw-regalia-equipped-slot.is-empty .ccw-regalia-equipped-copy b{color:#697e86;font-weight:700}.ccw-regalia-equipped-slot>i{font-style:normal;font-size:19px;color:#74bcd0}.ccw-regalia-equipped-hint{display:block;margin-top:auto;padding:12px 2px 1px;color:#667e87;font-size:10px;line-height:1.4}
.ccw-regalia-equipped-slot.is-active{border-color:rgba(237,208,108,.70);background:linear-gradient(145deg,rgba(39,34,17,.52),rgba(10,22,27,.92));box-shadow:0 0 0 1px rgba(237,208,108,.24),0 0 24px rgba(237,208,108,.10)}.ccw-regalia-editor{border:1px solid rgba(210,190,120,.20);border-radius:20px;background:linear-gradient(145deg,rgba(7,18,24,.98),rgba(3,9,13,.99));padding:18px}.ccw-regalia-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid rgba(215,194,125,.16)}.ccw-regalia-editor-head span{font-size:10px;letter-spacing:.16em;color:#76a6b2}.ccw-regalia-editor-head h3{margin:4px 0 6px;font-size:26px;line-height:1.08}.ccw-regalia-editor-head p{margin:0;color:#7f97a0;font-size:12px;line-height:1.55;max-width:820px}.ccw-regalia-editor-meta{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;min-width:270px;padding:10px 12px;border:1px solid rgba(153,189,199,.12);border-radius:14px;background:rgba(4,12,16,.52)}.ccw-regalia-editor-meta>i{display:grid;place-items:center}.ccw-regalia-editor-meta .ccw-regalia-icon{width:40px;height:40px}.ccw-regalia-editor-meta b{display:block;font-size:14px;color:#e5edf0}.ccw-regalia-editor-meta small{display:block;margin-top:4px;font-size:11px;line-height:1.45;color:#7c949d}.ccw-regalia-option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:16px}.ccw-regalia-option{appearance:none;width:100%;min-width:0;padding:0;border:1px solid rgba(151,188,199,.14);border-radius:16px;background:linear-gradient(180deg,rgba(6,16,21,.90),rgba(4,11,15,.98));color:#dbe5e8;display:grid;grid-template-rows:auto 1fr;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.ccw-regalia-option:hover:not(:disabled){border-color:rgba(218,195,119,.34);background:linear-gradient(180deg,rgba(10,21,27,.94),rgba(4,11,15,.98));transform:translateY(-1px)}.ccw-regalia-option:disabled{opacity:.72;cursor:default}.ccw-regalia-option.is-current{border-color:rgba(237,208,108,.78);box-shadow:0 0 0 1px rgba(237,208,108,.24),0 0 26px rgba(237,208,108,.12)}.ccw-regalia-option-art{position:relative;display:grid;justify-items:center;align-content:center;gap:10px;min-height:150px;padding:18px;border-bottom:1px solid rgba(151,188,199,.10);background:radial-gradient(circle at 50% 30%,rgba(70,130,151,.10),rgba(3,9,12,.12) 60%,rgba(3,9,12,.02) 100%)}.ccw-regalia-option-art em{position:absolute;top:10px;right:10px;font-style:normal;font-size:10px;font-weight:900;letter-spacing:.12em;color:#071116;background:linear-gradient(180deg,#f2d269,#d9ab36);padding:7px 10px;border-radius:999px}.ccw-regalia-option.is-empty .ccw-regalia-option-art em{background:rgba(99,130,140,.22);color:#b7cbd1}.ccw-regalia-card-art{display:grid;place-items:center;width:100%;height:100%}.ccw-regalia-card-art svg{display:block;width:96px;height:96px;overflow:visible}.ccw-regalia-card-art.is-banner svg{width:104px;height:104px;filter:drop-shadow(0 0 18px rgba(0,0,0,.18))}.ccw-regalia-card-art.is-empty{opacity:.72}.ccw-regalia-card-art-placeholder{display:grid;place-items:center;width:92px;height:92px;border-radius:20px;border:1px dashed rgba(143,173,184,.18);background:rgba(4,11,15,.32)}.ccw-regalia-card-art-placeholder .ccw-regalia-icon{width:58px;height:58px}.ccw-regalia-card-art.is-generic{position:relative;width:108px;height:108px;border-radius:24px;background:radial-gradient(circle at 50% 28%,rgba(255,255,255,.04),rgba(255,255,255,0) 55%),linear-gradient(180deg,color-mix(in srgb,var(--ccw-regalia-card-cloth) 68%,#08161c),#071116);border:1px solid color-mix(in srgb,var(--ccw-regalia-card-trim) 42%,rgba(171,196,204,.16));box-shadow:inset 0 0 24px rgba(6,18,22,.60),0 0 20px var(--ccw-regalia-card-glow)}.ccw-regalia-card-art-frame{position:absolute;inset:10px;border-radius:18px;border:1px solid color-mix(in srgb,var(--ccw-regalia-card-trim) 54%,rgba(255,255,255,.10));background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(0,0,0,.08))}.ccw-regalia-card-art-icon{position:relative;z-index:1;display:grid;place-items:center;width:74px;height:74px;border-radius:18px;background:radial-gradient(circle at 50% 35%,rgba(92,161,181,.14),rgba(3,9,12,.25) 70%)}.ccw-regalia-card-art-icon .ccw-regalia-icon{width:58px;height:58px}.ccw-regalia-option.is-current .ccw-regalia-card-art.is-generic{box-shadow:inset 0 0 24px rgba(6,18,22,.60),0 0 20px var(--ccw-regalia-card-glow),0 0 0 1px rgba(242,210,105,.28)}.ccw-regalia-option-copy{display:grid;gap:8px;padding:14px 14px 15px}.ccw-regalia-option-copy b{font-size:14px;line-height:1.2}.ccw-regalia-option-copy p{margin:0;min-height:48px;color:#cdd8db;font-size:12px;line-height:1.5}.ccw-regalia-option-copy small{color:#71c39a;font-size:11px;font-weight:800;letter-spacing:.10em}.ccw-regalia-option.is-empty .ccw-regalia-option-copy small{color:#7fa9b6}.ccw-regalia-slot-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:rgba(4,11,15,.58);border:1px solid rgba(164,195,204,.10)}.ccw-regalia-slot header>span.ccw-regalia-slot-icon{font-size:inherit}.ccw-regalia-preview{grid-template-columns:50px 1fr;border-radius:10px}.ccw-regalia-preview i{display:grid;place-items:center}.ccw-regalia-preview i .ccw-regalia-icon{width:43px;height:43px}.ccw-regalia-item{grid-template-columns:44px 1fr;border-radius:10px}.ccw-regalia-item>i{display:grid;place-items:center}.ccw-regalia-item>i .ccw-regalia-icon{width:38px;height:38px}.ccw-public-regalia i{display:grid;place-items:center}.ccw-public-regalia i .ccw-regalia-icon{width:25px;height:25px}.ccw-regalia-slot.is-focus-pulse{animation:ccwRegaliaFocus .9s ease}@keyframes ccwRegaliaFocus{0%,100%{box-shadow:0 0 0 0 rgba(230,204,120,0)}35%{box-shadow:0 0 0 3px rgba(230,204,120,.22),0 0 30px rgba(230,204,120,.10)}}
@media(max-width:1180px){.ccw-regalia-workbench{grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr)}.ccw-regalia-equipped-grid{grid-template-columns:1fr}.ccw-regalia-workbench .ccw-regalia-visual-stage canvas{height:330px}.ccw-regalia-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-regalia-editor-head{flex-direction:column}}
@media(max-width:860px){.ccw-regalia-workbench{grid-template-columns:1fr}.ccw-regalia-equipped-panel{border-left:0;border-top:1px solid rgba(204,185,119,.16)}.ccw-regalia-equipped-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-regalia-workbench .ccw-regalia-visual-stage canvas{height:300px}.ccw-regalia-workbench .ccw-regalia-visual-stage>header{align-items:flex-start;flex-direction:column}.ccw-regalia-map-status{align-self:flex-start}.ccw-regalia-option-grid{grid-template-columns:1fr}.ccw-regalia-editor{padding:15px}.ccw-regalia-editor-head h3{font-size:22px}.ccw-regalia-editor-meta{min-width:0;width:100%}}
@media(max-width:560px){.ccw-regalia-equipped-grid{grid-template-columns:1fr}.ccw-regalia-workbench .ccw-regalia-visual-stage canvas{height:260px}.ccw-regalia-equipped-panel{padding:13px}.ccw-regalia-workbench .ccw-regalia-visual-stage{padding:13px}.ccw-regalia-workbench .ccw-regalia-visual-stage>header h3{font-size:16px}.ccw-regalia-editor-head span{font-size:10px}.ccw-regalia-editor-head h3{font-size:19px}.ccw-regalia-option-art{min-height:124px}.ccw-regalia-card-art svg{width:82px;height:82px}.ccw-regalia-card-art.is-banner svg{width:88px;height:88px}.ccw-regalia-card-art-placeholder{width:78px;height:78px}}

/* v0.99.47 - UI System Cleanup: authored icon language, denser hierarchy and modernized legacy surfaces. */
.ccw-static-ui-icon,.ccw-nav-icon,.ccw-hall-icon .ccw-ui-icon,.ccw-trophy-icon .ccw-ui-icon,.ccw-chronicle-icon .ccw-ui-icon{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ccw-tab-icon{width:20px;height:20px;display:grid;place-items:center;color:#8fb3c2;transition:color .16s ease,transform .16s ease}.ccw-tab-icon .ccw-static-ui-icon{width:18px;height:18px}.ccw-tab>span:last-child{line-height:1}.ccw-tab:hover .ccw-tab-icon{color:#d1e9f0}.ccw-tab.is-active .ccw-tab-icon{color:#86d8e9;filter:drop-shadow(0 0 6px rgba(112,211,232,.20))}
.ccw-v08 .ccw-sidebar-quicknav{gap:7px!important;padding:10px!important;background:linear-gradient(180deg,#071017,#060d13)!important;border:1px solid rgba(139,193,213,.10)!important;border-radius:14px!important;margin:10px 10px 2px!important;position:sticky!important;top:0!important}
.ccw-v08 .ccw-sidebar-quicknav button{min-height:46px!important;border-radius:10px!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;text-align:left!important;padding:8px 9px!important;font-size:10px!important;letter-spacing:.08em!important;background:linear-gradient(180deg,rgba(12,25,33,.92),rgba(7,16,22,.94))!important;border:1px solid rgba(139,193,213,.10)!important;color:#78939f!important}.ccw-v08 .ccw-sidebar-quicknav button .ccw-static-ui-icon{width:19px;height:19px;color:#6f9fb0}.ccw-v08 .ccw-sidebar-quicknav button:hover,.ccw-v08 .ccw-sidebar-quicknav button.is-active{border-color:rgba(117,211,244,.30)!important;background:linear-gradient(180deg,rgba(18,41,53,.94),rgba(9,23,31,.96))!important;color:#e0f0f4!important}.ccw-v08 .ccw-sidebar-quicknav button.is-active .ccw-static-ui-icon{color:#82d8ea;filter:drop-shadow(0 0 6px rgba(115,211,234,.18))}
.ccw-v08 .ccw-command-panel{margin:8px 10px!important;padding:14px!important;border:1px solid rgba(139,193,213,.10)!important;border-radius:14px!important;background:linear-gradient(150deg,rgba(12,23,31,.96),rgba(6,14,20,.98))!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important}.ccw-v08 .ccw-command-panel[data-sidebar-section].is-collapsed{background:linear-gradient(150deg,rgba(10,20,27,.94),rgba(6,14,20,.96))!important}.ccw-v08 .ccw-panel-head{min-height:34px;margin-bottom:11px!important;padding:0 22px 10px 0!important;border-bottom:1px solid rgba(139,193,213,.08)!important}.ccw-v08 .ccw-panel-head span{font-size:10px!important;color:#6f8b98!important}.ccw-v08 .ccw-panel-head b{font-size:11px!important;letter-spacing:.08em!important;color:#d6e5ea!important}
.ccw-section-head-icon{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:12px!important;align-items:center!important}.ccw-section-head-icon>i{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid rgba(134,193,213,.14);background:radial-gradient(circle at 50% 32%,rgba(93,169,190,.13),rgba(4,12,17,.58));color:#8bd8e8}.ccw-section-head-icon>i .ccw-static-ui-icon{width:24px;height:24px}.ccw-section-head-icon>div>span{font-size:10px!important;letter-spacing:.15em!important;color:#6f8d99!important}.ccw-section-head-icon>div>h2{margin-top:4px!important}
.ccw-v08 .ccw-hub-nav{padding:6px!important;gap:5px!important;border-radius:15px!important}.ccw-v08 .ccw-hub-nav button{min-height:42px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:8px 12px!important;font-size:10px!important;border-radius:10px!important}.ccw-hub-nav-icon{display:grid;place-items:center;width:19px;height:19px;color:#6f9aa8}.ccw-hub-nav-icon .ccw-ui-icon{width:18px;height:18px}.ccw-v08 .ccw-hub-nav button:hover .ccw-hub-nav-icon{color:#a9d9e5}.ccw-v08 .ccw-hub-nav button.is-active .ccw-hub-nav-icon{color:#86d8e9;filter:drop-shadow(0 0 5px rgba(115,211,234,.18))}
.ccw-v08 .ccw-ranking-list{overflow:hidden!important;border-radius:15px!important;background:linear-gradient(180deg,rgba(8,17,24,.90),rgba(5,12,17,.96))!important}.ccw-v08 .ccw-rank-row{padding:12px 13px!important;background:rgba(255,255,255,.008)!important;transition:background .14s ease}.ccw-v08 .ccw-rank-row:hover{background:rgba(118,196,218,.035)!important}.ccw-v08 .ccw-war-card,.ccw-v08 .ccw-proposal,.ccw-v08 .ccw-candidate-view{border-radius:14px!important;background:linear-gradient(150deg,rgba(15,28,38,.94),rgba(7,16,22,.98))!important}
.ccw-proposal-head b{display:flex;align-items:center;gap:7px}.ccw-proposal-head-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;border:1px solid rgba(139,193,213,.12);background:rgba(4,12,17,.45);color:#8dcad9}.ccw-proposal-head-icon .ccw-ui-icon{width:15px;height:15px}
.ccw-v08 .ccw-research-branch{border-radius:14px!important;padding:14px!important;background:linear-gradient(150deg,rgba(9,18,28,.94),rgba(5,12,19,.98))!important}.ccw-research-branch-icon{display:grid!important;place-items:center!important;width:42px;height:42px!important;border-radius:12px;border:1px solid rgba(135,168,255,.16);background:radial-gradient(circle at 50% 35%,rgba(126,158,244,.13),rgba(5,13,20,.30));color:#a9c2ff!important}.ccw-research-branch-icon .ccw-ui-icon{width:24px;height:24px}.ccw-v08 .ccw-tech-node{border-radius:12px!important;padding:12px!important;min-height:196px!important}.ccw-v08 .ccw-tech-node header>span.ccw-tech-visual{width:38px!important;height:38px!important;border-radius:10px}.ccw-v08 .ccw-tech-node header small{font-size:10px!important;line-height:1.4!important}.ccw-v08 .ccw-tech-node h4{font-size:12px!important}.ccw-v08 .ccw-tech-node p{font-size:10px!important;line-height:1.5!important}.ccw-v08 .ccw-tech-node-cost b,.ccw-v08 .ccw-tech-node-cost small{font-size:10px!important}
.ccw-hall-icon,.ccw-trophy-icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:10px;background:radial-gradient(circle at 50% 35%,rgba(219,194,112,.12),rgba(7,13,17,.25));border:1px solid rgba(219,194,112,.14);color:#dfc777!important}.ccw-hall-icon .ccw-ui-icon,.ccw-trophy-icon .ccw-ui-icon{width:21px;height:21px}.ccw-own-hall-pedestals article,.ccw-public-hall-pedestals article{padding:14px 10px!important;gap:7px!important}.ccw-own-hall-pedestals b,.ccw-public-hall-pedestals b{font-size:24px!important}.ccw-own-hall-pedestals small,.ccw-public-hall-pedestals small{font-size:10px!important;line-height:1.35}.ccw-trophy-card .ccw-trophy-icon,.ccw-public-hall-card .ccw-trophy-icon{margin-bottom:3px}
.ccw-chronicle-icon{display:grid!important;place-items:center!important;color:#86cad9!important}.ccw-chronicle-icon .ccw-ui-icon{width:15px;height:15px}.ccw-v08 .ccw-chronicle-row b{font-size:11px!important}.ccw-v08 .ccw-chronicle-row small{font-size:10px!important}.ccw-v08 .ccw-chronicle-row p{font-size:10px!important}.ccw-v08 .ccw-legacy-unlock{grid-template-columns:38px 1fr auto!important;gap:10px!important;padding:11px 12px!important;border:1px solid rgba(151,188,207,.08)!important;border-radius:11px!important;margin-bottom:7px;background:linear-gradient(150deg,rgba(10,21,29,.94),rgba(6,14,20,.96))!important}.ccw-v08 .ccw-legacy-unlock-icon{display:grid!important;place-items:center!important;width:36px;height:36px;border-radius:10px!important;border:1px solid rgba(138,199,216,.12);background:rgba(5,13,18,.55)}.ccw-v08 .ccw-legacy-unlock-icon .ccw-ui-icon,.ccw-v08 .ccw-legacy-unlock-icon .ccw-regalia-icon{width:22px;height:22px}.ccw-v08 .ccw-legacy-unlock b{font-size:11px!important}.ccw-v08 .ccw-legacy-unlock small,.ccw-v08 .ccw-legacy-unlock em{font-size:10px!important}.ccw-v08 .ccw-legacy-unlock p{font-size:10px!important;line-height:1.45!important}
@media(max-width:900px){.ccw-tab-icon{width:22px;height:22px}.ccw-tab-icon .ccw-static-ui-icon{width:20px;height:20px}.ccw-v08 .ccw-sidebar-quicknav{margin:0 0 8px!important;grid-template-columns:repeat(4,minmax(74px,1fr))!important}.ccw-v08 .ccw-command-panel{margin:0 0 8px!important}.ccw-v08 .ccw-hub-nav button{min-height:40px!important}.ccw-section-head-icon{grid-template-columns:38px minmax(0,1fr)!important}.ccw-section-head-icon>i{width:38px;height:38px}}
@media(max-width:560px){.ccw-v08 .ccw-sidebar-quicknav button{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;gap:3px!important;font-size:10px!important}.ccw-v08 .ccw-sidebar-quicknav button .ccw-static-ui-icon{width:18px;height:18px}.ccw-v08 .ccw-hub-nav button{display:grid!important;grid-template-columns:1fr!important;justify-items:center!important;gap:3px!important;padding:7px 9px!important}.ccw-hub-nav-icon{width:18px;height:18px}.ccw-v08 .ccw-legacy-unlock{grid-template-columns:36px 1fr!important}.ccw-v08 .ccw-legacy-unlock em{grid-column:2!important}}
.ccw-command-button-v2{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}.ccw-command-button-v2>i{display:grid;place-items:center;width:22px;height:22px;color:#83d5e7}.ccw-command-button-v2>i .ccw-static-ui-icon{width:19px;height:19px}.ccw-legend-icon-label{display:inline-flex!important;align-items:center;gap:5px}.ccw-legend-icon-label .ccw-static-ui-icon{width:13px;height:13px;color:#d8c574}
.ccw-landmark-icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:10px!important;border:1px solid rgba(219,194,112,.14)!important;background:rgba(7,15,20,.58)!important;color:#ddc675!important}.ccw-landmark-icon .ccw-ui-icon{width:20px;height:20px}.ccw-recognition-chip{display:inline-flex!important;align-items:center;gap:4px}.ccw-recognition-chip .ccw-ui-icon{width:12px;height:12px;color:#d8c46f}.ccw-legacy-showcase-brand strong .ccw-ui-icon{width:12px;height:12px;vertical-align:-2px;color:#d8c46f}

/* v0.99.52 · CivID - permanent Coinlization identity */
.ccw-v08 .ccw-hub-badges .is-civid{border-color:rgba(226,188,98,.58);color:#f0d89a;background:rgba(226,188,98,.08)}
.ccw-v08 .ccw-civid-panel{display:grid;gap:18px}.ccw-v08 .ccw-civid-intro-card,.ccw-v08 .ccw-civid-passport,.ccw-v08 .ccw-civid-principle{border:1px solid rgba(151,188,207,.14);background:linear-gradient(145deg,rgba(13,26,35,.98),rgba(7,15,21,.98));border-radius:14px;padding:20px}.ccw-v08 .ccw-civid-intro-card{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:center}.ccw-v08 .ccw-civid-intro-card span,.ccw-v08 .ccw-civid-passport span,.ccw-v08 .ccw-civid-principle>span,.ccw-v08 .ccw-memory-seal-card>span,.ccw-v08 .ccw-civid-provenance-card>span{font-size:10px;letter-spacing:.16em;color:#7696a7;font-weight:900}.ccw-v08 .ccw-civid-intro-card h2{margin:7px 0 8px;font-size:28px;line-height:1.02}.ccw-v08 .ccw-civid-intro-card p,.ccw-v08 .ccw-civid-principle p{color:#8fa8b4;line-height:1.6;margin:0}.ccw-v08 .ccw-civid-intro-card aside{display:grid;gap:10px;border-left:1px solid rgba(151,188,207,.12);padding-left:18px}.ccw-v08 .ccw-civid-intro-card aside small{color:#edc875;font-weight:900;letter-spacing:.08em}.ccw-v08 .ccw-civid-intro-card aside em{font-style:normal;color:#6f8997;font-size:10px;line-height:1.5}.ccw-v08 .ccw-civid-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:stretch}.ccw-v08 .ccw-civid-flow article{padding:14px;border:1px solid rgba(151,188,207,.11);background:rgba(8,18,25,.75);border-radius:10px}.ccw-v08 .ccw-civid-flow b{display:block;color:#d9e8ee;font-size:10px;letter-spacing:.1em}.ccw-v08 .ccw-civid-flow p{color:#78929f;font-size:10px;margin:6px 0 0}.ccw-v08 .ccw-civid-flow i{align-self:center;color:#617d8b;font-style:normal}.ccw-v08 .ccw-civid-lock{padding:12px 14px;border:1px solid rgba(233,177,83,.24);background:rgba(87,58,16,.12);color:#c8aa69;border-radius:10px;font-size:11px}.ccw-v08 .ccw-civid-passport{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(190px,300px);gap:18px;align-items:center;border-color:rgba(226,188,98,.25);box-shadow:inset 0 0 38px rgba(226,188,98,.025)}.ccw-v08 .ccw-civid-passport-mark{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;border:1px solid rgba(226,188,98,.32);background:rgba(226,188,98,.07);color:#e5c570}.ccw-v08 .ccw-civid-passport-mark svg{width:28px;height:28px}.ccw-v08 .ccw-civid-passport h2{margin:3px 0;font-size:28px;color:#f2d989}.ccw-v08 .ccw-civid-passport p{margin:0;color:#d8e7ec;font-weight:800}.ccw-v08 .ccw-civid-passport small{color:#718b98}.ccw-v08 .ccw-civid-passport aside{display:grid;gap:5px;text-align:right}.ccw-v08 .ccw-civid-passport code{font-size:10px;color:#829aa5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ccw-v08 .ccw-civid-passport a{font-size:10px;letter-spacing:.1em;font-weight:900;color:#8edcf2;text-decoration:none}.ccw-v08 .ccw-civid-principle h3{margin:5px 0;font-size:19px}.ccw-v08 .ccw-section-head.is-sub{margin-top:22px}.ccw-v08 .ccw-memory-seal-grid,.ccw-v08 .ccw-civid-provenance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ccw-v08 .ccw-memory-seal-card,.ccw-v08 .ccw-civid-provenance-card{padding:14px;border:1px solid rgba(151,188,207,.11);background:rgba(7,16,22,.78);border-radius:10px;min-width:0}.ccw-v08 .ccw-memory-seal-card.is-sealed{border-color:rgba(226,188,98,.21);background:linear-gradient(150deg,rgba(39,31,13,.18),rgba(7,16,22,.86))}.ccw-v08 .ccw-memory-seal-card h4,.ccw-v08 .ccw-civid-provenance-card h4{margin:6px 0;color:#dce9ee}.ccw-v08 .ccw-memory-seal-card p{min-height:42px;color:#8099a5;font-size:10px;line-height:1.45}.ccw-v08 .ccw-memory-seal-card small,.ccw-v08 .ccw-civid-provenance-card small{display:block;color:#607a88;font-size:10px}.ccw-v08 .ccw-memory-seal-card textarea{width:100%;min-height:72px;margin:8px 0;padding:9px;border:1px solid rgba(151,188,207,.15);background:#071016;color:#d8e8ee;border-radius:7px;resize:vertical;font:inherit;font-size:10px}.ccw-v08 .ccw-memory-seal-card .ccw-btn{width:100%;margin-top:2px}.ccw-v08 .ccw-civid-settlement-lock{margin-top:10px;color:#ad9362!important;line-height:1.4}.ccw-v08 .ccw-civid-provenance-card b{display:block;margin:5px 0;color:#cbdde4}
@media(max-width:760px){.ccw-v08 .ccw-civid-intro-card,.ccw-v08 .ccw-civid-passport{grid-template-columns:1fr}.ccw-v08 .ccw-civid-intro-card aside{border-left:0;border-top:1px solid rgba(151,188,207,.12);padding:14px 0 0}.ccw-v08 .ccw-civid-passport aside{text-align:left}.ccw-v08 .ccw-memory-seal-grid,.ccw-v08 .ccw-civid-provenance-grid{grid-template-columns:1fr}.ccw-v08 .ccw-civid-flow{grid-template-columns:1fr}.ccw-v08 .ccw-civid-flow i{display:none}}
.ccw-v08 .ccw-civid-forge-policy{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.ccw-v08 .ccw-civid-forge-policy article{padding:12px;border:1px solid rgba(226,188,98,.16);background:linear-gradient(145deg,rgba(43,34,13,.14),rgba(7,16,22,.82));border-radius:10px;min-width:0}.ccw-v08 .ccw-civid-forge-policy span{display:block;font-size:10px;letter-spacing:.13em;color:#7b94a1;font-weight:900}.ccw-v08 .ccw-civid-forge-policy b{display:block;margin-top:5px;color:#edd385;font-size:13px}.ccw-v08 .ccw-civid-forge-policy small{display:block;margin-top:4px;color:#647d89;font-size:10px;letter-spacing:.08em}.ccw-v08 .ccw-civid-forge-policy article:first-child{border-color:rgba(112,213,239,.22);background:linear-gradient(145deg,rgba(15,49,61,.24),rgba(7,16,22,.82))}.ccw-v08 .ccw-civid-forge-policy article:first-child b{color:#9ee7f8}@media(max-width:900px){.ccw-v08 .ccw-civid-forge-policy{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-v08 .ccw-civid-forge-policy article:first-child{grid-column:1/-1}}@media(max-width:520px){.ccw-v08 .ccw-civid-forge-policy{grid-template-columns:1fr}.ccw-v08 .ccw-civid-forge-policy article:first-child{grid-column:auto}}

/* v0.99.56 accessibility hardening: readable functional microcopy; map glyph labels remain compact. */
.ccw-v08 button,.ccw-v08 input,.ccw-v08 select,.ccw-v08 textarea,.ccw-btn,.ccw-command-button,.ccw-map-tool{font-size:max(10px,.625rem)}


/* v0.99.57 - Sidebar quicknav responsive fit.
   The game sidebar is narrower than the viewport on desktop, so viewport media queries
   cannot reliably decide when icon + label fits. Use the sidebar itself as the container. */
.ccw-v08 .ccw-sidebar{container-type:inline-size;container-name:ccw-sidebar}
.ccw-v08 .ccw-sidebar-quicknav button>span{min-width:0;max-width:100%;white-space:nowrap}
@container ccw-sidebar (max-width:380px){
  .ccw-v08 .ccw-sidebar-quicknav{
    gap:5px!important;
    margin:8px 8px 2px!important;
    padding:8px!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    overflow:visible!important;
  }
  .ccw-v08 .ccw-sidebar-quicknav button{
    min-width:0!important;
    min-height:52px!important;
    grid-template-columns:1fr!important;
    grid-template-rows:20px auto!important;
    justify-items:center!important;
    align-content:center!important;
    text-align:center!important;
    gap:3px!important;
    padding:6px 3px!important;
    font-size:10px!important;
    letter-spacing:.035em!important;
    overflow:hidden!important;
  }
  .ccw-v08 .ccw-sidebar-quicknav button .ccw-static-ui-icon{width:18px!important;height:18px!important}
  .ccw-v08 .ccw-sidebar-quicknav button>span{
    display:block;
    width:100%;
    overflow:hidden;
    text-overflow:clip;
    white-space:nowrap;
    line-height:1.1;
  }
}

/* v0.99.58 - HUD + world bottombar responsive hardening.
   Fixes:
   1) top HUD clipping when right-side chips outgrow the available space;
   2) world bottom bar stretching into an empty oversized legend block while the
      command-missions button sits cramped at the edge. */
.ccw-v08 .ccw-hud-right{min-width:0;overflow:hidden}
.ccw-v08 .ccw-player{min-width:0;overflow:hidden;flex-wrap:nowrap}
.ccw-v08 .ccw-player>span,.ccw-v08 .ccw-wallet-chip,.ccw-v08 .ccw-hud-civrank{flex:0 0 auto}
.ccw-v08 .ccw-player small{line-height:1.05}
.ccw-v08 .ccw-hud-energy{min-width:74px}
.ccw-v08 .ccw-hud-votes{min-width:82px}
.ccw-v08 .ccw-hud-reward{min-width:94px}

.ccw-v08 .ccw-world-bottombar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:end!important;
}
.ccw-v08 .ccw-terrain-key{
  min-width:0!important;
  flex-wrap:wrap!important;
  row-gap:6px!important;
}
.ccw-v08 .ccw-terrain-key span{min-width:0;white-space:nowrap}
.ccw-v08 .ccw-command-button-v2{
  justify-self:end;
  min-width:0;
  max-width:100%;
  min-height:42px;
}
.ccw-v08 .ccw-command-button-v2>span{white-space:nowrap}

@media(max-width:1420px){
  .ccw-v08 .ccw-game-hud{grid-template-columns:200px minmax(240px,1fr) auto!important}
  .ccw-v08 .ccw-tab{padding:0 16px!important}
  .ccw-v08 .ccw-player .ccw-name{display:none}
  .ccw-v08 .ccw-utility-links a{padding:0 6px;font-size:9px}
}
@media(max-width:1320px){
  .ccw-v08 .ccw-hud-civrank{display:none}
  .ccw-v08 .ccw-utility-links{display:none}
  .ccw-v08 .ccw-game-hud{grid-template-columns:190px minmax(220px,1fr) auto!important}
  .ccw-v08 .ccw-tab{padding:0 12px!important}
}
@media(max-width:1180px){
  .ccw-v08 .ccw-hud-votes{min-width:76px}
  .ccw-v08 .ccw-hud-reward{min-width:86px}
  .ccw-v08 .ccw-world-bottombar{grid-template-columns:1fr!important}
  .ccw-v08 .ccw-terrain-key{display:none!important}
  .ccw-v08 .ccw-command-button-v2{justify-self:end}
}


/* v0.99.59 - direct desktop HUD + lower-map alignment fix.
   v0.99.58 incorrectly clipped the player HUD with overflow:hidden.  Player stats
   are priority UI: VOTES / REWARD PTS must never be sacrificed before utility links. */
.ccw-v08 .ccw-hud-right{
  min-width:max-content!important;
  overflow:visible!important;
  flex-wrap:nowrap!important;
}
.ccw-v08 .ccw-player{
  min-width:max-content!important;
  overflow:visible!important;
  flex-wrap:nowrap!important;
  flex-shrink:0!important;
}
.ccw-v08 .ccw-player>span,
.ccw-v08 .ccw-player>.ccw-wallet-chip,
.ccw-v08 .ccw-player>.ccw-hud-civrank{
  flex-shrink:0!important;
}
.ccw-v08 .ccw-player small{
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.ccw-v08 .ccw-hud-energy{
  width:78px!important;
  min-width:78px!important;
  padding-inline:10px!important;
}
.ccw-v08 .ccw-hud-votes{
  width:80px!important;
  min-width:80px!important;
  padding-inline:10px!important;
}
.ccw-v08 .ccw-hud-reward{
  width:104px!important;
  min-width:104px!important;
  padding-inline:10px!important;
}
.ccw-v08 .ccw-hud-votes small,
.ccw-v08 .ccw-hud-reward small{
  letter-spacing:.09em!important;
}

/* Utility navigation is lower priority than live player state.  Collapse it first
   rather than letting the player row shrink/clamp. */
@media(max-width:2000px) and (min-width:1251px){
  .ccw-v08 .ccw-utility-links a:not(.ccw-report-issue):not(.ccw-world-shortcut){display:none!important}
}
@media(max-width:1660px) and (min-width:1251px){
  .ccw-v08 .ccw-utility-links{display:none!important}
  .ccw-v08 .ccw-player .ccw-name{display:none!important}
}
@media(max-width:1450px) and (min-width:1251px){
  .ccw-v08 .ccw-hud-civrank{display:none!important}
  .ccw-v08 .ccw-game-hud{grid-template-columns:190px minmax(260px,1fr) max-content!important}
  .ccw-v08 .ccw-tab{padding-inline:12px!important}
}
@media(max-width:1250px) and (min-width:901px){
  .ccw-v08 .ccw-hud-right{min-width:0!important;overflow:visible!important}
  .ccw-v08 .ccw-player{min-width:max-content!important;overflow:visible!important}
  .ccw-v08 .ccw-utility-links{display:none!important}
  .ccw-v08 .ccw-player .ccw-name,.ccw-v08 .ccw-hud-civrank{display:none!important}
}

/* Desktop lower-map controls: leave a deliberate gutter before the right sidebar.
   The central hint is shifted by the same visual amount so the pair reads as one bar. */
@media(min-width:901px){
  .ccw-v08 .ccw-world-bottombar{right:46px!important}
  .ccw-v08 .ccw-map-help{left:calc(50% - 22px)!important}
}
@media(max-width:900px){
  .ccw-v08 .ccw-world-bottombar{left:8px!important;right:8px!important}
  .ccw-v08 .ccw-map-help{left:50%!important}
}

/* ======================================================================
   v0.99.60 - Build / Council + Research UX pass
   Information hierarchy: status -> needs action -> options -> detail/help.
   No gameplay/balance rules are changed by these styles.
   ====================================================================== */

/* Council: compact command surface instead of a documentation card. */
.ccw-v08 .ccw-council-command{
  display:grid!important;gap:10px!important;padding:12px!important;
  border:1px solid rgba(121,205,229,.14)!important;
  background:linear-gradient(150deg,rgba(10,23,30,.96),rgba(6,14,20,.98))!important;
  border-radius:10px!important;margin-bottom:9px!important;
}
.ccw-v08 .ccw-council-statusline{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.ccw-v08 .ccw-council-statusline h3{margin:5px 0 0!important;font-size:18px!important;line-height:1.08!important;font-weight:620!important;letter-spacing:-.02em!important;color:#ecf7fa!important}
.ccw-v08 .ccw-council-statusline h3 span{color:#8ddff2}
.ccw-v08 .ccw-council-build-cta{white-space:nowrap;min-height:34px!important;padding:7px 9px!important;color:#a9e6f3!important;border-color:rgba(116,211,237,.25)!important}
.ccw-v08 .ccw-council-glance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.ccw-v08 .ccw-council-glance>span{min-width:0;padding:8px 7px;border:1px solid rgba(135,188,207,.10);background:rgba(7,16,22,.78);display:grid;gap:3px}
.ccw-v08 .ccw-council-glance>span.is-passing{border-color:rgba(105,216,154,.24);background:rgba(55,139,94,.07)}
.ccw-v08 .ccw-council-glance b{font:850 14px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#e6f2f6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccw-v08 .ccw-council-glance small{font-size:10px!important;line-height:1.15;color:#6e8794;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}
.ccw-v08 .ccw-council-help,.ccw-v08 .ccw-research-meta-details,.ccw-v08 .ccw-research-wonders{border-top:1px solid rgba(139,190,209,.08);padding-top:8px}
.ccw-v08 .ccw-council-help summary,.ccw-v08 .ccw-research-meta-details summary,.ccw-v08 .ccw-research-wonders summary{cursor:pointer;list-style:none;color:#7895a2;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ccw-v08 .ccw-council-help summary::-webkit-details-marker,.ccw-v08 .ccw-research-meta-details summary::-webkit-details-marker,.ccw-v08 .ccw-research-wonders summary::-webkit-details-marker{display:none}
.ccw-v08 .ccw-council-help summary:after,.ccw-v08 .ccw-research-meta-details summary:after,.ccw-v08 .ccw-research-wonders summary:after{content:'+';font:800 14px/1 ui-monospace,monospace;color:#6991a1}
.ccw-v08 .ccw-council-help[open] summary:after,.ccw-v08 .ccw-research-meta-details[open] summary:after,.ccw-v08 .ccw-research-wonders[open] summary:after{content:'−'}
.ccw-v08 .ccw-council-help p{margin:8px 0 0!important;font-size:10px!important;line-height:1.5!important;color:#78919e!important}
.ccw-v08 .ccw-council-projects{margin:0 0 9px!important;padding:9px 10px!important;border-radius:8px!important;background:rgba(7,16,22,.72)!important}
.ccw-v08 .ccw-council-projects summary span{color:#8ea9b5}
.ccw-v08 .ccw-council-projects .ccw-hub-project-row{padding:8px 2px!important;gap:8px!important}
.ccw-v08 .ccw-council-list-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:11px 0 6px;padding:0 2px}
.ccw-v08 .ccw-council-list-head span{font-size:10px;font-weight:900;letter-spacing:.13em;color:#7695a3}
.ccw-v08 .ccw-council-list-head b{font-size:10px;font-weight:650;color:#5f7885;text-align:right}
.ccw-v08 .ccw-council-list-head.is-passing span{color:#79d9a3}
.ccw-v08 .ccw-proposal-compact{margin-bottom:7px!important;padding:11px!important;border-radius:9px!important}
.ccw-v08 .ccw-proposal-compact .ccw-proposal-question{margin:7px 0!important}
.ccw-v08 .ccw-proposal-compact .ccw-proposal-question strong{font-size:14px!important;line-height:1.18!important}
.ccw-v08 .ccw-proposal-compact .ccw-proposal-question span{font-size:10px!important;line-height:1.4!important}
.ccw-v08 .ccw-proposal-compact.is-competitor{background:rgba(7,15,21,.76)!important}
.ccw-v08 .ccw-proposal-compact.is-competitor .ccw-proposal-question strong{font-size:12px!important}
.ccw-v08 .ccw-proposal-compact.is-competitor .ccw-proposal-details{display:none}
.ccw-v08 .ccw-proposal-compact .ccw-vote-count{font-size:10px!important}

/* Research: a control panel, not a wall of documentation. */
.ccw-v08 .ccw-research-v4{display:grid;gap:10px!important}
.ccw-v08 .ccw-research-intro{padding:3px 0 2px;border:0}
.ccw-v08 .ccw-research-intro h3{margin:5px 0 5px!important;font-size:22px!important;line-height:1.08!important;font-weight:570!important;letter-spacing:-.025em!important;color:#edf5f8!important}
.ccw-v08 .ccw-research-intro p{margin:0;max-width:680px;font-size:10px;line-height:1.5;color:#718b98}
.ccw-v08 .ccw-research-glance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.ccw-v08 .ccw-research-glance>span{min-width:0;display:grid;gap:4px;padding:8px;border:1px solid rgba(132,166,255,.13);background:linear-gradient(145deg,rgba(25,37,69,.13),rgba(7,16,23,.82));border-radius:7px}
.ccw-v08 .ccw-research-glance small{font-size:10px;letter-spacing:.08em;color:#708bd1;font-weight:850;white-space:nowrap}
.ccw-v08 .ccw-research-glance b{font:850 14px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#e2eaff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccw-v08 .ccw-research-now{padding:10px!important;border-color:rgba(128,163,251,.18)!important;background:linear-gradient(145deg,rgba(23,35,72,.13),rgba(5,13,19,.74))!important}
.ccw-v08 .ccw-research-queue-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.ccw-v08 .ccw-research-queue-head>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#8fa8ee}
.ccw-v08 .ccw-research-queue-head>b{font-size:10px;color:#6f8495;letter-spacing:.07em}
.ccw-v08 .ccw-research-v4 .ccw-research-job-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:8px 0 0!important}
.ccw-v08 .ccw-research-v4 .ccw-research-job-row>div{min-width:0;display:grid;gap:2px}
.ccw-v08 .ccw-research-v4 .ccw-research-job-row>div>span{font-size:11px;color:#dbe7ff;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccw-v08 .ccw-research-v4 .ccw-research-job-row>div>small{font-size:10px;color:#6f8495}
.ccw-v08 .ccw-research-v4 .ccw-research-job-row>b{align-self:center;color:#a9bbf1}
.ccw-v08 .ccw-research-v4 .ccw-research-job-row>i{grid-column:1/-1;display:block;height:3px;background:#101927;overflow:hidden}
.ccw-v08 .ccw-research-v4 .ccw-research-job-row>i>em{display:block;height:100%;background:linear-gradient(90deg,#647fe0,#8db5ff)}
.ccw-v08 .ccw-research-meta-details{padding:8px 2px 0}
.ccw-v08 .ccw-research-meta-details>p{margin:9px 0 0;font-size:10px;line-height:1.5;color:#6e8490}
.ccw-v08 .ccw-research-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}
.ccw-v08 .ccw-research-meta-grid>span{display:grid;gap:3px;padding:8px;background:rgba(8,17,24,.72);border:1px solid rgba(132,166,255,.09)}
.ccw-v08 .ccw-research-meta-grid b{font-size:10px;color:#cdd8f4}
.ccw-v08 .ccw-research-meta-grid small{font-size:10px;line-height:1.35;color:#6f8490}
.ccw-v08 .ccw-research-branch-nav{display:flex;gap:5px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;padding:2px 0 4px}
.ccw-v08 .ccw-research-branch-nav::-webkit-scrollbar{display:none}
.ccw-v08 .ccw-research-branch-nav button{flex:0 0 94px;min-width:0;min-height:62px;padding:7px!important;display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 6px;align-items:center;text-align:left;border:1px solid rgba(132,166,255,.10)!important;border-radius:8px!important;background:#09121a!important;color:#7790a0!important;cursor:pointer}
.ccw-v08 .ccw-research-branch-nav button i{grid-row:1/3;display:grid;place-items:center;width:20px;height:20px;color:#758fd8}
.ccw-v08 .ccw-research-branch-nav button i .ccw-ui-icon,.ccw-v08 .ccw-research-branch-nav button i .ccw-static-ui-icon{width:18px;height:18px}
.ccw-v08 .ccw-research-branch-nav button span{min-width:0;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccw-v08 .ccw-research-branch-nav button b{font:800 10px/1 ui-monospace,monospace;color:#566e7c}
.ccw-v08 .ccw-research-branch-nav button:hover,.ccw-v08 .ccw-research-branch-nav button.is-active{border-color:rgba(135,170,255,.32)!important;background:linear-gradient(145deg,rgba(40,54,99,.25),rgba(9,18,26,.95))!important;color:#e3eaff!important}
.ccw-v08 .ccw-research-branch-nav button.is-active i,.ccw-v08 .ccw-research-branch-nav button.is-active b{color:#9db6ff}
.ccw-v08 .ccw-research-tree{display:block!important}
.ccw-v08 .ccw-research-focus[hidden]{display:none!important}
.ccw-v08 .ccw-research-focus{padding:11px!important;border-radius:9px!important}
.ccw-v08 .ccw-research-focus-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,210px);gap:12px;align-items:start;margin-bottom:10px}
.ccw-v08 .ccw-research-focus-head>div{display:flex;gap:9px;min-width:0}
.ccw-v08 .ccw-research-focus-head h3{margin:2px 0 3px!important;font-size:16px!important;color:#e4ebff!important}
.ccw-v08 .ccw-research-focus-head p{margin:0!important;font-size:10px!important;line-height:1.4!important;color:#708492!important}
.ccw-v08 .ccw-research-focus-head small{font-size:10px!important;letter-spacing:.08em;color:#718bd3}
.ccw-v08 .ccw-research-focus-head aside{display:grid;gap:3px;padding:9px;border-left:2px solid rgba(135,170,255,.25);background:rgba(19,30,55,.16);min-width:0}
.ccw-v08 .ccw-research-focus-head aside span{font-size:10px;letter-spacing:.11em;color:#657bb4;font-weight:900}
.ccw-v08 .ccw-research-focus-head aside b{font-size:11px;color:#d7e0fa;white-space:normal}
.ccw-v08 .ccw-research-focus-head aside small{font-size:10px!important;color:#778b98;white-space:normal}
.ccw-v08 .ccw-research-v4 .ccw-research-node-grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:6px!important}
.ccw-v08 .ccw-research-v4 .ccw-tech-node{min-height:0!important;padding:10px!important;gap:6px!important}
.ccw-v08 .ccw-research-v4 .ccw-tech-node header>span.ccw-tech-visual{width:32px!important;height:32px!important}
.ccw-v08 .ccw-research-v4 .ccw-tech-node header small{font-size:10px!important;line-height:1.25!important}
.ccw-v08 .ccw-research-v4 .ccw-tech-node h4{font-size:12px!important;line-height:1.2!important}
.ccw-v08 .ccw-research-v4 .ccw-tech-node p{min-height:0!important;font-size:10px!important;line-height:1.4!important}
.ccw-v08 .ccw-research-wonders{margin-top:2px;padding:10px;border:1px solid rgba(139,190,209,.09);border-radius:8px;background:rgba(7,15,21,.52)}
.ccw-v08 .ccw-research-wonders>.ccw-muted{margin:9px 0!important}

/* The desktop sidebar is 290–330 px even on a wide viewport, so use its
   container width rather than viewport breakpoints for the compact form. */
@container ccw-sidebar (max-width:380px){
  .ccw-v08 .ccw-council-statusline{display:grid;gap:8px;align-items:start}
  .ccw-v08 .ccw-council-statusline h3{font-size:17px!important}
  .ccw-v08 .ccw-council-build-cta{width:100%;justify-content:center}
  .ccw-v08 .ccw-council-glance{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ccw-v08 .ccw-council-glance>span{padding:7px}
  .ccw-v08 .ccw-council-list-head{align-items:flex-start;flex-direction:column;gap:2px}
  .ccw-v08 .ccw-council-list-head b{text-align:left}
  .ccw-v08 .ccw-proposal-compact .ccw-vote-count{grid-template-columns:1fr 1fr!important}
  .ccw-v08 .ccw-proposal-compact .ccw-vote-count span:last-child{grid-column:1/-1}

  .ccw-v08 .ccw-research-intro h3{font-size:20px!important;line-height:1.08!important}
  .ccw-v08 .ccw-research-glance{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ccw-v08 .ccw-research-meta-grid{grid-template-columns:1fr}
  .ccw-v08 .ccw-research-branch-nav button{flex-basis:88px;min-height:58px}
  .ccw-v08 .ccw-research-focus-head{grid-template-columns:1fr;gap:8px}
  .ccw-v08 .ccw-research-focus-head aside{border-left:0;border-top:1px solid rgba(135,170,255,.15)}
  .ccw-v08 .ccw-research-v4 .ccw-research-node-grid{grid-template-columns:1fr!important}
  .ccw-v08 .ccw-research-v4 .ccw-tech-node{border-radius:8px!important}
}

/* v0.99.62 - Make Influence visible wherever Council proposals spend it. */
.ccw-v08 .ccw-hud-influence{min-width:92px!important}
.ccw-v08 .ccw-hud-influence small{color:#8b78bc!important}
.ccw-v08 .ccw-hud-influence b{color:#d9c8ff!important}
.ccw-v08 .ccw-influence-budget{
  display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:6px 9px;
  padding:7px 9px;border:1px solid rgba(144,188,207,.11);border-left:2px solid rgba(119,207,164,.55);
  background:rgba(7,17,23,.72);border-radius:7px;min-width:0
}
.ccw-v08 .ccw-influence-budget>span{font-size:10px;font-weight:900;letter-spacing:.11em;color:#708a97;white-space:nowrap}
.ccw-v08 .ccw-influence-budget>b{font:850 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#d9c8ff;white-space:nowrap}
.ccw-v08 .ccw-influence-budget>small{font-size:10px;color:#718996;text-align:right;min-width:0}
.ccw-v08 .ccw-influence-budget.is-low{border-left-color:#e5ad61;background:rgba(104,69,20,.08)}
.ccw-v08 .ccw-influence-budget.is-low>b,.ccw-v08 .ccw-influence-budget.is-low>small{color:#e7bd78}
.ccw-v08 .ccw-build-picker-footer .ccw-influence-budget{margin-top:-2px}
@container ccw-sidebar (max-width:380px){
  .ccw-v08 .ccw-influence-budget{grid-template-columns:1fr auto;gap:4px 8px}
  .ccw-v08 .ccw-influence-budget>small{grid-column:1/-1;text-align:left}
}
@media(max-width:1180px){.ccw-v08 .ccw-hud-influence{min-width:82px!important}}
@media(max-width:900px){.ccw-v08 .ccw-player .ccw-hud-reward{display:none!important}}
@media(max-width:620px){.ccw-v08 .ccw-player .ccw-hud-influence{display:none!important}}

/* v0.99.63 - Idea Pool + Council UX */
.ccw-v08 .ccw-idea-rule{margin-top:10px;padding:10px 12px;border:1px solid rgba(156,132,224,.18);background:rgba(125,95,201,.055);display:grid;gap:3px}.ccw-v08 .ccw-idea-rule b{font-size:10px;letter-spacing:.13em;color:#b8a5ef}.ccw-v08 .ccw-idea-rule span{font-size:10px;line-height:1.45;color:#7f91a0}
.ccw-v08 .ccw-council-list-head.is-idea{border-color:rgba(155,132,224,.19);background:linear-gradient(90deg,rgba(126,99,196,.07),transparent)}.ccw-v08 .ccw-council-list-head.is-idea span{color:#b9a8ec}
.ccw-v08 .ccw-council-glance .is-idea b{color:#bbaaf0!important}
.ccw-v08 .ccw-tile-idea-group{display:grid;gap:7px;margin:8px 0 13px}.ccw-v08 .ccw-tile-idea-group>header{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 10px;border-left:2px solid rgba(155,132,224,.55);background:#081118}.ccw-v08 .ccw-tile-idea-group>header span{font-size:10px;letter-spacing:.14em;color:#8372bd;font-weight:900}.ccw-v08 .ccw-tile-idea-group>header b{font-size:10px;color:#9cb1bc;letter-spacing:.06em}.ccw-v08 .ccw-tile-idea-group.is-research>header{border-left-color:rgba(104,198,224,.55)}
.ccw-v08 .ccw-idea-card{border:1px solid rgba(146,179,199,.11);background:linear-gradient(145deg,#09131a,#071016);padding:11px 12px;display:grid;gap:8px}.ccw-v08 .ccw-idea-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ccw-v08 .ccw-idea-card-head>div{min-width:0;display:grid;gap:3px}.ccw-v08 .ccw-idea-card-head span{font-size:10px;letter-spacing:.13em;color:#826fb9;font-weight:900}.ccw-v08 .ccw-idea-card-head b{font-size:11px;color:#dbe8ed;overflow-wrap:anywhere}.ccw-v08 .ccw-idea-card-head em{font-style:normal;font-size:10px;letter-spacing:.07em;color:#78919d;white-space:nowrap}.ccw-v08 .ccw-idea-progress{height:4px;background:#111c24;overflow:hidden}.ccw-v08 .ccw-idea-progress i{display:block;height:100%;background:linear-gradient(90deg,#6d59ad,#b39aef);box-shadow:0 0 10px rgba(164,139,229,.26)}.ccw-v08 .ccw-idea-meta{display:flex;justify-content:space-between;gap:10px;color:#667f8d;font-size:10px;letter-spacing:.06em}.ccw-v08 .ccw-idea-meta b{color:#b9a8ed}.ccw-v08 .ccw-idea-actions{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.ccw-v08 .ccw-idea-actions small{font-size:10px;line-height:1.35;color:#718a96}.ccw-v08 .ccw-inline-council.is-idea{border-color:rgba(155,132,224,.20)!important;background:rgba(104,78,166,.06)!important}.ccw-v08 .ccw-inline-council.is-idea .ccw-inline-council-bar i{background:linear-gradient(90deg,#705bb0,#b39bef)!important}
@media(max-width:560px){.ccw-v08 .ccw-idea-card-head,.ccw-v08 .ccw-idea-meta{display:grid;grid-template-columns:1fr}.ccw-v08 .ccw-idea-card-head em{white-space:normal}.ccw-v08 .ccw-idea-actions{grid-template-columns:1fr}.ccw-v08 .ccw-idea-actions .ccw-btn{width:100%}}


/* v0.99.64 - persistent World shortcut in the priority HUD controls. */
.ccw-v08 .ccw-utility-links .ccw-world-shortcut{
  display:inline-flex;align-items:center;gap:5px;
  border-color:rgba(117,211,244,.28);color:#9adced;background:rgba(117,211,244,.055);
}
.ccw-v08 .ccw-utility-links .ccw-world-shortcut:hover{
  border-color:rgba(117,211,244,.48);color:#e2f8fd;background:rgba(117,211,244,.11);
}
.ccw-v08 .ccw-utility-links .ccw-world-shortcut .ccw-static-ui-icon{width:14px;height:14px;flex:0 0 auto}
@media(max-width:1660px) and (min-width:1251px){
  .ccw-v08 .ccw-utility-links{display:flex!important}
  .ccw-v08 .ccw-utility-links a:not(.ccw-world-shortcut):not(.ccw-report-issue){display:none!important}
}
@media(max-width:1250px) and (min-width:901px){
  .ccw-v08 .ccw-utility-links{display:flex!important}
  .ccw-v08 .ccw-utility-links a:not(.ccw-world-shortcut):not(.ccw-report-issue){display:none!important}
}

/* v0.99.66 - Standalone desktop HUD layout repair.
   The top navigation should behave as two clear zones on desktop:
   left = primary view tabs, right = utility + player HUD.
   Previous layered rules left the WORLD shortcut width-collapsed and created
   a broken-looking gap between tabs and utility controls. */
@media(min-width:901px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup{display:none!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{
    grid-template-columns:minmax(0,1fr) max-content!important;
    gap:12px!important;
    padding:8px 12px!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tabs{
    grid-column:1!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    min-width:0!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-right{
    grid-column:2!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;
    overflow:visible!important;
    justify-content:flex-end!important;
    flex:0 0 auto!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-utility-links,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-utility-links a,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-sync-status,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-player{
    flex:0 0 auto!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-utility-links{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    white-space:nowrap!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-utility-links a{
    flex-shrink:0!important;
    white-space:nowrap!important;
  }
}
@media(min-width:901px) and (max-width:1600px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-utility-links a:not(.ccw-world-shortcut):not(.ccw-report-issue){display:none!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-utility-links .ccw-world-shortcut span{display:none!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-utility-links .ccw-world-shortcut{
    min-width:30px!important;
    width:30px!important;
    padding:0!important;
    justify-content:center!important;
    gap:0!important;
  }
}

/* v0.99.67 - restore permanent brand lockup + compact unified player resources. */
@media(min-width:901px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup{
    display:flex!important;
    min-width:220px!important;
    width:220px!important;
    flex:0 0 220px!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{
    grid-template-columns:220px minmax(390px,1fr) max-content!important;
    gap:8px!important;
    padding:0 10px 0 0!important;
    min-height:62px!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tabs{
    grid-column:2!important;
    justify-content:flex-start!important;
    min-width:0!important;
  }
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-right{
    grid-column:3!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;
    overflow:visible!important;
    gap:6px!important;
  }
}

.ccw-v08 .ccw-hud-resources{
  display:grid!important;
  grid-template-columns:repeat(4,max-content)!important;
  align-items:stretch!important;
  border:1px solid rgba(140,188,207,.11)!important;
  border-radius:9px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(12,23,30,.90),rgba(7,15,21,.96))!important;
  flex:0 0 auto!important;
  height:44px!important;
}
.ccw-v08 .ccw-hud-resources>span{
  min-width:58px!important;
  width:auto!important;
  height:42px!important;
  padding:5px 9px!important;
  border:0!important;
  border-left:1px solid rgba(145,190,207,.09)!important;
  border-radius:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  background:transparent!important;
}
.ccw-v08 .ccw-hud-resources>span:first-child{border-left:0!important}
.ccw-v08 .ccw-hud-resources small{
  margin:0!important;
  font-size:9px!important;
  line-height:1!important;
  letter-spacing:.09em!important;
  color:#627d89!important;
  white-space:nowrap!important;
}
.ccw-v08 .ccw-hud-resources b{
  margin-top:4px!important;
  font-size:11px!important;
  line-height:1!important;
  white-space:nowrap!important;
  color:#e0edf2!important;
}
.ccw-v08 .ccw-hud-resources .ccw-hud-influence small{color:#8b78bc!important}
.ccw-v08 .ccw-hud-resources .ccw-hud-influence b{color:#d9c8ff!important}
.ccw-v08 .ccw-hud-resources .ccw-hud-reward b{color:#dce9ef!important}

@media(min-width:901px) and (max-width:1500px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup{min-width:190px!important;width:190px!important;flex-basis:190px!important;padding-inline:10px!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-copy>span{display:none!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{grid-template-columns:190px minmax(330px,1fr) max-content!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tab{padding-inline:8px!important}
  .ccw-v08 .ccw-hud-resources>span{min-width:54px!important;padding-inline:7px!important}
  .ccw-v08 .ccw-hud-resources small{font-size:8px!important;letter-spacing:.06em!important}
}
@media(min-width:901px) and (max-width:1320px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup{min-width:168px!important;width:168px!important;flex-basis:168px!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-lockup strong{font-size:13px!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-brand-emblem{width:36px!important;height:36px!important;flex-basis:36px!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{grid-template-columns:168px minmax(300px,1fr) max-content!important}
  .ccw-v08 .ccw-hud-resources>span{min-width:50px!important;padding-inline:6px!important}
  .ccw-v08 .ccw-hud-resources small{font-size:8px!important}
  .ccw-v08 .ccw-hud-resources b{font-size:10px!important}
}
@media(max-width:900px){
  .ccw-v08 .ccw-hud-resources{display:none!important}
}
@media(min-width:901px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-resources .ccw-hud-energy,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-resources .ccw-hud-votes,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-resources .ccw-hud-influence,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-resources .ccw-hud-reward{display:flex!important}
}

/* v0.99.68 - restore centered primary navigation in standalone desktop HUD. */
@media(min-width:901px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tabs{
    justify-content:center!important;
    margin-inline:auto!important;
    width:100%!important;
  }
}
@media(min-width:901px) and (max-width:1320px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-tabs{
    justify-content:flex-start!important;
  }
}

/* v0.99.69 - Tile Decision alternatives: multiple Civizens may propose different
   structures on the same empty Civland while the one-active-proposal-per-Civizen
   rule remains unchanged. */
.ccw-v08 .ccw-quick-tile-ideas{margin:9px 0;padding:9px 11px;border:1px solid rgba(155,132,224,.18);border-left:2px solid rgba(155,132,224,.62);background:rgba(115,88,181,.055);display:grid;gap:3px}
.ccw-v08 .ccw-quick-tile-ideas span{font-size:10px;letter-spacing:.12em;color:#a791e7;font-weight:900}
.ccw-v08 .ccw-quick-tile-ideas b{font-size:10px;color:#c9d8de}
.ccw-v08 .ccw-quick-tile-ideas small{font-size:10px;line-height:1.4;color:#718a97}
.ccw-v08 .ccw-quick-build-card.has-existing-idea{border-color:rgba(155,132,224,.32)!important;background:linear-gradient(145deg,rgba(43,33,74,.22),rgba(7,16,22,.96))!important}
.ccw-v08 .ccw-quick-build-card.has-existing-idea strong{color:#baa5ee!important}


/* v0.99.70 - Council opens as a dedicated governance window.
   Right-click remains the direct building picker; Council votes/Ideas live here. */
.ccw-v08 .ccw-panel-head-action{
  appearance:none;border:1px solid rgba(117,211,244,.18);background:rgba(117,211,244,.045);
  color:#8fd9ea;border-radius:6px;padding:5px 7px;font-size:9px;font-weight:900;letter-spacing:.08em;
  cursor:pointer;white-space:nowrap
}
.ccw-v08 .ccw-panel-head-action:hover{border-color:rgba(117,211,244,.38);background:rgba(117,211,244,.09);color:#e3f8fc}
.ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame{width:min(1080px,96vw);min-height:0;max-height:92vh;padding:26px 28px}
.ccw-v08 .ccw-council-window{display:grid;gap:16px;text-align:left}
.ccw-v08 .ccw-council-window-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:0 42px 14px 0;border-bottom:1px solid rgba(142,197,216,.11)}
.ccw-v08 .ccw-council-window-head h2{margin:5px 0 4px;font-size:28px;line-height:1;color:#eef8fb;font-weight:600}
.ccw-v08 .ccw-council-window-head p{margin:0;max-width:620px;color:#77919d;font-size:10px;line-height:1.5}
.ccw-v08 .ccw-council-window-legend{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.ccw-v08 .ccw-council-window-legend span{padding:6px 8px;border:1px solid rgba(142,188,207,.11);background:#081219;color:#718a97;font-size:9px;font-weight:900;letter-spacing:.08em}
.ccw-v08 .ccw-council-window-legend span:first-child{border-color:rgba(155,132,224,.22);color:#b9a8ec}
.ccw-v08 .ccw-council-window-legend span:nth-child(2){border-color:rgba(105,216,154,.22);color:#83dca8}
.ccw-v08 .ccw-council-window-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.ccw-v08 .ccw-council-window-body>.ccw-council-summary,
.ccw-v08 .ccw-council-window-body>.ccw-council-projects,
.ccw-v08 .ccw-council-window-body>.ccw-council-list-head,
.ccw-v08 .ccw-council-window-body>.ccw-command-empty{grid-column:1/-1}
.ccw-v08 .ccw-council-window-body>.ccw-tile-idea-group,
.ccw-v08 .ccw-council-window-body>.ccw-proposal{margin:0!important;min-width:0}
.ccw-v08 .ccw-council-window-body .ccw-council-command{padding:14px!important}
.ccw-v08 .ccw-council-window-body .ccw-council-statusline h3{font-size:20px!important}
.ccw-v08 .ccw-council-window-body .ccw-proposal-compact.is-competitor .ccw-proposal-question strong{font-size:13px!important}
.ccw-v08 .ccw-council-window-body .ccw-proposal-details{display:block!important}
.ccw-v08 .is-council-focus{outline:2px solid rgba(117,211,244,.72)!important;outline-offset:2px;box-shadow:0 0 24px rgba(117,211,244,.12)!important}
@media(max-width:760px){
  .ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame{width:96vw;padding:22px 14px}
  .ccw-v08 .ccw-council-window-head{display:grid;gap:10px;padding-right:34px}
  .ccw-v08 .ccw-council-window-legend{justify-content:flex-start}
  .ccw-v08 .ccw-council-window-body{grid-template-columns:1fr}
  .ccw-v08 .ccw-council-window-body>*{grid-column:1!important}
}

/* v0.99.71 - Council opens explicitly from Tile View, never from ordinary left-click. */
.ccw-v08 .ccw-tile-council-cta{margin-top:10px;padding:10px;border:1px solid rgba(119,207,229,.14);background:rgba(78,160,186,.045);display:grid;gap:6px}
.ccw-v08 .ccw-tile-council-cta .ccw-btn{width:100%;display:grid!important;grid-template-columns:18px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;text-align:left!important}
.ccw-v08 .ccw-tile-council-cta .ccw-btn .ccw-ui-icon,.ccw-v08 .ccw-tile-council-cta .ccw-btn .ccw-static-ui-icon{width:16px;height:16px}
.ccw-v08 .ccw-tile-council-cta .ccw-btn b{font:850 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#8ddff2}
.ccw-v08 .ccw-tile-council-cta>small{font-size:10px;color:#708995;line-height:1.35}

/* v0.99.72 - Global HUD cleanup.
   True-centred primary navigation, permanent resource rail, compact CivPass identity,
   and low-priority utility links moved behind a single overflow menu. */
.ccw-shell.ccw-v08 .ccw-game-hud{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  position:sticky!important;
  top:0!important;
  z-index:70!important;
  background:#050b11!important;
  border-bottom:1px solid rgba(139,190,210,.14)!important;
  overflow:visible!important;
}
.ccw-v08 .ccw-hud-main{
  position:relative;
  display:flex;
  align-items:center;
  min-height:62px;
  padding:0 10px 0 0;
  border-bottom:1px solid rgba(139,190,210,.08);
}
.ccw-v08 .ccw-hud-main .ccw-brand-lockup{
  width:270px!important;
  min-width:270px!important;
  flex:0 0 270px!important;
  min-height:62px!important;
  padding:7px 16px!important;
  border-right:1px solid rgba(139,190,210,.08)!important;
  overflow:visible!important;
}
.ccw-v08 .ccw-hud-main .ccw-brand-copy{overflow:visible!important}
.ccw-v08 .ccw-hud-main .ccw-brand-copy strong{font-size:15px!important}
.ccw-v08 .ccw-hud-main .ccw-brand-copy>span{font-size:9px!important;letter-spacing:.18em!important}
.ccw-v08 .ccw-hud-main .ccw-tabs{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  width:auto!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:3px!important;
  justify-content:center!important;
  overflow:visible!important;
  border:1px solid rgba(142,194,214,.08)!important;
  background:rgba(255,255,255,.018)!important;
  border-radius:11px!important;
}
.ccw-v08 .ccw-hud-main .ccw-tab{
  min-width:104px!important;
  min-height:38px!important;
  padding:7px 11px!important;
}
.ccw-v08 .ccw-hud-main .ccw-hud-right{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  min-width:0!important;
  max-width:calc(50vw - 245px)!important;
  overflow:visible!important;
}
.ccw-v08 .ccw-hud-main .ccw-player{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  overflow:visible!important;
  border-left:0!important;
}
.ccw-v08 .ccw-hud-main .ccw-player>span,
.ccw-v08 .ccw-hud-main .ccw-player>a,
.ccw-v08 .ccw-hud-main .ccw-player>button{height:38px!important}
.ccw-v08 .ccw-hud-main .ccw-hud-civrank{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:102px!important;
  padding:5px 9px!important;
  border:1px solid rgba(205,174,101,.20)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,rgba(189,151,72,.075),rgba(255,255,255,.018))!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.ccw-v08 .ccw-hud-main .ccw-hud-civrank small{
  color:#9f8550!important;
  font-size:8px!important;
  letter-spacing:.11em!important;
  line-height:1!important;
}
.ccw-v08 .ccw-hud-main .ccw-hud-civrank b{
  margin-top:4px!important;
  color:#e8d5a5!important;
  font-size:10px!important;
  letter-spacing:.05em!important;
  line-height:1!important;
}
.ccw-v08 .ccw-hud-main .ccw-wallet-chip{
  min-width:88px!important;
  max-width:112px!important;
  height:38px!important;
  padding:5px 8px!important;
}
.ccw-v08 .ccw-hud-main .ccw-test-badge{
  display:flex!important;
  align-items:center!important;
  height:26px!important;
  min-width:0!important;
  padding:0 7px!important;
  border:1px solid rgba(235,191,91,.18)!important;
  border-radius:6px!important;
  background:rgba(235,191,91,.05)!important;
  color:#d7b85e!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}
.ccw-v08 .ccw-hud-main .ccw-name{display:none!important}
.ccw-v08 .ccw-hud-main .ccw-sync-status{
  height:28px!important;
  padding:0 8px!important;
}
.ccw-v08 .ccw-hud-more{position:relative;flex:0 0 auto}
.ccw-v08 .ccw-hud-more>summary{
  list-style:none;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(139,190,210,.12);
  border-radius:8px;
  background:rgba(255,255,255,.022);
  color:#7894a1;
  font-size:16px;
  font-weight:900;
  letter-spacing:.08em;
  cursor:pointer;
  user-select:none;
}
.ccw-v08 .ccw-hud-more>summary::-webkit-details-marker{display:none}
.ccw-v08 .ccw-hud-more[open]>summary,.ccw-v08 .ccw-hud-more>summary:hover{color:#d9eef5;border-color:rgba(118,207,233,.28);background:rgba(118,207,233,.065)}
.ccw-v08 .ccw-hud-more nav{
  position:absolute;
  z-index:100;
  top:41px;
  right:0;
  width:170px;
  display:grid;
  padding:6px;
  border:1px solid rgba(139,190,210,.16);
  border-radius:10px;
  background:#081219;
  box-shadow:0 14px 38px rgba(0,0,0,.46);
}
.ccw-v08 .ccw-hud-more nav a,
.ccw-v08 .ccw-hud-more nav button{
  padding:9px 10px;
  border-radius:7px;
  color:#8ba5b0;
  text-decoration:none;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
.ccw-v08 .ccw-hud-more nav button{appearance:none;border:0;background:transparent;text-align:left;cursor:pointer}
.ccw-v08 .ccw-hud-more nav a:hover,.ccw-v08 .ccw-hud-more nav button:hover{color:#e2f3f8;background:rgba(117,211,244,.07)}
.ccw-v08 .ccw-hud-more nav .ccw-report-issue{color:#d3af66}

/* The four player currencies/resources now live in one persistent, quiet rail. */
.ccw-shell.ccw-v08 .ccw-hud-resources-bar{
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#071018,#060d13)!important;
  overflow:hidden!important;
}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar>span{
  width:auto!important;
  min-width:116px!important;
  height:34px!important;
  padding:0 16px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  border-left:1px solid rgba(139,190,210,.09)!important;
  border-radius:0!important;
  background:transparent!important;
}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar>span:first-child{border-left:0!important}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar small{
  margin:0!important;
  font-size:8px!important;
  line-height:1!important;
  letter-spacing:.12em!important;
  color:#5e7884!important;
  white-space:nowrap!important;
}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar b{
  margin:0!important;
  font-size:10px!important;
  line-height:1!important;
  color:#dce9ef!important;
  white-space:nowrap!important;
}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar .ccw-hud-energy b{color:#a8d7e6!important}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar .ccw-hud-votes b{color:#d9e8ee!important}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar .ccw-hud-influence b{color:#d7c4ff!important}
.ccw-shell.ccw-v08 .ccw-hud-resources-bar .ccw-hud-reward b{color:#e7d49c!important}

/* Standalone-page legacy overrides must not pull the desktop HUD off-centre again. */
@media(min-width:901px){
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-game-hud{display:block!important;padding:0!important;min-height:0!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-main .ccw-brand-lockup{display:flex!important;width:270px!important;min-width:270px!important;flex:0 0 270px!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-main .ccw-tabs{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:auto!important;justify-content:center!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-main .ccw-hud-right{width:auto!important;min-width:0!important;max-width:calc(50vw - 245px)!important;overflow:visible!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-main .ccw-player{min-width:0!important;overflow:visible!important}
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-resources-bar{display:flex!important}
}
@media(min-width:901px) and (max-width:1320px){
  .ccw-v08 .ccw-hud-main .ccw-brand-lockup,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-main .ccw-brand-lockup{width:215px!important;min-width:215px!important;flex-basis:215px!important;padding-inline:11px!important}
  .ccw-v08 .ccw-hud-main .ccw-brand-copy>span{display:none!important}
  .ccw-v08 .ccw-hud-main .ccw-tab{min-width:91px!important;padding-inline:7px!important}
  .ccw-v08 .ccw-hud-main .ccw-hud-right,
  body.ccw-standalone-page .ccw-shell.ccw-v08 .ccw-hud-main .ccw-hud-right{max-width:calc(50vw - 205px)!important}
  .ccw-v08 .ccw-hud-main .ccw-wallet-chip{display:none!important}
}
@media(max-width:1080px) and (min-width:901px){
  .ccw-v08 .ccw-hud-main .ccw-sync-status span{display:none!important}
  .ccw-v08 .ccw-hud-main .ccw-sync-status{width:28px!important;padding:0!important;justify-content:center!important}
  .ccw-v08 .ccw-hud-main .ccw-hud-civrank{min-width:88px!important;padding-inline:7px!important}
  .ccw-v08 .ccw-hud-main .ccw-tab{min-width:82px!important;font-size:9px!important}
}
@media(max-width:900px){
  .ccw-v08 .ccw-hud-main{min-height:54px;padding:0 8px}
  .ccw-v08 .ccw-hud-main .ccw-brand-lockup{width:auto!important;min-width:0!important;flex:1 1 auto!important;min-height:54px!important;padding:6px 4px!important;border-right:0!important}
  .ccw-v08 .ccw-hud-main .ccw-brand-emblem{width:34px!important;height:34px!important;flex-basis:34px!important}
  .ccw-v08 .ccw-hud-main .ccw-brand-copy strong{font-size:12px!important}
  .ccw-v08 .ccw-hud-main .ccw-tabs{position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;transform:none!important;width:auto!important;min-height:0!important;padding:5px!important;overflow:hidden!important}
  .ccw-v08 .ccw-hud-main .ccw-tab{min-width:0!important;flex:1!important;padding:6px 4px!important}
  .ccw-v08 .ccw-hud-main .ccw-hud-right{max-width:none!important;margin-left:8px!important;gap:4px!important}
  .ccw-v08 .ccw-hud-main .ccw-sync-status,.ccw-v08 .ccw-hud-main .ccw-wallet-chip,.ccw-v08 .ccw-hud-main .ccw-test-badge{display:none!important}
  .ccw-v08 .ccw-hud-main .ccw-hud-civrank{min-width:82px!important;height:34px!important;padding:4px 7px!important}
  .ccw-v08 .ccw-hud-more>summary{width:32px;height:32px}
  .ccw-shell.ccw-v08 .ccw-hud-resources-bar{height:31px!important;min-height:31px!important;justify-content:flex-start!important;overflow-x:auto!important;scrollbar-width:none!important}
  .ccw-shell.ccw-v08 .ccw-hud-resources-bar::-webkit-scrollbar{display:none}
  .ccw-shell.ccw-v08 .ccw-hud-resources-bar>span{height:31px!important;min-width:108px!important;padding:0 12px!important;flex:1 0 auto!important}
}
@media(max-width:520px){
  .ccw-v08 .ccw-hud-main .ccw-brand-copy>span{display:none!important}
  .ccw-v08 .ccw-hud-main .ccw-brand-title .ccw-alpha-badge{display:none!important}
  .ccw-v08 .ccw-hud-main .ccw-hud-civrank{min-width:78px!important}
  .ccw-v08 .ccw-hud-main .ccw-hud-civrank small{font-size:7px!important}
  .ccw-shell.ccw-v08 .ccw-hud-resources-bar>span{min-width:96px!important;padding-inline:9px!important;gap:6px!important}
  .ccw-shell.ccw-v08 .ccw-hud-resources-bar small{font-size:7px!important}
}


/* v0.99.73 - Command Missions joins the persistent player action rail.
   Missions are a global player action, not a map-only control. Keep the resource
   cluster optically centred while the CTA stays available at the right edge. */
.ccw-v08 .ccw-hud-action-rail{
  position:relative;
  width:100%;
  min-height:36px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  background:linear-gradient(180deg,#071018,#060d13);
  border-top:0;
}
.ccw-v08 .ccw-hud-action-rail .ccw-hud-resources-bar{
  grid-column:2;
  width:auto!important;
  min-width:0!important;
  background:transparent!important;
  border-bottom:0!important;
}
.ccw-v08 .ccw-hud-missions{
  grid-column:3;
  justify-self:end;
  align-self:center;
  margin:0 10px 0 12px!important;
  min-height:28px!important;
  height:28px!important;
  padding:0 8px!important;
  gap:7px!important;
  border-radius:7px!important;
  border-color:rgba(117,211,244,.22)!important;
  background:linear-gradient(180deg,rgba(24,53,66,.92),rgba(12,30,40,.96))!important;
  box-shadow:none!important;
}
.ccw-v08 .ccw-hud-missions>i{width:17px!important;height:17px!important}
.ccw-v08 .ccw-hud-missions>i .ccw-static-ui-icon{width:16px!important;height:16px!important}
.ccw-v08 .ccw-hud-missions>span{font-size:9px!important;letter-spacing:.09em!important}
.ccw-v08 .ccw-hud-missions>b{
  min-width:30px!important;
  padding:3px 5px!important;
  border-radius:5px!important;
  background:rgba(117,211,244,.08)!important;
  color:#8edcf0!important;
}
/* The lower map rail is now only the contextual map-language key. */
.ccw-v08 .ccw-world-bottombar{
  right:auto!important;
  width:max-content!important;
  max-width:calc(100% - 44px)!important;
  grid-template-columns:auto!important;
  background:transparent!important;
}
@media(max-width:1180px) and (min-width:901px){
  .ccw-v08 .ccw-hud-action-rail{grid-template-columns:minmax(0,1fr) auto minmax(138px,1fr)}
  .ccw-v08 .ccw-hud-missions{margin-right:7px!important;padding-inline:7px!important}
  .ccw-v08 .ccw-hud-missions>span{font-size:8px!important;letter-spacing:.06em!important}
  .ccw-shell.ccw-v08 .ccw-hud-resources-bar>span{min-width:102px!important;padding-inline:10px!important}
}
@media(max-width:900px){
  .ccw-v08 .ccw-hud-action-rail{
    min-height:33px;
    display:flex!important;
    align-items:center;
    overflow:hidden;
  }
  .ccw-v08 .ccw-hud-action-rail .ccw-hud-resources-bar{
    flex:1 1 auto!important;
    width:0!important;
    min-width:0!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
  }
  .ccw-v08 .ccw-hud-missions{
    flex:0 0 auto!important;
    margin:0 6px!important;
    height:27px!important;
    min-height:27px!important;
    position:relative;
    z-index:2;
  }
  .ccw-v08 .ccw-world-bottombar{display:none!important}
}
@media(max-width:560px){
  .ccw-v08 .ccw-hud-missions{padding:0 7px!important;gap:5px!important}
  .ccw-v08 .ccw-hud-missions>span{font-size:0!important;letter-spacing:0!important}
  .ccw-v08 .ccw-hud-missions>span:after{content:'MISSIONS';font-size:8px;letter-spacing:.06em}
  .ccw-v08 .ccw-hud-missions>b{display:none!important}
  .ccw-v08 .ccw-hud-missions>i{width:15px!important;height:15px!important}
}


/* ======================================================================
   v0.99.74 - Compact World map toolbar
   Keep the map controls immediately readable without letting the utility
   chrome compete with the World itself. Mobile retains larger touch targets.
   ====================================================================== */
@media(min-width:761px){
  .ccw-v08 .ccw-map-tools{
    top:16px!important;
    right:16px!important;
    gap:2px!important;
    padding:3px!important;
    background:rgba(4,9,14,.90)!important;
    border-color:rgba(138,184,211,.16)!important;
  }
  .ccw-v08 .ccw-map-tool{
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
    padding:0 8px!important;
    font-size:9px!important;
    letter-spacing:.075em!important;
  }
  .ccw-v08 .ccw-zoom-label{
    min-width:78px!important;
    padding:0 5px!important;
    font-size:9px!important;
    letter-spacing:.03em!important;
  }
  .ccw-v08 .ccw-zoom-tier{
    min-width:48px!important;
  }
  .ccw-v08 #ccw-fit-map,
  .ccw-v08 #ccw-center-map,
  .ccw-v08 #ccw-fullscreen-map{
    padding-inline:7px!important;
    color:#8fa6b4!important;
    font-size:8.5px!important;
  }
  .ccw-v08 #ccw-map-legend-toggle{
    padding-inline:6px!important;
    color:#8fa6b4!important;
  }
  .ccw-v08 .ccw-map-tool:hover,
  .ccw-v08 .ccw-map-tool:focus-visible{
    color:#effaff!important;
  }
}


/* ======================================================================
   v0.99.75 - Council becomes a persistent global action.
   Council sits beside Command Missions and doubles as the live build/research
   overview. Project rows expose their Civland and can jump back to the World.
   ====================================================================== */
.ccw-v08 .ccw-hud-actions{
  grid-column:3;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:6px;
  margin-right:10px;
  min-width:max-content;
}
.ccw-v08 .ccw-hud-actions .ccw-hud-missions,
.ccw-v08 .ccw-hud-actions .ccw-hud-council{
  grid-column:auto!important;
  justify-self:auto!important;
  margin:0!important;
}
.ccw-v08 .ccw-hud-council{
  min-height:28px!important;
  height:28px!important;
  padding:0 8px!important;
  gap:7px!important;
  border-radius:7px!important;
  border-color:rgba(183,159,239,.24)!important;
  background:linear-gradient(180deg,rgba(38,30,57,.92),rgba(22,18,37,.96))!important;
  box-shadow:none!important;
}
.ccw-v08 .ccw-hud-council>i{width:17px!important;height:17px!important;color:#bba8ee!important}
.ccw-v08 .ccw-hud-council>i .ccw-static-ui-icon{width:16px!important;height:16px!important}
.ccw-v08 .ccw-hud-council>span{font-size:9px!important;letter-spacing:.09em!important;color:#d8cef5!important}
.ccw-v08 .ccw-hud-council>b{
  min-width:23px!important;
  padding:3px 5px!important;
  border-radius:5px!important;
  background:rgba(183,159,239,.10)!important;
  color:#c7b4f4!important;
}
.ccw-v08 .ccw-hud-council.is-empty>b{opacity:.48}
.ccw-v08 .ccw-council-projects .ccw-hub-project-row.is-map-link{
  width:100%;
  border:0;
  border-top:1px solid rgba(139,190,209,.08);
  background:transparent;
  color:inherit;
  text-align:left;
  font:inherit;
  cursor:pointer;
}
.ccw-v08 .ccw-council-projects .ccw-hub-project-row.is-map-link:hover,
.ccw-v08 .ccw-council-projects .ccw-hub-project-row.is-map-link:focus-visible{
  background:rgba(117,211,244,.055);
  outline:none;
}
.ccw-v08 .ccw-council-projects .ccw-hub-project-row.is-map-link small{color:#779aa8!important}
@media(max-width:1180px) and (min-width:901px){
  .ccw-v08 .ccw-hud-actions{gap:4px;margin-right:7px}
  .ccw-v08 .ccw-hud-council,.ccw-v08 .ccw-hud-missions{padding-inline:7px!important}
  .ccw-v08 .ccw-hud-council>span,.ccw-v08 .ccw-hud-missions>span{font-size:8px!important;letter-spacing:.06em!important}
}
@media(max-width:900px){
  .ccw-v08 .ccw-hud-actions{
    flex:0 0 auto;
    margin:0 6px 0 4px;
    gap:4px;
  }
  .ccw-v08 .ccw-hud-actions .ccw-hud-council,
  .ccw-v08 .ccw-hud-actions .ccw-hud-missions{
    height:27px!important;
    min-height:27px!important;
    position:relative;
    z-index:2;
  }
}
@media(max-width:560px){
  .ccw-v08 .ccw-hud-actions{gap:3px;margin-right:4px}
  .ccw-v08 .ccw-hud-council,.ccw-v08 .ccw-hud-missions{padding:0 6px!important;gap:4px!important}
  .ccw-v08 .ccw-hud-council>span{font-size:8px!important;letter-spacing:.05em!important}
  .ccw-v08 .ccw-hud-council>b{display:none!important}
}

/* ======================================================================
   v0.99.76 - Flow simplification / progressive disclosure
   World is context-first, Council owns decisions/projects, Coinlization is
   grouped into four areas, War is fronts-first and Season is goal-first.
   ====================================================================== */

/* WORLD - one context drawer, no duplicate feature surfaces. */
.ccw-v08 .ccw-sidebar-sources{display:none!important}
.ccw-v08 .ccw-context-sidebar{
  gap:9px!important;
  align-content:start;
  padding:10px!important;
}
.ccw-v08 .ccw-context-sidebar>[data-sidebar-group="context"]{
  display:block!important;
  margin:0!important;
}
.ccw-v08 .ccw-context-sidebar .ccw-command-panel{
  border:1px solid rgba(132,190,210,.11)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(8,19,27,.97),rgba(5,14,20,.98))!important;
  box-shadow:none!important;
  overflow:hidden;
}
.ccw-v08 .ccw-context-sidebar .ccw-panel-head{
  min-height:38px!important;
  padding:9px 11px!important;
  border-bottom:1px solid rgba(132,190,210,.08)!important;
  background:rgba(255,255,255,.012)!important;
}
.ccw-v08 .ccw-context-sidebar .ccw-panel-head>span{
  color:#8eaab5!important;
  font-size:9px!important;
  letter-spacing:.12em!important;
}
.ccw-v08 .ccw-context-sidebar .ccw-panel-head>b{
  color:#cfe7ed!important;
  font-size:8px!important;
  letter-spacing:.09em!important;
}
.ccw-v08 .ccw-context-sidebar #ccw-orders,
.ccw-v08 .ccw-context-sidebar #ccw-tile-info,
.ccw-v08 .ccw-context-sidebar #ccw-actions{padding-left:10px!important;padding-right:10px!important}
.ccw-v08 .ccw-context-sidebar #ccw-orders{padding-top:9px!important;padding-bottom:9px!important}
.ccw-v08 .ccw-context-sidebar #ccw-actions{padding-bottom:10px!important}
.ccw-v08 .ccw-context-sidebar .ccw-context-inspector{min-height:0!important}

/* WORLD - six permanent mode buttons become one compact layer menu. */
.ccw-v08 .ccw-layer-menu{
  position:absolute!important;
  z-index:44!important;
  left:14px!important;
  right:auto!important;
  bottom:18px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
  display:block!important;
  padding:0!important;
  border:1px solid rgba(132,190,210,.14)!important;
  border-radius:8px!important;
  background:rgba(4,11,16,.96)!important;
  box-shadow:0 9px 30px rgba(0,0,0,.28)!important;
}
.ccw-v08 .ccw-layer-menu>summary{
  list-style:none;
  display:grid;
  grid-template-columns:auto auto 12px;
  align-items:center;
  gap:7px;
  height:29px;
  padding:0 9px;
  color:#829eaa;
  cursor:pointer;
  user-select:none;
  font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.10em;
}
.ccw-v08 .ccw-layer-menu>summary::-webkit-details-marker{display:none}
.ccw-v08 .ccw-layer-menu>summary b{color:#cceaf2;font-size:9px;letter-spacing:.08em}
.ccw-v08 .ccw-layer-menu>summary i{font-style:normal;color:#6d8c99;transition:transform .14s ease}
.ccw-v08 .ccw-layer-menu[open]>summary i{transform:rotate(180deg)}
.ccw-v08 .ccw-layer-menu-popover{
  position:absolute;
  left:0;
  bottom:calc(100% + 6px);
  width:150px;
  padding:5px;
  display:grid;
  gap:2px;
  border:1px solid rgba(132,190,210,.14);
  border-radius:9px;
  background:#061018;
  box-shadow:0 15px 42px rgba(0,0,0,.48);
}
.ccw-v08 .ccw-layer-menu .ccw-layer-menu-popover button{
  width:100%;
  min-height:30px!important;
  padding:0 9px!important;
  border:1px solid transparent!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#78939f!important;
  text-align:left;
  font-size:9px!important;
  letter-spacing:.09em!important;
}
.ccw-v08 .ccw-layer-menu .ccw-layer-menu-popover button:hover{
  color:#d7eef4!important;
  background:rgba(111,203,230,.05)!important;
}
.ccw-v08 .ccw-layer-menu .ccw-layer-menu-popover button.is-active{
  color:#9ae1f2!important;
  border-color:rgba(112,205,232,.12)!important;
  background:rgba(112,205,232,.08)!important;
  box-shadow:none!important;
}
/* Keep the layer switcher visually in focus instead of sitting on top of the
   map-language key. The selector floats one step above the key on desktop. */
@media(min-width:901px){
  .ccw-v08 .ccw-layer-menu{bottom:60px!important}
  .ccw-v08 .ccw-world-bottombar{bottom:12px!important}
}

/* COINLIZATION - four stable homes, local secondary navigation. */
.ccw-v08 .ccw-hub-nav{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  overflow:visible!important;
}
.ccw-v08 .ccw-hub-nav button{
  justify-content:center!important;
  min-width:0!important;
}
.ccw-v08 .ccw-hub-subnav{
  display:flex;
  gap:4px;
  margin:0 0 12px;
  padding:4px;
  overflow-x:auto;
  border:1px solid rgba(136,193,213,.09);
  border-radius:10px;
  background:rgba(5,13,19,.72);
  scrollbar-width:none;
}
.ccw-v08 .ccw-hub-subnav::-webkit-scrollbar{display:none}
.ccw-v08 .ccw-hub-subnav button{
  min-height:30px;
  padding:0 10px;
  flex:0 0 auto;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#6f8994;
  cursor:pointer;
  font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.08em;
}
.ccw-v08 .ccw-hub-subnav button:hover{color:#bcd8e0;background:rgba(255,255,255,.02)}
.ccw-v08 .ccw-hub-subnav button.is-active{
  color:#d9eef3;
  border-color:rgba(110,203,229,.15);
  background:rgba(110,203,229,.075);
}
.ccw-v08 .ccw-hub-subcontent{min-width:0}

/* COUNCIL - one glance, then Ideas / Vote Now / Projects. */
.ccw-v08 .ccw-council-glance{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  margin:10px 0 8px!important;
}
.ccw-v08 .ccw-council-glance>div{
  min-height:48px;
  padding:9px 10px!important;
  border:1px solid rgba(137,192,212,.09)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.012)!important;
}
.ccw-v08 .ccw-council-glance b{font-size:14px!important;color:#d8edf2!important}
.ccw-v08 .ccw-council-glance span{font-size:8px!important;letter-spacing:.09em!important;color:#718d98!important}
.ccw-v08 .ccw-council-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px;
  margin:12px 0;
  padding:4px;
  border:1px solid rgba(137,192,212,.09);
  border-radius:10px;
  background:rgba(4,11,17,.72);
}
.ccw-v08 .ccw-council-tabs button{
  min-height:35px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#728d98;
  cursor:pointer;
  font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.08em;
}
.ccw-v08 .ccw-council-tabs button b{
  margin-left:5px;
  color:#9fb4bd;
  font-size:9px;
}
.ccw-v08 .ccw-council-tabs button:hover{color:#c9dfe5;background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-council-tabs button.is-active{
  color:#d8c9fa;
  border-color:rgba(181,158,238,.18);
  background:rgba(181,158,238,.075);
}
.ccw-v08 .ccw-council-tabs button.is-active b{color:#c9b5f4}
.ccw-v08 .ccw-council-tab-panel[hidden]{display:none!important}
.ccw-v08 .ccw-council-help,
.ccw-v08 .ccw-season-rules,
.ccw-v08 .ccw-battle-history-v2,
.ccw-v08 .ccw-mission-help{
  margin-top:10px;
  border-top:1px solid rgba(137,192,212,.08);
}
.ccw-v08 .ccw-council-help>summary,
.ccw-v08 .ccw-season-rules>summary,
.ccw-v08 .ccw-battle-history-v2>summary,
.ccw-v08 .ccw-mission-help>summary{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#78949f;
  cursor:pointer;
  list-style:none;
  font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.10em;
}
.ccw-v08 .ccw-council-help>summary::-webkit-details-marker,
.ccw-v08 .ccw-season-rules>summary::-webkit-details-marker,
.ccw-v08 .ccw-battle-history-v2>summary::-webkit-details-marker,
.ccw-v08 .ccw-mission-help>summary::-webkit-details-marker{display:none}
.ccw-v08 .ccw-council-create{min-height:31px!important;padding:0 10px!important;font-size:9px!important}
.ccw-v08 .ccw-council-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.ccw-v08 .ccw-council-create-grid button{text-align:left;min-height:74px!important}
.ccw-v08 .ccw-council-create-grid button b{display:block;margin-bottom:4px}
.ccw-v08 .ccw-council-create-grid button small{display:block;color:#718d98;font-weight:600;line-height:1.35}

/* WAR - the list is the default; rich battle telemetry appears on demand. */
.ccw-v08 .ccw-war-overview{max-width:1120px;margin:0 auto 12px}
.ccw-v08 .ccw-war-overview .ccw-section-head{margin-bottom:8px}
.ccw-v08 .ccw-front-list{
  display:grid;
  gap:6px;
}
.ccw-v08 .ccw-front-row{
  width:100%;
  min-height:68px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 11px;
  border:1px solid rgba(137,192,212,.10);
  border-radius:11px;
  background:linear-gradient(100deg,rgba(9,20,28,.96),rgba(5,13,19,.96));
  color:#bcd3da;
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.ccw-v08 .ccw-front-row:hover,
.ccw-v08 .ccw-front-row.is-active{border-color:rgba(108,207,232,.22);background:linear-gradient(100deg,rgba(11,26,35,.98),rgba(6,16,22,.98))}
.ccw-v08 .ccw-front-row.is-urgent{border-color:rgba(231,111,97,.24)}
.ccw-v08 .ccw-front-row-icon{width:32px;height:32px;display:grid;place-items:center;color:#7ba9b7;border:1px solid rgba(137,192,212,.10);border-radius:8px;background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-front-row-icon .ccw-ui-icon{width:19px;height:19px}
.ccw-v08 .ccw-front-row-main{min-width:0;display:grid;gap:5px}
.ccw-v08 .ccw-front-row-main small{color:#708c98;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}
.ccw-v08 .ccw-front-row-main b{display:flex;align-items:center;gap:7px;color:#d8edf2;font-size:12px;white-space:nowrap}
.ccw-v08 .ccw-front-row-main b i{font-style:normal;color:#91afba;font-size:10px}
.ccw-v08 .ccw-front-row-main b em{font-style:normal;color:#526b76;font-size:8px;font-weight:800;letter-spacing:.08em}
.ccw-v08 .ccw-front-row-main>span{position:relative;height:3px;overflow:hidden;border-radius:999px;background:rgba(117,150,162,.12)}
.ccw-v08 .ccw-front-row-main>span u{display:block;height:100%;background:#7dcfe4;text-decoration:none}
.ccw-v08 .ccw-front-row-time{text-align:right;display:grid;gap:4px;justify-items:end;white-space:nowrap}
.ccw-v08 .ccw-front-row-time b{color:#e0eef2;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace}
.ccw-v08 .ccw-front-row-time small{color:#72a6b5;font-size:8px;font-weight:800;letter-spacing:.06em}
.ccw-v08 .ccw-front-row.is-urgent .ccw-front-row-time small{color:#e58c7e}
.ccw-v08 .ccw-war-detail-list{max-width:1120px;margin:0 auto}
.ccw-v08 .ccw-war-detail-list:empty{display:none}
.ccw-v08 .ccw-war-detail-list .ccw-battle-card[hidden]{display:none!important}
.ccw-v08 .ccw-battle-back{margin:0 0 8px!important;min-height:31px!important;font-size:9px!important}
.ccw-v08 .ccw-battle-history-v2{max-width:1120px;margin:12px auto 0}
.ccw-v08 .ccw-battle-history-v2>summary{padding:0 4px}

/* SEASON - outcome first; rules are available, not permanently in the way. */
.ccw-v08 .ccw-season-tabs{
  max-width:760px;
  margin:0 auto 12px;
  padding:4px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4px;
  border:1px solid rgba(137,192,212,.09);
  border-radius:10px;
  background:rgba(4,11,17,.72);
}
.ccw-v08 .ccw-season-tabs button{
  min-height:34px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#718b96;
  cursor:pointer;
  font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.08em;
}
.ccw-v08 .ccw-season-tabs button:hover{color:#c9dfe5;background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-season-tabs button.is-active{color:#d9eff4;border-color:rgba(105,202,229,.16);background:rgba(105,202,229,.075)}
.ccw-v08 .ccw-season-hero-v2{max-width:1120px;margin-left:auto!important;margin-right:auto!important}
.ccw-v08 .ccw-season-path-grid{
  max-width:1120px;
  margin:10px auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.ccw-v08 .ccw-season-path-card{
  min-height:92px;
  padding:12px;
  border:1px solid rgba(137,192,212,.10);
  border-radius:11px;
  background:linear-gradient(145deg,rgba(10,22,30,.94),rgba(5,14,20,.96));
}
.ccw-v08 .ccw-season-path-card span{display:block;color:#708b97;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em}
.ccw-v08 .ccw-season-path-card b{display:block;margin:7px 0 6px;color:#e0eef2;font-size:20px}
.ccw-v08 .ccw-season-path-card small{color:#78939e;font-size:9px;line-height:1.4}
.ccw-v08 .ccw-season-mine{max-width:1120px;margin:8px auto!important}
.ccw-v08 .ccw-season-rules{max-width:1120px;margin:10px auto 0}
.ccw-v08 .ccw-season-rules>div{padding-top:8px}
.ccw-v08 .ccw-season-history{max-width:1120px;margin:0 auto}
.ccw-v08 .ccw-season-history>details{margin-top:10px}
.ccw-v08 .ccw-season-sponsor-compact{max-width:1120px;margin:8px auto!important}
.ccw-v08 .ccw-season-countdown-compact{max-width:1120px;margin:8px auto!important}

/* Keep instructional prose one click away where it is repeat information. */
.ccw-v08 .ccw-mission-help{margin:10px 0 0}
.ccw-v08 .ccw-mission-help p{margin:0;padding:4px 0 0;color:#728c97;font-size:10px;line-height:1.5}

@media(max-width:900px){
  .ccw-v08 .ccw-context-sidebar{grid-template-columns:1fr!important;padding:8px!important}
  .ccw-v08 .ccw-layer-menu{left:10px!important;bottom:12px!important}
  .ccw-v08 .ccw-hub-nav{grid-template-columns:repeat(4,minmax(82px,1fr))!important;overflow-x:auto!important}
  .ccw-v08 .ccw-hub-nav button{min-height:38px!important;padding:6px 7px!important;font-size:9px!important}
  .ccw-v08 .ccw-council-tabs{grid-template-columns:repeat(3,minmax(92px,1fr));overflow-x:auto}
  .ccw-v08 .ccw-front-row{grid-template-columns:32px minmax(0,1fr);gap:8px}
  .ccw-v08 .ccw-front-row-time{grid-column:2;grid-row:2;display:flex;justify-content:space-between;width:100%;align-items:center}
  .ccw-v08 .ccw-season-path-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .ccw-v08 .ccw-hub-nav{margin-left:0!important;margin-right:0!important}
  .ccw-v08 .ccw-hub-nav button{display:flex!important;gap:5px!important;justify-content:center!important}
  .ccw-v08 .ccw-hub-nav-icon{display:none!important}
  .ccw-v08 .ccw-council-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ccw-v08 .ccw-council-glance>div{padding:8px 7px!important}
  .ccw-v08 .ccw-council-tabs button{padding:0 6px;font-size:8px}
  .ccw-v08 .ccw-council-create-grid{grid-template-columns:1fr}
  .ccw-v08 .ccw-front-row-main b{gap:4px;font-size:10px}
  .ccw-v08 .ccw-layer-menu-popover{width:142px}
}

/* v0.99.76 selector corrections for generated Council/Season markup. */
.ccw-v08 .ccw-council-glance>span{
  min-height:48px;
  display:grid;
  align-content:center;
  gap:3px;
  padding:9px 10px!important;
  border:1px solid rgba(137,192,212,.09)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.012)!important;
}
.ccw-v08 .ccw-council-glance>span>b{font-size:14px!important;color:#d8edf2!important}
.ccw-v08 .ccw-council-glance>span>small{font-size:8px!important;letter-spacing:.09em!important;text-transform:uppercase;color:#718d98!important}
.ccw-v08 .ccw-council-tabpanel[hidden]{display:none!important}
.ccw-v08 .ccw-council-create-grid button>span{display:block;color:#718d98;font-size:10px;font-weight:600;line-height:1.35}
.ccw-v08 .ccw-council-create-grid button>em{display:block;margin-top:8px;color:#91d7e8;font-size:9px;font-style:normal;font-weight:800;letter-spacing:.06em}
.ccw-v08 .ccw-season-path-grid>article{
  min-height:92px;
  padding:12px;
  border:1px solid rgba(137,192,212,.10);
  border-radius:11px;
  background:linear-gradient(145deg,rgba(10,22,30,.94),rgba(5,14,20,.96));
}
.ccw-v08 .ccw-season-path-grid>article>span{display:block;color:#708b97;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em}
.ccw-v08 .ccw-season-path-grid>article>b{display:block;margin:7px 0 6px;color:#e0eef2;font-size:20px}
.ccw-v08 .ccw-season-path-grid>article>div{height:3px;overflow:hidden;border-radius:999px;background:rgba(117,150,162,.12)}
.ccw-v08 .ccw-season-path-grid>article>div>i{display:block;height:100%;background:#7dcfe4}
.ccw-v08 .ccw-season-path-grid>article>small{display:block;margin-top:7px;color:#78939e;font-size:9px;line-height:1.4}
@media(max-width:560px){
  .ccw-v08 .ccw-council-glance>span{padding:8px 7px!important}
}

/* v0.99.76 World context is one drawer, split only by task context. */
.ccw-v08 .ccw-context-drawer{padding-bottom:2px!important}
.ccw-v08 .ccw-context-block{padding:9px 0 7px}
.ccw-v08 .ccw-context-label{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  padding:0 10px 5px;
}
.ccw-v08 .ccw-context-label>span{color:#88a6b2;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.10em}
.ccw-v08 .ccw-context-label>small{color:#526e79;font-size:8px;white-space:nowrap}
.ccw-v08 .ccw-context-divider{height:1px;margin:1px 10px;background:rgba(132,190,210,.075)}
.ccw-v08 .ccw-context-drawer #ccw-orders{padding-top:3px!important}
.ccw-v08 .ccw-context-drawer #ccw-tile-info{padding-top:3px!important}


/* ======================================================================
   v0.99.78 - Coinlization navigation + World view dock polish
   Clear hierarchy: one primary Coinlization rail, one attached local rail;
   one compact World dock where map mode is the primary control and the key
   is supporting information rather than a competing panel.
   ====================================================================== */

/* WORLD - merge the map-mode selector and its live key into one calm dock. */
.ccw-v08 .ccw-world-view-dock{
  left:14px!important;
  right:auto!important;
  bottom:14px!important;
  width:auto!important;
  max-width:calc(100% - 42px)!important;
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  padding:4px!important;
  border:1px solid rgba(132,190,210,.13)!important;
  border-radius:10px!important;
  background:rgba(3,10,15,.93)!important;
  box-shadow:0 10px 34px rgba(0,0,0,.30)!important;
  pointer-events:auto!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-layer-menu{
  position:relative!important;
  inset:auto!important;
  margin:0!important;
  border:0!important;
  border-radius:7px!important;
  background:rgba(103,205,234,.075)!important;
  box-shadow:none!important;
  overflow:visible!important;
  flex:0 0 auto!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-layer-menu>summary{
  height:31px!important;
  padding:0 10px!important;
  gap:7px!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-layer-menu>summary span{
  color:#708c98!important;
  font-size:7px!important;
  letter-spacing:.12em!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-layer-menu>summary b{
  color:#d8f2f7!important;
  font-size:9px!important;
  letter-spacing:.085em!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-layer-menu[open]{
  background:rgba(103,205,234,.11)!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-layer-menu-popover{
  left:0!important;
  bottom:calc(100% + 9px)!important;
  width:154px!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-terrain-key{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  margin-left:5px!important;
  padding:0 8px 0 11px!important;
  min-height:31px!important;
  max-width:none!important;
  border:0!important;
  border-left:1px solid rgba(132,190,210,.10)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.ccw-v08 .ccw-world-view-dock .ccw-terrain-key span{
  color:#607b87!important;
  font-size:8px!important;
  letter-spacing:.08em!important;
  opacity:.88;
}
.ccw-v08 .ccw-world-view-dock .ccw-terrain-key i{opacity:.85}

/* COINLIZATION - primary section rail feels like navigation, not four cards. */
.ccw-v08 .ccw-civ-hub>.ccw-hub-nav{
  position:sticky!important;
  padding:3px!important;
  gap:2px!important;
  border-radius:11px!important;
  border-color:rgba(139,195,214,.10)!important;
  background:rgba(5,12,18,.95)!important;
  box-shadow:0 8px 26px rgba(0,0,0,.14)!important;
}
.ccw-v08 .ccw-civ-hub>.ccw-hub-nav button{
  position:relative;
  min-height:39px!important;
  padding:6px 10px!important;
  border:0!important;
  border-radius:8px!important;
  color:#6e8994!important;
  background:transparent!important;
  transition:color .14s ease,background .14s ease!important;
}
.ccw-v08 .ccw-civ-hub>.ccw-hub-nav button:after{
  content:"";
  position:absolute;
  left:18%;right:18%;bottom:1px;
  height:2px;
  border-radius:2px;
  background:transparent;
}
.ccw-v08 .ccw-civ-hub>.ccw-hub-nav button:hover{
  color:#bcd8e1!important;
  background:rgba(255,255,255,.018)!important;
}
.ccw-v08 .ccw-civ-hub>.ccw-hub-nav button.is-active{
  color:#e1f3f7!important;
  background:rgba(104,203,230,.055)!important;
  box-shadow:none!important;
}
.ccw-v08 .ccw-civ-hub>.ccw-hub-nav button.is-active:after{
  background:#79d4e9;
  box-shadow:0 0 9px rgba(121,212,233,.30);
}
.ccw-v08 .ccw-civ-hub>.ccw-hub-nav button.is-active .ccw-hub-nav-icon{color:#91deed!important}

/* Secondary rail is visually attached to its parent and explicitly labelled. */
.ccw-v08 .ccw-hub-subnav{
  min-height:38px!important;
  align-items:center!important;
  gap:3px!important;
  margin:-7px 6px 14px!important;
  padding:4px 5px!important;
  border-top:0!important;
  border-radius:0 0 10px 10px!important;
  background:rgba(5,13,19,.56)!important;
}
.ccw-v08 .ccw-hub-subnav-label{
  flex:0 0 auto;
  padding:0 8px 0 5px;
  color:#536f7a;
  font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.13em;
  white-space:nowrap;
}
.ccw-v08 .ccw-hub-subnav button{
  min-height:28px!important;
  padding:0 9px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  border-radius:6px!important;
  color:#6f8994!important;
}
.ccw-v08 .ccw-hub-subnav button>span{
  display:grid;
  place-items:center;
  width:14px;height:14px;
  color:#668995;
}
.ccw-v08 .ccw-hub-subnav button>span .ccw-ui-icon,
.ccw-v08 .ccw-hub-subnav button>span .ccw-static-ui-icon{width:13px;height:13px}
.ccw-v08 .ccw-hub-subnav button.is-active{
  color:#dff2f6!important;
  border-color:rgba(110,203,229,.12)!important;
  background:rgba(110,203,229,.07)!important;
}
.ccw-v08 .ccw-hub-subnav button.is-active>span{color:#82d6e8}

@media(max-width:900px){
  .ccw-v08 .ccw-world-view-dock{
    left:10px!important;
    right:auto!important;
    bottom:10px!important;
    max-width:calc(100% - 20px)!important;
    display:flex!important;
  }
  .ccw-v08 .ccw-world-view-dock .ccw-terrain-key{display:none!important}
  .ccw-v08 .ccw-world-view-dock .ccw-layer-menu{display:block!important}
  .ccw-v08 .ccw-civ-hub>.ccw-hub-nav{overflow-x:auto!important}
  .ccw-v08 .ccw-hub-subnav{margin:-6px 3px 12px!important}
  .ccw-v08 .ccw-hub-subnav-label{display:none}
}
@media(max-width:560px){
  .ccw-v08 .ccw-world-view-dock .ccw-layer-menu>summary{height:30px!important;padding:0 9px!important}
  .ccw-v08 .ccw-civ-hub>.ccw-hub-nav button{min-height:36px!important;padding:5px 7px!important}
  .ccw-v08 .ccw-hub-subnav button{padding:0 8px!important}
  .ccw-v08 .ccw-hub-subnav button>span{display:none!important}
}

/* ======================================================================
   v0.99.79 - Season command polish
   One centered command surface, clear live state, compact player summary.
   ====================================================================== */
.ccw-v08 #ccw-panel-season{
  padding-top:22px!important;
}
.ccw-v08 #ccw-panel-season>.ccw-section-head{
  display:none!important;
}
.ccw-v08 #ccw-ranking{
  width:100%;
}
.ccw-v08 .ccw-season-shell{
  width:min(1120px,100%);
  margin:0 auto;
  display:grid;
  gap:12px;
}
.ccw-v08 .ccw-season-shell .ccw-season-hero-v2{
  width:100%;
  max-width:none!important;
  margin:0!important;
  padding:18px 20px!important;
  align-items:center!important;
  border:1px solid rgba(126,198,221,.13)!important;
  border-radius:14px!important;
  background:
    radial-gradient(circle at 82% 20%,rgba(89,195,225,.08),transparent 30%),
    linear-gradient(145deg,rgba(9,22,30,.97),rgba(5,13,19,.98))!important;
  box-shadow:0 16px 44px rgba(0,0,0,.16)!important;
}
.ccw-v08 .ccw-season-shell .ccw-season-hero-v2 h2{
  margin:6px 0 5px!important;
  font-size:26px!important;
  line-height:1.08!important;
}
.ccw-v08 .ccw-season-shell .ccw-season-hero-v2 p{
  max-width:720px;
  font-size:9px!important;
  letter-spacing:.02em;
}
.ccw-v08 .ccw-season-shell .ccw-season-clock{
  min-width:154px!important;
  padding:12px 14px!important;
  border-radius:10px!important;
  border-color:rgba(117,211,244,.15)!important;
  background:rgba(2,10,15,.48)!important;
}
.ccw-v08 .ccw-season-shell .ccw-season-clock b{font-size:15px!important}
.ccw-v08 .ccw-season-tabs{
  width:100%;
  max-width:none!important;
  margin:0!important;
  padding:3px!important;
  min-height:38px;
  border-radius:10px!important;
}
.ccw-v08 .ccw-season-tabs button{min-height:30px!important;font-size:8px!important}
.ccw-v08 .ccw-season-tabbody{
  display:grid;
  gap:12px;
  min-width:0;
}
.ccw-v08 .ccw-season-countdown{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  min-height:78px;
  padding:14px 16px;
  border:1px solid rgba(240,190,90,.26);
  border-radius:12px;
  background:linear-gradient(105deg,rgba(41,31,14,.72),rgba(11,19,24,.94) 62%);
  box-shadow:inset 3px 0 0 rgba(240,190,90,.68);
}
.ccw-v08 .ccw-season-countdown-copy{display:grid;gap:5px;min-width:0}
.ccw-v08 .ccw-season-countdown-copy>span,
.ccw-v08 .ccw-season-countdown-clock>span{
  color:#9c8b62;
  font:850 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.12em;
}
.ccw-v08 .ccw-season-countdown-copy>b{
  color:#f1e4c5;
  font-size:15px;
  line-height:1.2;
}
.ccw-v08 .ccw-season-countdown-copy>small{color:#8c8575;font-size:9px}
.ccw-v08 .ccw-season-countdown-clock{
  min-width:128px;
  display:grid;
  gap:7px;
  justify-items:end;
  padding-left:16px;
  border-left:1px solid rgba(240,190,90,.14);
}
.ccw-v08 .ccw-season-countdown-clock>strong{
  color:#f5dfab;
  font:850 17px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  white-space:nowrap;
}
.ccw-v08 .ccw-season-paths{
  margin:0!important;
  padding:16px;
  border:1px solid rgba(137,192,212,.10);
  border-radius:13px;
  background:rgba(6,15,21,.52);
}
.ccw-v08 .ccw-season-paths>.ccw-section-head{
  display:block!important;
  margin:0 0 11px!important;
}
.ccw-v08 .ccw-season-paths>.ccw-section-head h3{
  margin:4px 0 3px!important;
  font-size:17px!important;
  color:#dcecf1!important;
}
.ccw-v08 .ccw-season-paths>.ccw-section-head p{
  margin:0;
  color:#687f89;
  font-size:9px;
  line-height:1.45;
}
.ccw-v08 .ccw-season-path-grid{
  width:100%;
  max-width:none!important;
  margin:0!important;
  gap:8px!important;
}
.ccw-v08 .ccw-season-path-grid>article{
  position:relative;
  min-height:112px!important;
  padding:13px!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,rgba(10,22,30,.90),rgba(5,14,20,.94))!important;
}
.ccw-v08 .ccw-season-path-grid>article>header{
  min-height:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.ccw-v08 .ccw-season-path-grid>article>header>span{
  color:#708b97;
  font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.09em;
}
.ccw-v08 .ccw-season-path-grid>article>header>em{
  padding:3px 5px;
  border:1px solid rgba(116,221,180,.18);
  border-radius:5px;
  color:#85d7b7;
  background:rgba(72,171,133,.07);
  font:850 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  font-style:normal;
  letter-spacing:.08em;
}
.ccw-v08 .ccw-season-path-grid>article>b{font-size:22px!important;margin:7px 0 8px!important}
.ccw-v08 .ccw-season-path-grid>article.is-ready{
  border-color:rgba(116,221,180,.20)!important;
  background:linear-gradient(145deg,rgba(10,30,29,.94),rgba(5,17,20,.96))!important;
}
.ccw-v08 .ccw-season-path-grid>article.is-ready>div>i{background:#76d8b2!important}
.ccw-v08 .ccw-season-mine{
  width:100%;
  max-width:none!important;
  margin:0!important;
  display:grid;
  grid-template-columns:minmax(180px,1fr) auto auto;
  align-items:center;
  gap:18px;
  padding:12px 14px;
  border:1px solid rgba(137,192,212,.10);
  border-radius:12px;
  background:rgba(7,17,23,.66);
}
.ccw-v08 .ccw-season-mine-id{display:grid;gap:4px;min-width:0}
.ccw-v08 .ccw-season-mine-id>span{color:#6f8c97;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.10em}
.ccw-v08 .ccw-season-mine-id>b{color:#dcecf1;font-size:14px}
.ccw-v08 .ccw-season-mine-id>small{color:#69808a;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ccw-v08 .ccw-season-mine-stats{display:grid;grid-template-columns:repeat(3,minmax(82px,1fr));gap:5px}
.ccw-v08 .ccw-season-mine-stats>span{
  min-width:86px;
  padding:7px 9px;
  display:grid;
  gap:3px;
  border-left:1px solid rgba(137,192,212,.08);
}
.ccw-v08 .ccw-season-mine-stats b{color:#d9edf2;font-size:13px}
.ccw-v08 .ccw-season-mine-stats small{color:#59737e;font:800 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;white-space:nowrap}
.ccw-v08 .ccw-season-mine>.ccw-btn{min-height:31px!important;padding:0 10px!important;font-size:8px!important}
.ccw-v08 .ccw-season-gap,
.ccw-v08 .ccw-season-rules,
.ccw-v08 .ccw-season-sponsor-compact,
.ccw-v08 .ccw-season-standings,
.ccw-v08 .ccw-season-history{
  width:100%;
  max-width:none!important;
  margin:0!important;
}
.ccw-v08 .ccw-season-rules{
  padding:0 4px;
  border-top:1px solid rgba(137,192,212,.08);
}
.ccw-v08 .ccw-season-standings>.ccw-section-head,
.ccw-v08 .ccw-season-history .ccw-section-head{margin-bottom:10px!important}
@media(max-width:900px){
  .ccw-v08 #ccw-panel-season{padding:12px!important}
  .ccw-v08 .ccw-season-shell{gap:9px}
  .ccw-v08 .ccw-season-shell .ccw-season-hero-v2{padding:14px!important;gap:12px!important}
  .ccw-v08 .ccw-season-shell .ccw-season-clock{width:100%!important;text-align:left!important}
  .ccw-v08 .ccw-season-countdown{grid-template-columns:1fr;gap:10px}
  .ccw-v08 .ccw-season-countdown-clock{justify-items:start;padding:10px 0 0;border-left:0;border-top:1px solid rgba(240,190,90,.14)}
  .ccw-v08 .ccw-season-mine{grid-template-columns:1fr;gap:10px}
  .ccw-v08 .ccw-season-mine-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ccw-v08 .ccw-season-mine-stats>span{min-width:0;border-left:0;border-top:1px solid rgba(137,192,212,.08)}
  .ccw-v08 .ccw-season-mine>.ccw-btn{justify-self:start}
}
@media(max-width:560px){
  .ccw-v08 .ccw-season-shell .ccw-season-hero-v2 h2{font-size:21px!important}
  .ccw-v08 .ccw-season-tabs button{font-size:7px!important}
  .ccw-v08 .ccw-season-paths{padding:12px}
  .ccw-v08 .ccw-season-mine-stats{grid-template-columns:1fr}
  .ccw-v08 .ccw-season-mine-stats>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:7px 0}
}


/* ======================================================================
   v0.99.80 - CivID discoverability
   CivID is a first-class Coinlization identity: always reachable from your
   own hub, and visible from another Coinlization's public Civital when issued.
   ====================================================================== */
.ccw-v08 .ccw-hub-hero-meta{
  position:relative;
  z-index:3;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:12px;
  margin-left:auto;
}
.ccw-v08 .ccw-hub-civid-cta{
  appearance:none;
  min-width:142px;
  padding:9px 11px;
  display:grid;
  gap:3px;
  text-align:left;
  border:1px solid rgba(151,188,207,.16);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(10,22,30,.94),rgba(6,14,20,.96));
  color:#d9e8ed;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}
.ccw-v08 .ccw-hub-civid-cta>span{
  display:flex;
  align-items:center;
  gap:6px;
  color:#839da8;
  font:900 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.13em;
}
.ccw-v08 .ccw-hub-civid-cta>span .ccw-static-ui-icon{width:13px;height:13px}
.ccw-v08 .ccw-hub-civid-cta>b{
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#e6f4f7;
  font:900 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
}
.ccw-v08 .ccw-hub-civid-cta>small{
  color:#68838e;
  font:800 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.07em;
}
.ccw-v08 .ccw-hub-civid-cta.is-active{
  border-color:rgba(162,139,239,.30);
  background:linear-gradient(145deg,rgba(42,31,68,.54),rgba(8,17,24,.96));
}
.ccw-v08 .ccw-hub-civid-cta.is-active>span,
.ccw-v08 .ccw-hub-civid-cta.is-active>b{color:#c9b9f5}
.ccw-v08 .ccw-hub-civid-cta:hover,
.ccw-v08 .ccw-hub-civid-cta:focus-visible{
  border-color:rgba(126,213,237,.34);
  transform:translateY(-1px);
  outline:none;
}

.ccw-public-prestige-head .ccw-public-head-meta{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin-right:38px;
}
.ccw-public-prestige-head .ccw-public-head-meta>strong{
  font-size:10px;
  color:#ddc77c;
  border:1px solid rgba(220,194,110,.2);
  padding:9px 12px;
  border-radius:8px;
  white-space:nowrap;
}
.ccw-public-civid-link{
  min-width:138px;
  padding:8px 10px;
  display:grid;
  gap:3px;
  border:1px solid rgba(151,188,207,.14);
  border-radius:8px;
  background:rgba(5,14,20,.72);
  text-decoration:none!important;
}
.ccw-public-civid-link>span{
  display:flex!important;
  align-items:center;
  gap:5px;
  color:#7e98a3!important;
  font:900 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace!important;
  letter-spacing:.12em!important;
}
.ccw-public-civid-link>span .ccw-static-ui-icon{width:12px;height:12px}
.ccw-public-civid-link>b{
  color:#c8dce3;
  font:900 10px/1.15 ui-monospace,SFMono-Regular,Menlo,monospace;
  white-space:nowrap;
}
.ccw-public-civid-link>small{
  color:#607b86;
  font:800 10px/1.1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.06em;
}
.ccw-public-civid-link.is-active{
  border-color:rgba(161,138,239,.30);
  background:linear-gradient(145deg,rgba(43,31,70,.43),rgba(5,14,20,.80));
}
.ccw-public-civid-link.is-active>b,
.ccw-public-civid-link.is-active>span{color:#cbbcf5!important}
.ccw-public-civid-link.is-active:hover{border-color:rgba(195,178,248,.52);background:rgba(50,37,78,.55)}
.ccw-public-civid-link.is-unissued{opacity:.54;cursor:default}

@media(max-width:900px){
  .ccw-v08 .ccw-hub-hero-meta{width:100%;justify-content:space-between;align-items:center;margin-left:0}
  .ccw-v08 .ccw-hub-civid-cta{min-width:136px}
  .ccw-v08 .ccw-hub-season{text-align:right!important}
}
@media(max-width:800px){
  .ccw-public-prestige-head{flex-wrap:wrap}
  .ccw-public-prestige-head .ccw-public-head-meta{width:100%;margin:4px 0 0 79px;justify-content:flex-start}
  .ccw-public-prestige-head .ccw-public-head-meta>strong{display:block!important}
}
@media(max-width:560px){
  .ccw-v08 .ccw-hub-hero-meta{align-items:stretch;flex-direction:column}
  .ccw-v08 .ccw-hub-civid-cta{width:100%}
  .ccw-v08 .ccw-hub-season{text-align:left!important}
  .ccw-public-prestige-head .ccw-public-head-meta{margin-left:0;display:grid;grid-template-columns:1fr auto}
  .ccw-public-civid-link{min-width:0}
}


/* ======================================================================
   v0.99.81 - Council modal cleanup
   The Council modal should feel like a compact command room, not a giant empty
   sheet with a thin column of content on the left.
   ====================================================================== */
.ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame{
  width:min(860px,94vw)!important;
  padding:24px 24px!important;
}
.ccw-v08 .ccw-council-window{gap:14px!important}
.ccw-v08 .ccw-council-window-head{
  padding-right:36px!important;
  padding-bottom:12px!important;
}
.ccw-v08 .ccw-council-window-head h2{font-size:26px!important}
.ccw-v08 .ccw-council-window-body{
  display:block!important;
}
.ccw-v08 .ccw-council-shell{
  width:min(100%,760px);
  margin:0 auto;
  display:grid;
  gap:12px;
}
.ccw-v08 .ccw-council-window-body .ccw-council-command{
  padding:13px!important;
}
.ccw-v08 .ccw-council-window-body .ccw-council-statusline{
  align-items:center!important;
}
.ccw-v08 .ccw-council-window-body .ccw-council-statusline h3{
  font-size:18px!important;
}
.ccw-v08 .ccw-council-glance{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.ccw-v08 .ccw-council-tabs{
  width:100%;
  margin:0!important;
}
.ccw-v08 .ccw-council-tabpanel{
  display:grid;
  gap:12px;
}
.ccw-v08 .ccw-council-tabpanel:not([hidden]){
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
.ccw-v08 .ccw-council-tabpanel .ccw-command-empty,
.ccw-v08 .ccw-council-tabpanel .ccw-council-project-intro,
.ccw-v08 .ccw-council-tabpanel .ccw-hub-project-row{
  grid-column:1/-1;
}
.ccw-v08 .ccw-council-tabpanel .ccw-proposal,
.ccw-v08 .ccw-council-tabpanel .ccw-tile-idea-group{
  margin:0!important;
  min-width:0;
}
.ccw-v08 .ccw-council-tabpanel .ccw-hub-project-row{
  width:100%;
}
@media(max-width:900px){
  .ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame{
    width:96vw!important;
    padding:20px 14px!important;
  }
  .ccw-v08 .ccw-council-shell{
    width:100%;
  }
  .ccw-v08 .ccw-council-tabpanel:not([hidden]){
    grid-template-columns:1fr;
  }
}

/* ======================================================================
   v0.99.82 - Council modal layout repair
   Compact centered command surface; fixes the oversized empty right side.
   ====================================================================== */
.ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame{
  width:min(860px,94vw)!important;
  padding:24px 24px!important;
}
.ccw-v08 .ccw-council-window{gap:14px!important}
.ccw-v08 .ccw-council-window-head{
  padding-right:36px!important;
  padding-bottom:12px!important;
}
.ccw-v08 .ccw-council-window-head h2{font-size:26px!important}
.ccw-v08 .ccw-council-window-body{display:block!important}
.ccw-v08 .ccw-council-shell{
  width:min(100%,760px);
  margin:0 auto;
  display:grid;
  gap:12px;
}
.ccw-v08 .ccw-council-window-body .ccw-council-command{padding:13px!important}
.ccw-v08 .ccw-council-window-body .ccw-council-statusline{align-items:center!important}
.ccw-v08 .ccw-council-window-body .ccw-council-statusline h3{font-size:18px!important}
.ccw-v08 .ccw-council-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ccw-v08 .ccw-council-tabs{width:100%;margin:0!important}
.ccw-v08 .ccw-council-tabpanel{display:grid;gap:12px}
.ccw-v08 .ccw-council-tabpanel:not([hidden]){
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
.ccw-v08 .ccw-council-tabpanel .ccw-command-empty,
.ccw-v08 .ccw-council-tabpanel .ccw-council-project-intro,
.ccw-v08 .ccw-council-tabpanel .ccw-hub-project-row{grid-column:1/-1}
.ccw-v08 .ccw-council-tabpanel .ccw-proposal,
.ccw-v08 .ccw-council-tabpanel .ccw-tile-idea-group{margin:0!important;min-width:0}
.ccw-v08 .ccw-council-tabpanel .ccw-hub-project-row{width:100%}
@media(max-width:900px){
  .ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame{width:96vw!important;padding:20px 14px!important}
  .ccw-v08 .ccw-council-shell{width:100%}
  .ccw-v08 .ccw-council-tabpanel:not([hidden]){grid-template-columns:1fr}
}


/* ======================================================================
   v0.99.83 - Global Development overview
   Council = decisions, Development = work in progress, Missions = personal action.
   ====================================================================== */
.ccw-v08 .ccw-hud-actions .ccw-hud-development{
  grid-column:auto!important;justify-self:auto!important;margin:0!important;
}
.ccw-v08 .ccw-hud-development{
  min-height:28px!important;height:28px!important;padding:0 8px!important;gap:7px!important;
  border-radius:7px!important;border-color:rgba(96,191,216,.22)!important;
  background:linear-gradient(180deg,rgba(14,40,50,.92),rgba(8,25,33,.96))!important;box-shadow:none!important;
}
.ccw-v08 .ccw-hud-development>i{width:17px!important;height:17px!important;color:#83d5e8!important}
.ccw-v08 .ccw-hud-development>i .ccw-static-ui-icon{width:16px!important;height:16px!important}
.ccw-v08 .ccw-hud-development>span{font-size:9px!important;letter-spacing:.09em!important;color:#c7eaf1!important}
.ccw-v08 .ccw-hud-development>b{min-width:30px!important;padding:3px 5px!important;border-radius:5px!important;background:rgba(117,211,244,.08)!important;color:#91dced!important}
.ccw-v08 .ccw-hud-development.has-free-slots{border-color:rgba(230,188,88,.30)!important;background:linear-gradient(180deg,rgba(54,45,19,.86),rgba(29,26,14,.96))!important}
.ccw-v08 .ccw-hud-development.has-free-slots>b{background:rgba(230,188,88,.10)!important;color:#e4c472!important}
.ccw-v08 .ccw-hud-development.is-empty>b{opacity:.72}

.ccw-v08 .ccw-mission-modal.is-development-window .ccw-mission-frame{width:min(940px,95vw);min-height:0;max-height:92vh;padding:24px}
.ccw-v08 .ccw-development-window{display:block;text-align:left}
.ccw-v08 .ccw-development-overview{display:grid;gap:14px;color:#dfeef3}
.ccw-v08 .ccw-development-overview-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:2px 2px 14px;border-bottom:1px solid rgba(132,190,210,.11)}
.ccw-v08 .ccw-development-overview-head h2{margin:5px 0 5px;font-size:25px;line-height:1.05;font-weight:620;color:#eff9fb}
.ccw-v08 .ccw-development-overview-head p{margin:0;color:#7895a1;font-size:10px;line-height:1.45}
.ccw-v08 .ccw-development-overview-head>strong{min-width:90px;padding:10px 12px;border:1px solid rgba(102,204,227,.18);background:rgba(37,108,126,.08);text-align:center;font:800 19px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#aee5ef}
.ccw-v08 .ccw-development-overview-head>strong small{display:block;margin-bottom:5px;font:850 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#668995}
.ccw-v08 .ccw-development-overview-head>strong.has-free{border-color:rgba(224,187,89,.24);background:rgba(103,77,20,.08);color:#e4c675}
.ccw-v08 .ccw-development-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ccw-v08 .ccw-development-columns>section{min-width:0;border:1px solid rgba(132,190,210,.11);background:rgba(5,14,20,.72);border-radius:11px;overflow:hidden}
.ccw-v08 .ccw-development-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-bottom:1px solid rgba(132,190,210,.09);background:rgba(255,255,255,.012)}
.ccw-v08 .ccw-development-section-head>div{display:grid;gap:3px}.ccw-v08 .ccw-development-section-head span{display:flex;align-items:center;gap:6px;font-size:9px;font-weight:900;letter-spacing:.11em;color:#a9cad3}.ccw-v08 .ccw-development-section-head span .ccw-ui-icon{width:14px;height:14px}.ccw-v08 .ccw-development-section-head b{font-size:8px;letter-spacing:.1em;color:#617e89}.ccw-v08 .ccw-development-section-head>strong{font:850 14px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#d8edf2}
.ccw-v08 .ccw-development-slot-list{display:grid;gap:0}
.ccw-v08 .ccw-development-project,.ccw-v08 .ccw-development-empty{appearance:none;width:100%;min-width:0;border:0;border-top:1px solid rgba(132,190,210,.07);background:transparent;color:inherit;text-align:left;cursor:pointer}
.ccw-v08 .ccw-development-slot-list>*:first-child{border-top:0}
.ccw-v08 .ccw-development-project{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 12px}
.ccw-v08 .ccw-development-project:hover,.ccw-v08 .ccw-development-empty:hover{background:rgba(99,195,220,.045)}
.ccw-v08 .ccw-development-project-copy{display:grid;gap:4px;min-width:0}.ccw-v08 .ccw-development-project-copy>b{font-size:10px;color:#dcecf1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ccw-v08 .ccw-development-project-copy>small{font-size:9px;color:#688793;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ccw-v08 .ccw-development-project-copy>i{height:3px;background:#10232b;overflow:hidden;border-radius:9px}.ccw-v08 .ccw-development-project-copy>i>em{display:block;height:100%;background:#62c7dc}
.ccw-v08 .ccw-development-project>strong{min-width:56px;text-align:right;font:850 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#9ddce8}.ccw-v08 .ccw-development-project>strong small{display:block;margin-top:5px;font:700 10px/1 ui-sans-serif,system-ui;color:#637f89}
.ccw-v08 .ccw-development-empty{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 12px;border-style:dashed;color:#7898a2}.ccw-v08 .ccw-development-empty>i{display:grid;place-items:center;width:25px;height:25px;border:1px dashed rgba(137,192,207,.20);border-radius:6px}.ccw-v08 .ccw-development-empty>span{display:grid;gap:3px}.ccw-v08 .ccw-development-empty b{font-size:9px;letter-spacing:.06em;color:#9cb6bd}.ccw-v08 .ccw-development-empty small{font-size:9px;color:#5f7a84}.ccw-v08 .ccw-development-empty em{font-style:normal;font-size:8px;font-weight:850;letter-spacing:.08em;color:#8bd5e4}
.ccw-v08 .ccw-development-full-note{padding:13px;color:#6d8791;font-size:9px}
.ccw-v08 .ccw-development-queue{border:1px solid rgba(132,190,210,.09);border-radius:9px;overflow:hidden}.ccw-v08 .ccw-development-queue>summary{display:flex;justify-content:space-between;padding:9px 11px;cursor:pointer;list-style:none;color:#758f99;font-size:9px;font-weight:850;letter-spacing:.1em}.ccw-v08 .ccw-development-queue>summary::-webkit-details-marker{display:none}.ccw-v08 .ccw-development-queue>summary b{color:#9ab4bc}.ccw-v08 .ccw-development-queue>div{border-top:1px solid rgba(132,190,210,.07)}
.ccw-v08 .ccw-development-footer,.ccw-v08 .ccw-development-hub-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.ccw-v08 .ccw-hub-development-overview{display:grid;gap:12px}.ccw-v08 .ccw-hub-development-overview .ccw-development-overview{margin:0}
.ccw-v08 .ccw-building-requirement{position:relative}.ccw-v08 .ccw-building-requirement button{appearance:none;margin-left:auto;border:0;background:transparent;color:#7fd1e1;font:850 10px/1 ui-sans-serif,system-ui;letter-spacing:.08em;cursor:pointer}.ccw-v08 .ccw-building-requirement button:hover{color:#c8f0f7}

@media(max-width:1180px) and (min-width:901px){
  .ccw-v08 .ccw-hud-development{padding-inline:7px!important}.ccw-v08 .ccw-hud-development>span{font-size:8px!important;letter-spacing:.06em!important}
}
@media(max-width:900px){
  .ccw-v08 .ccw-hud-actions .ccw-hud-development{height:27px!important;min-height:27px!important;position:relative;z-index:2}
  .ccw-v08 .ccw-mission-modal.is-development-window .ccw-mission-frame{width:96vw;padding:18px 14px}
  .ccw-v08 .ccw-development-columns{grid-template-columns:1fr}
  .ccw-v08 .ccw-development-overview-head{align-items:flex-start}.ccw-v08 .ccw-development-overview-head h2{font-size:21px}
}
@media(max-width:620px){
  .ccw-v08 .ccw-hud-development{padding:0 6px!important;gap:4px!important}.ccw-v08 .ccw-hud-development>span{font-size:0!important}.ccw-v08 .ccw-hud-development>span:after{content:'DEV';font-size:8px;letter-spacing:.06em}.ccw-v08 .ccw-hud-development>b{display:none!important}
  .ccw-v08 .ccw-development-overview-head{display:grid;grid-template-columns:1fr auto;gap:10px}.ccw-v08 .ccw-development-overview-head p{grid-column:1/-1}.ccw-v08 .ccw-development-project{grid-template-columns:25px minmax(0,1fr)}.ccw-v08 .ccw-development-project>strong{grid-column:2;text-align:left;display:flex;gap:7px;align-items:center}.ccw-v08 .ccw-development-project>strong small{margin:0}.ccw-v08 .ccw-development-empty{grid-template-columns:25px minmax(0,1fr)}.ccw-v08 .ccw-development-empty>em{grid-column:2}
}


/* v0.99.83 Council/Development responsibility split */
.ccw-v08 .ccw-council-glance-v2>button{appearance:none;min-width:0;padding:8px 7px;border:1px solid rgba(112,205,232,.16);background:rgba(112,205,232,.045);display:grid;gap:3px;text-align:left;cursor:pointer;color:inherit}
.ccw-v08 .ccw-council-glance-v2>button:hover{background:rgba(112,205,232,.08);border-color:rgba(112,205,232,.24)}
.ccw-v08 .ccw-council-glance-v2>button b{font:850 14px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#a9e2ed}.ccw-v08 .ccw-council-glance-v2>button small{font-size:10px;line-height:1.15;color:#6e8794;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}
.ccw-v08 .ccw-council-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.ccw-v08 .ccw-building-requirement button{grid-column:2;justify-self:end;margin-left:0}

/* v0.99.87 · paid CivID checkout inside Coinlization Hub */
.ccw-v08 .ccw-civ-purchase{display:grid;gap:7px;min-width:min(440px,100%)}.ccw-v08 .ccw-civ-purchase-manual{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:6px}.ccw-v08 .ccw-civ-purchase-manual input{min-width:0;height:34px;padding:0 9px;border:1px solid rgba(129,190,211,.17);border-radius:6px;background:#061018;color:#dceff4;font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.ccw-v08 .ccw-civ-purchase-manual input::placeholder{color:#5f7b87}.ccw-v08 .ccw-civid-intro-card aside .ccw-civ-purchase{align-items:stretch}.ccw-v08 .ccw-civid-intro-card aside .ccw-civ-purchase .ccw-btn{width:100%}
@media(max-width:700px){.ccw-v08 .ccw-civ-purchase-manual{grid-template-columns:1fr}.ccw-v08 .ccw-civ-purchase{min-width:0}}


/* ======================================================================
   v0.99.89 - First 10 Minutes onboarding
   One guided core loop: World → Missions → Council → Development → War/Season.
   ====================================================================== */
.ccw-v08 .ccw-onboarding{
  width:min(720px,calc(100vw - 28px))!important;
  padding:12px 13px!important;
  gap:16px!important;
  border-color:rgba(111,203,230,.24)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(5,15,22,.98),rgba(4,11,17,.98))!important;
  box-shadow:0 16px 44px rgba(0,0,0,.42)!important;
}
.ccw-v08 .ccw-onboarding-copy{min-width:0;display:grid;gap:3px}
.ccw-v08 .ccw-onboarding-copy>span{color:#7fcfe4!important;font-size:10px!important;letter-spacing:.13em!important}
.ccw-v08 .ccw-onboarding-copy>b{font-size:14px!important;margin:1px 0!important;line-height:1.2!important}
.ccw-v08 .ccw-onboarding-copy>small{font-size:10px!important;line-height:1.45!important;color:#8fa8b3!important}
.ccw-v08 .ccw-onboarding-progress{display:flex;gap:4px;margin-bottom:3px}
.ccw-v08 .ccw-onboarding-progress i{display:block;width:18px;height:2px;border-radius:99px;background:rgba(134,173,188,.16)}
.ccw-v08 .ccw-onboarding-progress i.is-done{background:rgba(111,203,230,.50)}
.ccw-v08 .ccw-onboarding-progress i.is-current{background:#84d8ec;box-shadow:0 0 8px rgba(132,216,236,.35)}
.ccw-v08 .ccw-onboarding-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.ccw-v08 .ccw-onboarding-actions .ccw-btn{min-height:34px!important;padding:7px 10px!important;font-size:10px!important}
.ccw-v08 .is-onboarding-target{position:relative;z-index:3;box-shadow:0 0 0 1px rgba(130,219,241,.48),0 0 20px rgba(88,193,220,.20)!important}
.ccw-v08 .ccw-tab.is-onboarding-target:after,
.ccw-v08 .ccw-command-button.is-onboarding-target:after{
  content:"";position:absolute;inset:-3px;border:1px solid rgba(126,218,240,.34);border-radius:inherit;pointer-events:none;animation:ccw-onboarding-pulse 1.8s ease-in-out infinite
}
@keyframes ccw-onboarding-pulse{0%,100%{opacity:.35;transform:scale(1)}50%{opacity:.9;transform:scale(1.025)}}
@media(max-width:640px){
  .ccw-v08 .ccw-onboarding{gap:10px!important}
  .ccw-v08 .ccw-onboarding-actions{width:100%;justify-content:space-between}
  .ccw-v08 .ccw-onboarding-actions .ccw-btn{flex:1 1 auto}
}

/* ======================================================================
   v0.99.91 - World #1 forming gate
   The first World has no fake countdown: 10 genuinely World-ready
   Coinlizations are required before the 12-hour Gate timer can begin.
   ====================================================================== */
.ccw-v08 .ccw-qual-banner.is-forming{
  border-color:rgba(112,205,232,.22)!important;
  background:linear-gradient(135deg,rgba(10,28,38,.96),rgba(7,17,24,.98))!important;
}
.ccw-v08 .ccw-qual-timer.is-waiting b{color:#9edfee!important}
.ccw-v08 .ccw-forming-progress{
  width:min(520px,100%);
  height:5px;
  margin-top:10px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(126,189,210,.10);
  border:1px solid rgba(126,189,210,.08);
}
.ccw-v08 .ccw-forming-progress>i{
  display:block;
  height:100%;
  min-width:0;
  border-radius:inherit;
  background:linear-gradient(90deg,#69bcd6,#8fe1c3);
  box-shadow:0 0 18px rgba(112,205,232,.24);
}
.ccw-v08 .ccw-forming-progress.is-large{height:7px;margin-top:15px}
.ccw-v08 .ccw-season-forming-hero .ccw-season-clock small{
  display:block;
  margin-top:5px;
  color:#718d9b;
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ccw-v08 .ccw-season-forming-rules{
  display:grid;
  grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);
  gap:18px;
  padding:15px 17px;
  border:1px solid rgba(132,190,210,.11);
  background:rgba(7,17,24,.72);
}
.ccw-v08 .ccw-season-forming-rules>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ccw-v08 .ccw-season-forming-rules span{width:100%;font-size:9px;font-weight:900;letter-spacing:.12em;color:#6f8d9a}
.ccw-v08 .ccw-season-forming-rules b{padding:6px 8px;border:1px solid rgba(119,194,218,.12);background:rgba(119,194,218,.045);color:#b9dce5;font-size:9px;letter-spacing:.05em}
.ccw-v08 .ccw-season-forming-rules p{margin:0;align-self:center;color:#839da8;font-size:10px;line-height:1.55}
@media(max-width:760px){
  .ccw-v08 .ccw-season-forming-rules{grid-template-columns:1fr}
}


/* ======================================================================
   v0.99.94 - The Founding lifecycle rail
   One persistent answer to: has the World started, what are we waiting for,
   and when does the next phase happen?
   ====================================================================== */
.ccw-v08 .ccw-world-lifecycle{
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 14px;
  border-bottom:1px solid rgba(132,190,210,.10);
  background:linear-gradient(90deg,rgba(5,14,20,.99),rgba(7,18,25,.97));
  color:#c9dce3;
}
.ccw-v08 .ccw-world-lifecycle-copy{min-width:0;display:flex;align-items:center;gap:9px;white-space:nowrap;overflow:hidden}
.ccw-v08 .ccw-world-lifecycle-copy>i{width:7px;height:7px;border-radius:50%;background:#718995;box-shadow:0 0 0 3px rgba(113,137,149,.08);flex:0 0 auto}
.ccw-v08 .ccw-world-lifecycle-copy>span{font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.13em;color:#8199a4;flex:0 0 auto}
.ccw-v08 .ccw-world-lifecycle-copy>b{font:900 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;color:#edf7fa;flex:0 0 auto}
.ccw-v08 .ccw-world-lifecycle-copy>small{min-width:0;overflow:hidden;text-overflow:ellipsis;font:600 10px/1.2 ui-sans-serif,system-ui;color:#6f8995}
.ccw-v08 .ccw-world-lifecycle>button{appearance:none;border:0;background:transparent;color:#7cbfd1;font:900 10px/1 ui-sans-serif,system-ui;letter-spacing:.12em;cursor:pointer;padding:8px 4px;flex:0 0 auto}
.ccw-v08 .ccw-world-lifecycle>button:hover,.ccw-v08 .ccw-world-lifecycle>button:focus-visible{color:#c9f0f7;outline:none}
.ccw-v08 .ccw-world-lifecycle.is-forming .ccw-world-lifecycle-copy>i{background:#d3a95a;box-shadow:0 0 0 3px rgba(211,169,90,.10)}
.ccw-v08 .ccw-world-lifecycle.is-gate .ccw-world-lifecycle-copy>i{background:#70cde5;box-shadow:0 0 0 3px rgba(112,205,229,.11)}
.ccw-v08 .ccw-world-lifecycle.is-setup .ccw-world-lifecycle-copy>i{background:#b7a0e9;box-shadow:0 0 0 3px rgba(183,160,233,.10)}
.ccw-v08 .ccw-world-lifecycle.is-live .ccw-world-lifecycle-copy>i{background:#6fd49a;box-shadow:0 0 0 3px rgba(111,212,154,.10)}
@media(max-width:900px){
  .ccw-v08 .ccw-world-lifecycle{padding:0 9px;gap:6px}
  .ccw-v08 .ccw-world-lifecycle-copy{gap:6px}
  .ccw-v08 .ccw-world-lifecycle-copy>small{display:none}
  .ccw-v08 .ccw-world-lifecycle-copy>span{font-size:7.5px;letter-spacing:.08em}
  .ccw-v08 .ccw-world-lifecycle-copy>b{font-size:9px}
}
@media(max-width:560px){
  .ccw-v08 .ccw-world-lifecycle-copy>span{max-width:52vw;overflow:hidden;text-overflow:ellipsis}
  .ccw-v08 .ccw-world-lifecycle>button{font-size:0}
  .ccw-v08 .ccw-world-lifecycle>button:after{content:'→';font-size:13px}
}


/* v0.99.96 - funding and founder signatures are independent launch gates. */
.ccw-v08 .ccw-launch-funded,.ccw-v08 .ccw-launch-founder{margin-top:10px;padding:10px 11px;border:1px solid rgba(123,191,211,.12);background:rgba(7,18,25,.62);display:flex;align-items:center;justify-content:space-between;gap:10px}
.ccw-v08 .ccw-launch-funded b{color:#83dca8;font-size:10px;letter-spacing:.09em}.ccw-v08 .ccw-launch-funded span,.ccw-v08 .ccw-launch-founder span{color:#77939f;font-size:10px;line-height:1.4}
.ccw-v08 .ccw-launch-founder.is-signed{border-color:rgba(105,216,154,.20);background:rgba(38,91,67,.09)}.ccw-v08 .ccw-launch-founder.is-signed b{color:#8eddb0;font-size:10px;letter-spacing:.08em}
@media(max-width:700px){.ccw-v08 .ccw-launch-funded,.ccw-v08 .ccw-launch-founder{align-items:flex-start;flex-direction:column}}

/* ======================================================================
   v0.99.98 - UI interaction hardening + screenshot polish
   ====================================================================== */
.ccw-v08 .ccw-onboarding[hidden]{display:none!important}

/* World map/status copy should read like finished UI rather than debug telemetry. */
.ccw-v08 .ccw-world-overlay-left{
  min-width:276px;
  max-width:min(360px,42vw)!important;
  padding:10px 12px!important;
  gap:4px!important;
  border-radius:10px!important;
}
.ccw-v08 .ccw-world-overlay-left .ccw-kicker{font-size:9px!important;letter-spacing:.18em!important}
.ccw-v08 .ccw-world-overlay-left strong{font-size:16px!important;letter-spacing:.07em!important;line-height:1.05!important}
.ccw-v08 .ccw-world-overlay-left .ccw-world-meta{font-size:9px!important;line-height:1.35!important;color:#7695a2!important;letter-spacing:.08em!important}
.ccw-v08 .ccw-world-overlay-left #ccw-selected-label{margin-top:2px;color:#8aa5b1!important}
.ccw-v08 .ccw-context-drawer .ccw-panel-head{padding-right:0!important}
.ccw-v08 .ccw-context-drawer .ccw-panel-head::after{display:none!important}
.ccw-v08 .ccw-context-drawer .ccw-context-label>small{opacity:.72}

/* CivPass and World Hub are the two persistent identity/world utility destinations. */
.ccw-v08 .ccw-hud-main .ccw-hud-worldhub{
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:52px;
  min-width:52px;
  height:38px!important;
  padding:4px 7px;
  border:1px solid rgba(112,213,239,.15);
  border-radius:8px;
  background:rgba(112,213,239,.035);
  color:inherit!important;
  text-decoration:none!important;
  white-space:nowrap;
}
.ccw-v08 .ccw-hud-main .ccw-hud-worldhub small{font-size:7px!important;line-height:1!important;letter-spacing:.12em!important;color:#668692!important;font-weight:900}
.ccw-v08 .ccw-hud-main .ccw-hud-worldhub b{margin-top:4px;font-size:9px;line-height:1;color:#bfe9f3;letter-spacing:.08em}
.ccw-v08 .ccw-hud-main .ccw-hud-worldhub:hover{border-color:rgba(112,213,239,.36);background:rgba(112,213,239,.08)}

/* Council create flow: prevent theme H2/button defaults from leaking into the game modal. */
.ccw-v08 .ccw-council-create{
  min-height:0!important;
  padding:2px 0!important;
  color:#dcebf0;
}
.ccw-v08 .ccw-council-create>.ccw-kicker{display:block;margin-bottom:8px}
.ccw-v08 .ccw-council-create>h2{
  max-width:720px;
  margin:0!important;
  color:#edf7fa!important;
  font:650 clamp(28px,4vw,46px)/1.02 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:-.045em!important;
}
.ccw-v08 .ccw-council-create>p{max-width:680px;margin:12px 0 0!important;color:#839da8!important;font-size:11px!important;line-height:1.55!important}
.ccw-v08 .ccw-council-create-grid{gap:10px!important;margin-top:22px!important}
.ccw-v08 .ccw-council-create-grid button{
  appearance:none;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  grid-template-areas:"icon title" "icon copy" "icon action";
  align-content:start;
  gap:5px 10px;
  min-height:130px!important;
  padding:17px!important;
  border:1px solid rgba(132,195,216,.14)!important;
  border-radius:12px!important;
  background:linear-gradient(155deg,rgba(10,23,31,.98),rgba(6,15,21,.98))!important;
  color:#dcebf0!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018);
  cursor:pointer;
}
.ccw-v08 .ccw-council-create-grid button:hover{border-color:rgba(102,211,240,.40)!important;background:linear-gradient(155deg,rgba(12,31,41,.98),rgba(7,18,24,.98))!important;transform:translateY(-1px)}
.ccw-v08 .ccw-council-create-grid button>i{grid-area:icon;display:grid;place-items:center;width:26px;height:26px;color:#80d6ea;font-style:normal}
.ccw-v08 .ccw-council-create-grid button>b{grid-area:title;margin:1px 0 0!important;font-size:11px!important;letter-spacing:.055em;color:#edf7fa!important}
.ccw-v08 .ccw-council-create-grid button>span{grid-area:copy;color:#78939f!important;font-size:10px!important;line-height:1.45!important}
.ccw-v08 .ccw-council-create-grid button>em{grid-area:action;align-self:end;margin-top:8px!important;color:#8bdcf0!important;font-size:9px!important}

/* Larger close targets and touch hit areas without making the chrome visually bulky. */
.ccw-v08 .ccw-mission-close{width:40px!important;height:40px!important;right:12px!important;top:9px!important}
.ccw-v08 .ccw-map-legend-panel [data-legend-close],
.ccw-v08 .ccw-map-context [data-context-close],
.ccw-v08 .ccw-tile-quick [data-quick-close]{min-width:40px!important;min-height:40px!important;display:inline-grid!important;place-items:center!important}

/* The v0.99.74 desktop toolbar compacting should not shrink tablet/touch controls. */
@media(min-width:761px) and (max-width:900px){
  .ccw-v08 .ccw-map-tool{height:40px!important;min-width:40px!important;min-height:40px!important;padding:0 10px!important;font-size:10px!important}
  .ccw-v08 .ccw-zoom-tier{min-width:64px!important}
  .ccw-v08 #ccw-fit-map,.ccw-v08 #ccw-center-map,.ccw-v08 #ccw-fullscreen-map{font-size:9px!important}
}
@media(pointer:coarse){
  .ccw-v08 .ccw-command-button,
  .ccw-v08 .ccw-layer-menu summary,
  .ccw-v08 .ccw-layer-menu-popover button,
  .ccw-v08 .ccw-council-tabs button{min-height:42px!important}
}
@media(max-width:900px){
  .ccw-v08 .ccw-hud-main .ccw-hud-worldhub{width:44px;min-width:44px;height:34px!important;padding-inline:4px}
  .ccw-v08 .ccw-hud-main .ccw-hud-worldhub small{display:none}
  .ccw-v08 .ccw-hud-main .ccw-hud-worldhub b{margin-top:0;font-size:8px}
}
@media(max-width:600px){
  .ccw-v08 .ccw-world-overlay-left{min-width:0;max-width:64vw!important;padding:8px 9px!important}
  .ccw-v08 .ccw-world-overlay-left strong{font-size:13px!important}
  .ccw-v08 .ccw-world-overlay-left .ccw-world-meta{font-size:8px!important}
  .ccw-v08 .ccw-council-create>h2{font-size:30px!important}
  .ccw-v08 .ccw-council-create-grid button{min-height:112px!important}
}

/* ======================================================================
   v0.99.99 - onboarding routing + medium-screen bottom navigation restore
   ====================================================================== */
.ccw-v08 .is-onboarding-arrival{
  animation:ccw-onboarding-arrival 1.35s ease-out 1;
}
@keyframes ccw-onboarding-arrival{
  0%{box-shadow:0 0 0 0 rgba(126,218,240,.0)}
  22%{box-shadow:0 0 0 2px rgba(126,218,240,.62),0 0 34px rgba(88,193,220,.20)}
  100%{box-shadow:0 0 0 1px rgba(126,218,240,0),0 0 0 rgba(88,193,220,0)}
}

/* v0.99.104: erroneous desktop bottom-navigation override retired. */
@media(prefers-reduced-motion:reduce){.ccw-v08 .is-onboarding-arrival{animation:none!important}}

/* v0.99.100 - mission hardening + interaction polish */
.ccw-v08 .ccw-mission-list button{min-height:52px}
.ccw-v08 .ccw-game-controls button.is-active{border-color:rgba(117,211,244,.72);background:rgba(117,211,244,.12);color:#e7f8ff;box-shadow:inset 0 0 0 1px rgba(117,211,244,.12)}
.ccw-v08 .ccw-mission-result.is-cancelled h2{color:#e5ba6a}
.ccw-v08 .ccw-mission-result.is-cancelled .ccw-kicker{color:#e5ba6a}
.ccw-v08 .ccw-war-picker button span{line-height:1.45;text-align:right}
@media(max-width:700px){.ccw-v08 .ccw-mission-menu-grid{grid-template-columns:1fr}.ccw-v08 .ccw-war-picker button{align-items:flex-start;gap:8px;flex-direction:column}.ccw-v08 .ccw-war-picker button span{text-align:left}}


/* ======================================================================
   v0.99.102 - primary dock stacking + full hitbox repair
   The standalone desktop rules from v0.99.72 used a more-specific selector
   with !important and were therefore still forcing the primary navigation
   back into the HUD. Override that exact path after all legacy rules so the
   dock is genuinely viewport-fixed. Make the full visible tab the hit target.
   ====================================================================== */
/* v0.99.104: desktop fixed-dock rules retired; primary nav stays in the HUD. */
@media(max-width:900px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs{
    z-index:180!important;
    pointer-events:auto!important;
    min-height:56px!important;
    align-items:stretch!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab{
    position:relative!important;
    z-index:2!important;
    min-height:46px!important;
    height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab > *{
    pointer-events:none!important;
  }
}


/* ======================================================================
   v0.99.104 - restore primary HUD navigation + dedicated page-scroll rail
   WORLD / COINLIZATION / WAR / SEASON belong in the header. The small bar
   at the bottom of the World is only an escape surface for page scrolling,
   so wheel input there scrolls the document instead of zooming the globe.
   ====================================================================== */
@media(min-width:901px){
  html body.ccw-standalone-page #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs,
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs{
    position:absolute!important;
    z-index:30!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:auto!important;
    min-width:0!important;
    min-height:44px!important;
    margin:0!important;
    padding:3px!important;
    display:flex!important;
    align-items:stretch!important;
    justify-content:center!important;
    gap:0!important;
    overflow:visible!important;
    pointer-events:auto!important;
    border:1px solid rgba(142,194,214,.08)!important;
    border-radius:11px!important;
    background:rgba(255,255,255,.018)!important;
    box-shadow:none!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab{
    position:relative!important;
    z-index:2!important;
    flex:0 1 auto!important;
    width:auto!important;
    min-width:104px!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    cursor:pointer!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab > *{pointer-events:none!important}
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-layout{padding-bottom:0!important}
  html body.ccw-standalone-page #civcoin-world.ccw-shell.ccw-v08[data-active-view]:not([data-active-view="world"]) .ccw-layout{padding-bottom:12px!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-onboarding{bottom:18px!important}
}

/* v0.99.105 - restore the classic scroll-escape strip.
   This is deliberately NOT a custom scrollbar and does not simulate scrolling.
   Hovering it simply keeps wheel input out of globe zoom so the browser can
   scroll the document naturally, as the older World UI did. */



/* ======================================================================
   v0.99.108 - scrollable desktop World surface
   WORLD keeps the viewport-fit shell from v0.99.106, but the document is
   allowed to scroll whenever map/UI content protrudes below the viewport.
   The native browser scrollbar is visually hidden on desktop World only;
   wheel/trackpad/keyboard scrolling remains native and available. Normal wheel input over the globe is handed back to the page in v0.99.109.
   ====================================================================== */
@media(min-width:901px){
  html.ccw-world-scroll-mode,
  body.ccw-standalone-page.ccw-world-scroll-mode{
    height:auto!important;
    min-height:100dvh!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    scrollbar-width:none!important;
  }
  html.ccw-world-scroll-mode::-webkit-scrollbar,
  body.ccw-standalone-page.ccw-world-scroll-mode::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
  }
  body.ccw-standalone-page.ccw-world-scroll-mode #ccw-standalone-root{
    height:auto!important;
    min-height:100dvh!important;
    overflow-y:visible!important;
  }
  body.ccw-standalone-page.ccw-world-scroll-mode #civcoin-world.ccw-shell.ccw-v08{
    height:auto!important;
    min-height:100dvh!important;
    overflow-y:visible!important;
  }
}


/* ======================================================================
   v0.99.106 - production World viewport shell
   The desktop World now measures the real HUD + lifecycle chrome and fits the
   core map/sidebar into the remaining dynamic viewport. The old 62px layout
   assumption and passive page-scroll strip are intentionally superseded.
   ====================================================================== */
@media(min-width:901px){
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-layout{
    /* The first map viewport still fills the remaining screen, but the layout itself
       must stay in normal document flow. Command Center / World Pulse can then extend
       below the fold without overlapping Developer / Test Mode. */
    height:auto!important;
    min-height:calc(100dvh - var(--ccw-world-chrome-h,130px))!important;
    max-height:none!important;
    overflow:visible!important;
    align-items:start!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-main{
    min-height:0!important;
    overflow:visible!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-map-viewport{
    height:calc(100dvh - var(--ccw-world-chrome-h,130px))!important;
    min-height:0!important;
    max-height:none!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-sidebar,
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-context-sidebar{
    height:calc(100dvh - var(--ccw-world-chrome-h,130px))!important;
    min-height:0!important;
    max-height:calc(100dvh - var(--ccw-world-chrome-h,130px))!important;
    align-self:start!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-footer-note{display:none!important}

  /* Functional desktop UI text: 10px is the hard readability floor. */
  .ccw-v08 .ccw-hud-main .ccw-brand-copy>span,
  .ccw-v08 .ccw-hud-main .ccw-hud-civrank small,
  .ccw-v08 .ccw-hud-main .ccw-test-badge,
  .ccw-shell.ccw-v08 .ccw-hud-resources-bar small,
  .ccw-v08 .ccw-hud-actions .ccw-command-button>span,
  .ccw-v08 .ccw-map-tool,
  .ccw-v08 .ccw-zoom-label,
  .ccw-v08 .ccw-context-label>span,
  .ccw-v08 .ccw-context-label>small,
  .ccw-v08 .ccw-world-lifecycle-copy>span,
  .ccw-v08 .ccw-world-lifecycle-copy>small,
  .ccw-v08 .ccw-world-lifecycle>button{font-size:10px!important}

  /* Compact-height laptops keep every gameplay currency/action visible. */
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-hud-main{min-height:54px!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-hud-main .ccw-brand-lockup{min-height:54px!important;padding-block:5px!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-hud-main .ccw-brand-copy>span{display:none!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-hud-action-rail{min-height:32px!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-hud-resources-bar,
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-hud-resources-bar>span{height:30px!important;min-height:30px!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-hud-actions .ccw-command-button{height:26px!important;min-height:26px!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-world-lifecycle{min-height:28px!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-world-lifecycle-copy>small{display:none!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-map-tools{top:10px!important;right:10px!important}
  #civcoin-world.ccw-shell.ccw-v08.ccw-compact-height .ccw-command-panel{padding:12px!important}
}


/* ======================================================================
   v0.99.109 - World wheel handoff + below-map document flow
   The globe no longer traps ordinary wheel/trackpad scrolling. The World
   grid also grows with Command Center / World Pulse, keeping admin tools
   below gameplay instead of allowing them to overlap overflow content.
   ====================================================================== */
@media(min-width:901px){
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] #ccw-map-card{
    overflow:hidden!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] #ccw-dev-tools{
    position:relative!important;
    clear:both!important;
    z-index:1!important;
  }
}


/* ======================================================================
   v0.99.110 - spatial wheel zones + visible page-scroll affordance
   The map viewport is the only wheel-zoom zone. HUD, World Command and all
   content outside the viewport remain ordinary document scroll surfaces.
   A slim native scrollbar is intentionally visible at the far right so the
   player can see both that more content exists and their position on the page.
   ====================================================================== */
@media(min-width:901px){
  /* Do not let World Command become a second competing scroll container. */
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-sidebar,
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-context-sidebar{
    height:auto!important;
    min-height:calc(100dvh - var(--ccw-world-chrome-h,130px))!important;
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
    scrollbar-gutter:auto!important;
  }

  /* Restore a real, slim document scrollbar in World instead of hiding it. */
  html.ccw-world-scroll-mode,
  body.ccw-standalone-page.ccw-world-scroll-mode{
    overflow-y:auto!important;
    scrollbar-width:thin!important;
    scrollbar-color:rgba(112,201,226,.52) rgba(3,11,16,.92)!important;
  }
  html.ccw-world-scroll-mode::-webkit-scrollbar,
  body.ccw-standalone-page.ccw-world-scroll-mode::-webkit-scrollbar{
    width:9px!important;
    height:9px!important;
    display:block!important;
  }
  html.ccw-world-scroll-mode::-webkit-scrollbar-track,
  body.ccw-standalone-page.ccw-world-scroll-mode::-webkit-scrollbar-track{
    background:rgba(3,11,16,.92)!important;
    border-left:1px solid rgba(114,188,211,.10)!important;
  }
  html.ccw-world-scroll-mode::-webkit-scrollbar-thumb,
  body.ccw-standalone-page.ccw-world-scroll-mode::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,rgba(119,209,234,.58),rgba(73,142,165,.48))!important;
    border:2px solid rgba(3,11,16,.92)!important;
    border-radius:999px!important;
  }
  html.ccw-world-scroll-mode::-webkit-scrollbar-thumb:hover,
  body.ccw-standalone-page.ccw-world-scroll-mode::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg,rgba(140,221,243,.76),rgba(84,161,186,.66))!important;
  }
}


/* ======================================================================
   v0.99.111 - below-fold World content spans full layout width
   World Command remains beside the globe in the first viewport row, but
   the command center / world pulse continue beneath the map as full-width
   sections instead of leaving an empty right-hand gutter under the sidebar.
   ====================================================================== */
@media(min-width:901px){
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-layout>.ccw-layout-span,
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-layout>#ccw-faction-command-center,
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-layout>#ccw-world-pulse{
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    align-self:start!important;
  }
}


/* ======================================================================
   v0.99.112 - primary navigation hit-target hardening
   The centered desktop navigation looked large enough, but late HUD rules
   compressed the actual button hit areas. Keep the visible design compact
   while making the whole cell a reliable click/tap target.
   ====================================================================== */
@media(min-width:901px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tabs{
    min-height:52px!important;
    padding:3px!important;
    overflow:visible!important;
    isolation:isolate;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab{
    position:relative!important;
    z-index:2!important;
    min-height:46px!important;
    min-width:108px!important;
    padding:0 16px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab[data-view="faction"]{
    min-width:146px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab[data-view="wars"]{
    min-width:104px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab>span,
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab svg,
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab .ccw-static-ui-icon{
    pointer-events:none!important;
  }
}
@media(min-width:901px) and (max-width:1180px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab{
    min-width:96px!important;
    padding-inline:11px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-tab[data-view="faction"]{
    min-width:130px!important;
  }
}


/* ======================================================================
   v0.99.113 - deterministic primary-nav hit plane
   Some desktop HUD layers could still sit above the visual middle tabs even
   though the buttons themselves were correctly sized. Give the complete nav
   strip its own top interaction plane so COINLIZATION / WAR are clickable over
   their entire visible rectangles, exactly like WORLD / SEASON.
   ====================================================================== */
@media(min-width:901px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs{
    position:absolute!important;
    z-index:1000!important;
    pointer-events:auto!important;
    isolation:isolate!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab{
    z-index:1!important;
    pointer-events:auto!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab > *{
    pointer-events:none!important;
  }
}


/* ======================================================================
   v0.99.114 - primary-nav cursor + hover affordance parity
   The v0.99.113 coordinate hit repair made every visible nav cell clickable,
   but an overlapping transparent HUD layer could still show the default arrow
   over COINLIZATION / WAR. Mirror the repaired hit plane in cursor + hover UI.
   ====================================================================== */
@media(min-width:901px){
  html.ccw-primary-nav-cursor,
  html.ccw-primary-nav-cursor body,
  html.ccw-primary-nav-cursor body *{cursor:pointer!important;}

  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab.is-hit-hover:not(.is-active){
    color:#c7d9df!important;
    background:rgba(255,255,255,.035)!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab.is-hit-hover .ccw-tab-icon{
    color:#d1e9f0!important;
  }
}

/* ======================================================================
   v0.99.115 - Real World Dynasty anchors / Claim eligibility
   ====================================================================== */
.ccw-real-world-legacy{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0 14px;padding:12px 14px;border:1px solid rgba(111,154,174,.20);border-radius:12px;background:linear-gradient(135deg,rgba(8,20,27,.94),rgba(5,13,18,.98))}
.ccw-real-world-legacy>div{min-width:0;display:grid;gap:3px}.ccw-real-world-legacy span{font-size:10px;font-weight:900;letter-spacing:.13em;color:#7fa4b3}.ccw-real-world-legacy b{font-size:13px;color:#e9f7fb}.ccw-real-world-legacy small{font-size:10px;line-height:1.45;color:#91aab4;max-width:760px}.ccw-real-world-legacy>em{font-style:normal;flex:0 0 auto;padding:6px 9px;border-radius:999px;border:1px solid rgba(121,160,175,.22);font-size:9px;font-weight:900;letter-spacing:.12em;color:#93afba;background:rgba(102,137,150,.07)}
.ccw-real-world-legacy.is-ready{border-color:rgba(92,207,151,.34);box-shadow:inset 3px 0 0 rgba(92,207,151,.70)}.ccw-real-world-legacy.is-ready span,.ccw-real-world-legacy.is-ready>em{color:#73d8a4}.ccw-real-world-legacy.is-active{border-color:rgba(100,196,232,.42);box-shadow:inset 3px 0 0 rgba(100,196,232,.78),0 0 28px rgba(75,172,207,.07)}.ccw-real-world-legacy.is-active span,.ccw-real-world-legacy.is-active>em{color:#86daf4}.ccw-real-world-legacy.is-cooldown{border-color:rgba(225,177,93,.32);box-shadow:inset 3px 0 0 rgba(225,177,93,.68)}.ccw-real-world-legacy.is-cooldown span,.ccw-real-world-legacy.is-cooldown>em{color:#e0b468}
.ccw-dynasty-anchor{display:inline-flex!important;width:max-content;margin-top:5px;padding:4px 7px;border-radius:999px;font-style:normal!important;font-size:9px!important;font-weight:900!important;letter-spacing:.11em!important}.ccw-dynasty-anchor.is-available{color:#76d9a7!important;border:1px solid rgba(90,211,153,.36);background:rgba(61,164,113,.10)}.ccw-dynasty-anchor.is-linked{color:#dfc36f!important;border:1px solid rgba(225,196,101,.34);background:rgba(174,139,50,.10)}


/* v0.99.116 - item-specific regalia markers so same-slot unlocks stay visually distinct */
.ccw-regalia-item-iconwrap{position:relative;display:grid;place-items:center}
.ccw-regalia-item-iconwrap>.ccw-regalia-icon{display:block}
.ccw-regalia-item-mark{position:absolute;right:-2px;bottom:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:linear-gradient(180deg,#f2d269,#c9972c);border:1px solid rgba(6,12,15,.72);box-shadow:0 4px 10px rgba(0,0,0,.30);color:#071116;font-size:9px;font-weight:900;letter-spacing:.08em;line-height:1;z-index:2}
.ccw-regalia-card-art-icon .ccw-regalia-item-iconwrap{width:58px;height:58px}
.ccw-regalia-card-art-icon .ccw-regalia-item-mark{right:-4px;bottom:-4px;min-width:24px;height:20px;font-size:9px}
.ccw-regalia-equipped-icon .ccw-regalia-item-mark{right:-5px;bottom:-5px;min-width:18px;height:16px;font-size:8px;padding:0 4px}
.ccw-regalia-item>i .ccw-regalia-item-mark,.ccw-public-regalia i .ccw-regalia-item-mark,.ccw-own-regalia i .ccw-regalia-item-mark,.ccw-legacy-unlock-icon .ccw-regalia-item-mark,.ccw-regalia-editor-meta>i .ccw-regalia-item-mark{right:-4px;bottom:-4px;min-width:18px;height:16px;font-size:8px;padding:0 4px}
@media(max-width:560px){.ccw-regalia-card-art-icon .ccw-regalia-item-mark{min-width:22px;height:18px;font-size:8px}}


/* v0.99.117 - authored per-item Regalia SVGs */
.ccw-regalia-item-svg{filter:drop-shadow(0 3px 6px rgba(0,0,0,.20))}
.ccw-regalia-card-art-icon .ccw-regalia-item-svg{width:62px;height:62px}
.ccw-regalia-option.is-current .ccw-regalia-item-svg .ccw-regalia-icon-gold{stroke:#f4d878}
.ccw-regalia-equipped-slot.is-filled .ccw-regalia-item-svg .ccw-regalia-icon-gold{stroke:#efd47b}
.ccw-regalia-item-svg.is-item-worldspire,.ccw-regalia-item-svg.is-item-celestial_ring,.ccw-regalia-item-svg.is-item-eternal_standard{filter:drop-shadow(0 0 7px rgba(118,207,226,.16))}


/* ======================================================================
   v0.99.119 - gameplay-shell fullscreen
   Fullscreen now keeps the complete gameplay HUD visible (Energy / Votes /
   Influence / Reward Points + command actions) instead of fullscreening only
   the map card. Below-fold World sections are hidden while fullscreen is active
   so the first gameplay row can use all remaining screen height.
   ====================================================================== */
#civcoin-world.ccw-shell:fullscreen,
#civcoin-world.ccw-shell:-webkit-full-screen{
  width:100vw!important;
  height:100dvh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#02070b!important;
}
#civcoin-world.ccw-shell:fullscreen>.ccw-game-hud,
#civcoin-world.ccw-shell:-webkit-full-screen>.ccw-game-hud,
#civcoin-world.ccw-shell:fullscreen>.ccw-world-lifecycle,
#civcoin-world.ccw-shell:-webkit-full-screen>.ccw-world-lifecycle{
  flex:0 0 auto!important;
}
#civcoin-world.ccw-shell:fullscreen>.ccw-layout,
#civcoin-world.ccw-shell:-webkit-full-screen>.ccw-layout{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
}
#civcoin-world.ccw-shell:fullscreen>.ccw-layout>.ccw-main,
#civcoin-world.ccw-shell:-webkit-full-screen>.ccw-layout>.ccw-main,
#civcoin-world.ccw-shell:fullscreen>.ccw-layout>.ccw-context-sidebar,
#civcoin-world.ccw-shell:-webkit-full-screen>.ccw-layout>.ccw-context-sidebar{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}
#civcoin-world.ccw-shell:fullscreen #ccw-map-card,
#civcoin-world.ccw-shell:-webkit-full-screen #ccw-map-card{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}
#civcoin-world.ccw-shell:fullscreen #ccw-map-viewport,
#civcoin-world.ccw-shell:-webkit-full-screen #ccw-map-viewport{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}
#civcoin-world.ccw-shell:fullscreen>.ccw-layout>.ccw-layout-span,
#civcoin-world.ccw-shell:-webkit-full-screen>.ccw-layout>.ccw-layout-span,
#civcoin-world.ccw-shell:fullscreen #ccw-faction-command-center,
#civcoin-world.ccw-shell:-webkit-full-screen #ccw-faction-command-center,
#civcoin-world.ccw-shell:fullscreen #ccw-world-pulse,
#civcoin-world.ccw-shell:-webkit-full-screen #ccw-world-pulse,
#civcoin-world.ccw-shell:fullscreen #ccw-dev-tools,
#civcoin-world.ccw-shell:-webkit-full-screen #ccw-dev-tools,
#civcoin-world.ccw-shell:fullscreen>.ccw-footer-note,
#civcoin-world.ccw-shell:-webkit-full-screen>.ccw-footer-note{
  display:none!important;
}
#civcoin-world.ccw-shell:fullscreen .ccw-context-sidebar,
#civcoin-world.ccw-shell:-webkit-full-screen .ccw-context-sidebar{
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}


/* v0.99.125 - mission balance pass: Development crew routing + Frontline ready countdown */
.ccw-v08 .ccw-dev-crew-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:620px;width:100%;justify-self:center}
.ccw-v08 .ccw-dev-crew-btn{appearance:none;min-height:48px;border-radius:11px;border:1px solid rgba(91,190,219,.24);background:linear-gradient(180deg,rgba(22,57,70,.48),rgba(7,22,29,.80));color:#dff6fb;font-size:11px;font-weight:900;letter-spacing:.07em;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;transition:transform .12s ease,border-color .12s ease,background .12s ease}
.ccw-v08 .ccw-dev-crew-btn small{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:rgba(111,200,225,.10);color:#7cc8da;font-size:9px}
.ccw-v08 .ccw-dev-crew-btn:hover{transform:translateY(-1px);border-color:rgba(103,213,239,.48);background:linear-gradient(180deg,rgba(31,76,91,.60),rgba(9,28,36,.88))}
.ccw-v08 .ccw-dev-crew-btn.is-hit{border-color:#6be0b0;background:rgba(62,181,132,.25)}
.ccw-v08 .ccw-dev-crew-btn.is-near{border-color:#f0ce72;background:rgba(183,142,48,.22)}
.ccw-v08 .ccw-dev-crew-btn.is-miss,.ccw-v08 .ccw-dev-crew-btn.is-wrong{border-color:#ed8170;background:rgba(181,67,51,.25)}
.ccw-v08 .ccw-dev-rounds i.is-wrong{background:#d06f92;box-shadow:0 0 8px rgba(208,111,146,.22)}
.ccw-v08 .ccw-frontline-stage{position:relative}
.ccw-v08 .ccw-frontline-countdown{position:absolute;inset:0;z-index:4;display:grid;place-content:center;text-align:center;border-radius:12px;background:rgba(4,13,18,.86);backdrop-filter:blur(3px);pointer-events:none}
.ccw-v08 .ccw-frontline-countdown[hidden]{display:none!important}
.ccw-v08 .ccw-frontline-countdown span{font-size:10px;font-weight:900;letter-spacing:.18em;color:#84bccc}
.ccw-v08 .ccw-frontline-countdown b{font-size:52px;line-height:1;color:#effbff;text-shadow:0 0 24px rgba(105,207,236,.40);margin-top:7px}
@media(max-width:620px){.ccw-v08 .ccw-dev-crew-grid{grid-template-columns:1fr}.ccw-v08 .ccw-dev-crew-btn{min-height:42px}}
/* v0.99.127 - mission start countdown + stale-client safety UX */
.ccw-v08 .ccw-dev-sync{position:relative}
.ccw-v08 .ccw-dev-crew-btn:disabled{cursor:default;opacity:.55;transform:none!important}


/* v0.99.131 - Alpha notice stays out of the gameplay viewport. */
.ccw-v08 .ccw-alpha-badge{position:relative;cursor:help;outline:none}
.ccw-v08 .ccw-alpha-badge::after{content:attr(data-alpha-notice);position:absolute;left:0;top:calc(100% + 9px);width:min(330px,72vw);padding:9px 10px;border:1px solid rgba(218,190,101,.24);border-radius:8px;background:rgba(5,12,17,.98);box-shadow:0 14px 36px rgba(0,0,0,.34);color:#aebfc6;font:700 10px/1.45 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.01em;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-3px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease;z-index:120}
.ccw-v08 .ccw-alpha-badge:hover::after,.ccw-v08 .ccw-alpha-badge:focus::after{opacity:1;visibility:visible;transform:translateY(0)}
.ccw-v08 .ccw-hud-more nav .ccw-hud-alpha-note{display:grid;gap:4px;margin:5px 6px 6px;padding:9px 10px;border-top:1px solid rgba(218,190,101,.16);background:rgba(218,190,101,.035);color:#8599a2;font-size:9px;line-height:1.45;letter-spacing:.015em}
.ccw-v08 .ccw-hud-more nav .ccw-hud-alpha-note b{color:#d9bc67;font-size:8px;letter-spacing:.13em}
.ccw-v08 .ccw-hud-more nav .ccw-hud-alpha-note span{color:#8599a2}


/* v0.99.132 - Contextual blockchain warning only inside funding/payment UI. */
.ccw-v08 .ccw-chain-warning{display:flex;align-items:flex-start;gap:9px;margin:9px 0;padding:8px 10px;border:1px solid rgba(218,168,92,.20);border-radius:8px;background:rgba(73,44,13,.18);color:#91a2a9;font-size:9px;line-height:1.45}.ccw-v08 .ccw-chain-warning b{flex:none;color:#d7b36e;font-size:8px;letter-spacing:.12em}.ccw-v08 .ccw-chain-warning span{min-width:0}

/* v0.99.133 - compact CIV risk disclosure, transaction context only */
.ccw-v08 .ccw-civ-risk-notice{border-color:rgba(255,128,111,.18);background:rgba(255,128,111,.035)}
.ccw-v08 .ccw-civ-risk-notice b{color:#d9a29a}


/* v0.99.134 - multi-countdown alerts + guided guest gates */
.ccw-alert-victory-list{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:6px}
.ccw-alert-victory-list>div{display:inline-flex;align-items:center;gap:6px;padding:3px 7px;border:1px solid currentColor;border-radius:999px;font-size:11px;line-height:1.2}
.ccw-alert-victory-list b,.ccw-alert-victory-list span,.ccw-alert-victory-list em{font:inherit}
.ccw-alert-victory-list b{font-weight:800}.ccw-alert-victory-list em{opacity:.85;font-style:normal}
.ccw-participation-gate{max-width:560px}.ccw-participation-gate .ccw-auth-grid{margin-top:18px}

/* v0.99.135 - catalog-consistent strategic building copy + self-healing Council deadline refresh */

/* v0.99.137 - live-state UX fixes */
/* v0.99.138 - public consistency / contact / Hub clarity */
.ccw-v08 .ccw-research-focus-head aside[data-research-next]{cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.ccw-v08 .ccw-research-focus-head aside[data-research-next]:hover,.ccw-v08 .ccw-research-focus-head aside[data-research-next]:focus-visible{outline:none;border-color:rgba(135,170,255,.55);background:rgba(40,66,112,.24);transform:translateY(-1px)}
.ccw-v08 .ccw-tech-node.is-next-focus{box-shadow:0 0 0 2px rgba(102,203,232,.55),0 12px 34px rgba(0,0,0,.28)}
.ccw-v08 .ccw-idea-status-copy{margin:7px 0 3px;color:#8da2b1;font-size:10px;line-height:1.45}

/* v0.99.139 - persistent acknowledgement for Command Vote battle support. */
.ccw-battle-commit-status{display:block;flex-basis:100%;margin-top:6px;font-size:10px;letter-spacing:.05em;opacity:.8}
.ccw-battle-commit-status[data-tone="success"]{opacity:1;font-weight:700}
.ccw-battle-commit-status[data-tone="error"]{opacity:1;font-weight:700}


/* v0.99.150 - Coinlization Command Center is exclusive to the COINLIZATION view. */
#ccw-faction-command-center[hidden]{display:none!important;}


/* v0.99.151 - integrate Coinlization Command Center into Coinlization Overview. */
/* v0.99.152 - place Command Center after the Overview summary cards instead of at the top. */
.ccw-hub-command-center-slot{margin:12px 0}
.ccw-hub-command-center-slot>.ccw-faction-command-center{margin:0;padding:14px;border-radius:14px;box-shadow:none;background:linear-gradient(180deg,rgba(9,21,30,.94),rgba(6,15,22,.94));border-color:rgba(130,169,193,.16)}
.ccw-hub-command-center-slot .ccw-command-center-head{margin-bottom:10px}
.ccw-hub-command-center-slot .ccw-command-center-head h2{font-size:17px;margin-top:3px}
.ccw-hub-command-center-slot .ccw-command-personal b{font-size:23px}
@media(max-width:980px){.ccw-hub-command-center-slot>.ccw-faction-command-center{padding:12px}}

/* v0.99.153 - keep Coinlization supplies in the first scan area of Overview. */
.ccw-hub-supplies-top{margin:10px 0 14px}
.ccw-hub-supplies-top .ccw-faction-supplies{margin:0;padding:12px 13px;border-radius:13px}
.ccw-hub-supplies-top .ccw-supply-head{align-items:center}
.ccw-hub-supplies-top .ccw-supply-head h3{margin:2px 0 0;font-size:14px}
.ccw-hub-supplies-top .ccw-supply-grid{margin-top:9px;gap:6px}
.ccw-hub-supplies-top .ccw-supply-card{padding:8px 9px;grid-template-columns:28px minmax(0,1fr);gap:7px;border-radius:10px}
.ccw-hub-supplies-top .ccw-supply-card .ccw-supply-icon{width:28px;height:28px}
.ccw-hub-supplies-top .ccw-supply-card .ccw-supply-icon .ccw-ui-icon{width:19px;height:19px}
.ccw-hub-supplies-top .ccw-supply-copy>b{font-size:16px}
.ccw-hub-supplies-top .ccw-supply-copy small{font-size:9px}
.ccw-hub-supplies-top .ccw-sustainment.is-compact{margin-top:8px;padding:8px 10px}
.ccw-hub-supplies-top .ccw-supply-foot{margin-top:7px;padding-top:7px;font-size:9px}
@media(max-width:650px){.ccw-hub-supplies-top .ccw-faction-supplies{padding:11px}.ccw-hub-supplies-top .ccw-supply-head{align-items:flex-start}.ccw-hub-supplies-top .ccw-supply-head .ccw-btn{margin-top:3px}}


/* v0.99.155 - compact Coinlization supplies inside WORLD COMMAND only; keep Sustainment grouped with the resource chips. */
.ccw-v08 .ccw-world-supplies{margin:-2px 0 10px}
.ccw-v08 .ccw-world-supplies[hidden]{display:none!important}
.ccw-v08 .ccw-world-supplies-button{width:100%;display:block;padding:8px 9px;border:1px solid rgba(117,193,218,.12);border-radius:10px;background:linear-gradient(135deg,rgba(19,41,52,.58),rgba(8,19,27,.72));color:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.ccw-v08 .ccw-world-supplies-button:hover,.ccw-v08 .ccw-world-supplies-button:focus-visible{border-color:rgba(117,211,244,.3);background:linear-gradient(135deg,rgba(24,50,63,.68),rgba(9,22,31,.8));outline:none}
.ccw-v08 .ccw-world-supplies-button:active{transform:translateY(1px)}
.ccw-v08 .ccw-world-supplies-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.ccw-v08 .ccw-world-supplies-title>b{font-size:9px;letter-spacing:.13em;color:#9fc0cc}
.ccw-v08 .ccw-world-supplies-title>em{font-style:normal;font-size:8px;letter-spacing:.08em;color:#63808d}
.ccw-v08 .ccw-world-supplies-values{display:flex;flex-wrap:wrap;gap:5px}
.ccw-v08 .ccw-world-supply-cell{min-width:0;display:inline-flex;align-items:center;gap:4px;padding:4px 5px;border-radius:7px;background:rgba(255,255,255,.025);border:1px solid rgba(141,193,212,.07)}
.ccw-v08 .ccw-world-supply-cell>i{width:13px;height:13px;display:inline-flex;align-items:center;justify-content:center;color:#7da6b5}
.ccw-v08 .ccw-world-supply-cell>i .ccw-ui-icon{width:13px;height:13px}
.ccw-v08 .ccw-world-supply-cell>b{font-size:10px;line-height:1;color:#d9e7eb;font-variant-numeric:tabular-nums}
.ccw-v08 .ccw-world-supply-cell>em{font-style:normal;font-size:7px;line-height:1;letter-spacing:.06em;color:#75909a}
.ccw-v08 .ccw-world-supply-cell.is-sustainment{margin-left:0}
.ccw-v08 .ccw-world-supply-cell.is-sustainment.is-shortage,.ccw-v08 .ccw-world-supply-cell.is-sustainment.is-strained{border-color:rgba(224,183,86,.18);background:rgba(224,183,86,.045)}
.ccw-v08 .ccw-world-supply-cell.is-sustainment.is-critical{border-color:rgba(255,101,87,.25);background:rgba(255,101,87,.06)}
.ccw-v08 .ccw-world-supply-cell.is-sustainment.is-critical>em{color:#df8178}
@media(max-width:900px){.ccw-v08 .ccw-world-supplies{margin:0 0 9px}.ccw-v08 .ccw-world-supplies-button{padding:8px}.ccw-v08 .ccw-world-supplies-title>em{display:none}}

/* v0.99.158 Council support / oppose */
.ccw-v08 .ccw-proposal.is-opposed,.ccw-v08 .ccw-inline-council.is-opposed{border-color:rgba(239,120,110,.34)!important;background:rgba(100,37,42,.10)!important}
.ccw-v08 .ccw-council-balance{display:flex;height:5px;gap:2px;overflow:hidden;background:#111c24;border-radius:99px;margin:7px 0}
.ccw-v08 .ccw-council-balance>span{display:block;min-width:3px}
.ccw-v08 .ccw-council-balance .is-support{background:linear-gradient(90deg,#4dbf83,#78dea3)}
.ccw-v08 .ccw-council-balance .is-oppose{background:linear-gradient(90deg,#b34f5c,#ef786e)}
.ccw-v08 .ccw-vote-count .is-oppose,.ccw-v08 .ccw-inline-council-stats .is-oppose b{color:#ef9188}
.ccw-v08 .ccw-voted.is-oppose,.ccw-v08 .ccw-inline-voted.is-oppose{color:#ef9188}
.ccw-v08 .ccw-inline-vote-custom{grid-template-columns:68px minmax(0,1fr) minmax(0,1fr)}
.ccw-v08 .ccw-vote-controls:has(small){grid-template-columns:70px minmax(0,1fr) minmax(0,1fr)!important}
.ccw-v08 .ccw-vote-controls:has(small) .ccw-btn{grid-column:auto!important}
.ccw-v08 .ccw-council-impact{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.ccw-v08 .ccw-council-impact>span{display:grid;gap:2px;min-width:120px;padding:6px 8px;border:1px solid rgba(128,179,198,.10);background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-council-impact small{font-size:9px;letter-spacing:.10em;color:#66828f}
.ccw-v08 .ccw-council-impact b{font-size:10px;color:#cbdbe2;font-weight:850;overflow-wrap:anywhere}
.ccw-v08 .ccw-council-impact .is-positive b{color:#79dca5}
@media(max-width:700px){.ccw-v08 .ccw-inline-vote-custom{grid-template-columns:58px 1fr 1fr}.ccw-v08 .ccw-vote-controls:has(small){grid-template-columns:62px 1fr 1fr!important}}
.ccw-v08 .ccw-btn-no{background:linear-gradient(180deg,#793a43,#57262d)!important;border-color:rgba(255,122,109,.32)!important;color:#ffd8d4!important}

/* v0.99.159 - compact primary command card */
.ccw-v08 .ccw-order-card.ccw-order-card-primary{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;padding:16px 16px 15px;min-height:0;text-align:left}
.ccw-v08 .ccw-order-card.ccw-order-card-primary:after{display:none}
.ccw-v08 .ccw-order-card.ccw-order-card-primary>span{width:100%;margin:0 0 16px;font-size:10px;letter-spacing:.15em;color:#6f8a99}
.ccw-v08 .ccw-order-primary-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}
.ccw-v08 .ccw-order-primary-body>b{font-size:13px;line-height:1.3;color:#f0f8fb}
.ccw-v08 .ccw-order-energy-chip{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border:1px solid rgba(117,211,244,.16);border-radius:999px;background:rgba(117,211,244,.055);color:#9edff2;font-size:9px;line-height:1;font-weight:850;letter-spacing:.09em}
.ccw-v08 .ccw-order-primary-body>small{max-width:360px;color:#748d9b;font-size:10px;line-height:1.5}
.ccw-v08 .ccw-order-primary-body>em{display:inline-flex;align-items:center;margin-top:3px;padding:6px 9px;border:1px solid rgba(117,211,244,.18);border-radius:4px;background:rgba(117,211,244,.045);color:#88d6ef;font-size:9px;line-height:1;font-style:normal;font-weight:850;letter-spacing:.09em}
.ccw-v08 .ccw-order-card.ccw-order-card-primary:hover .ccw-order-primary-body>em{border-color:rgba(117,211,244,.4);background:rgba(117,211,244,.09);color:#b8ecfa}

/* v0.99.160 - clearer Coinlization objectives */
.ccw-objective-editor{max-width:860px;margin:0 auto}.ccw-objective-editor h2{margin:6px 0 8px;font-size:clamp(28px,4vw,44px);letter-spacing:-.035em}.ccw-objective-editor>p{margin:0 0 14px;color:#a5bac8;max-width:760px;line-height:1.55}.ccw-objective-selection{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;margin:14px 0 16px;padding:10px 12px;border:1px solid rgba(107,203,238,.25);border-radius:10px;background:rgba(30,95,121,.12)}.ccw-objective-selection>span{font-size:9px;font-weight:900;letter-spacing:.13em;color:#78cceb}.ccw-objective-selection>b{font-size:13px;color:#e8f8ff}.ccw-objective-selection>small{color:#8ea7b7}.ccw-objective-selection.is-empty{border-color:rgba(137,166,184,.16);background:rgba(9,21,29,.5)}.ccw-objective-edit-row{margin:9px 0;padding:12px;border:1px solid rgba(130,166,188,.18);border-radius:12px;background:rgba(6,17,24,.5)}.ccw-objective-edit-row>header{display:flex;align-items:center;gap:10px;margin-bottom:9px}.ccw-objective-edit-row>header>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid rgba(255,216,107,.5);background:rgba(255,216,107,.08);color:#ffd86b;font-size:11px;font-weight:900}.ccw-objective-edit-row>header>div{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.ccw-objective-edit-row>header b{font-size:11px;letter-spacing:.08em;color:#dfeef5}.ccw-objective-edit-row>header small{font-size:10px;color:#7893a5}.ccw-objective-edit-row>header button{border:0;background:transparent;color:#7893a5;font:800 9px/1 system-ui;letter-spacing:.08em;cursor:pointer}.ccw-objective-edit-row>header button:hover{color:#e7f6fd}.ccw-objective-edit-row>input[type=text]{display:block;width:100%;box-sizing:border-box;padding:11px 12px;border-radius:9px;border:1px solid rgba(139,177,199,.24);background:#07131b;color:#edf9ff;font-size:13px;outline:none}.ccw-objective-edit-row>input[type=text]:focus{border-color:rgba(102,205,244,.62);box-shadow:0 0 0 2px rgba(78,188,230,.08)}.ccw-objective-pinbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px}.ccw-objective-pinbar>span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#6f8797}.ccw-objective-pinbar>span.is-pinned{color:#ffd86b}.ccw-objective-pinbar>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.ccw-objective-pinbar button{border:1px solid rgba(132,171,194,.2);background:rgba(16,33,44,.72);color:#9fb8c7;border-radius:8px;padding:7px 9px;font:800 9px/1 system-ui;letter-spacing:.04em;cursor:pointer}.ccw-objective-pinbar button[data-obj-pin-selected]{border-color:rgba(255,216,107,.32);color:#f6dfa0}.ccw-objective-pinbar button:disabled{opacity:.35;cursor:default}.ccw-objective-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px;padding-top:12px;border-top:1px solid rgba(135,170,190,.12)}
.ccw-quick-objectives{margin:10px 0;padding-top:8px;border-top:1px solid rgba(255,216,107,.14)}.ccw-quick-objectives>span{display:block;margin-bottom:6px;color:#d9b955;font-size:9px;font-weight:900;letter-spacing:.13em}.ccw-quick-objectives>button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;width:100%;gap:2px 9px;text-align:left;border:1px solid rgba(255,216,107,.22);background:rgba(255,216,107,.055);border-radius:9px;padding:8px 9px;color:#e9f6fb;cursor:pointer}.ccw-quick-objectives>button+button{margin-top:6px}.ccw-quick-objectives>button:hover{border-color:rgba(255,216,107,.48);background:rgba(255,216,107,.09)}.ccw-quick-objectives i{grid-row:1/3;align-self:center;display:grid;place-items:center;min-width:34px;height:22px;border-radius:7px;background:#18231f;border:1px solid rgba(255,216,107,.42);color:#ffe69b;font-style:normal;font-size:8px;font-weight:900}.ccw-quick-objectives b{font-size:11px;line-height:1.3}.ccw-quick-objectives small{font-size:9px;color:#829aaa}
@media (max-width:680px){.ccw-objective-selection{grid-template-columns:1fr;gap:3px}.ccw-objective-pinbar{align-items:flex-start;flex-direction:column}.ccw-objective-pinbar>div{justify-content:flex-start}.ccw-objective-actions{justify-content:stretch}.ccw-objective-actions .ccw-btn{flex:1}}

/* v0.99.165 - Season participant roster and Civital readiness */
.ccw-v08 .ccw-season-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.ccw-v08 .ccw-season-participants{width:100%;max-width:1120px;margin:10px auto 0;padding:14px;border:1px solid rgba(137,192,212,.10);border-radius:13px;background:linear-gradient(145deg,rgba(9,20,27,.94),rgba(5,13,18,.98))}
.ccw-v08 .ccw-season-participant-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:10px!important}
.ccw-v08 .ccw-season-participant-head p{margin:4px 0 0;color:#6e8792;font-size:9px;line-height:1.45}
.ccw-v08 .ccw-season-participant-summary{min-width:118px;padding:8px 10px;text-align:right;border:1px solid rgba(137,192,212,.10);border-radius:9px;background:rgba(255,255,255,.018)}
.ccw-v08 .ccw-season-participant-summary b,.ccw-v08 .ccw-season-participant-summary small{display:block}.ccw-v08 .ccw-season-participant-summary b{color:#9adbb7;font-size:10px}.ccw-v08 .ccw-season-participant-summary small{margin-top:3px;color:#607884;font-size:8px}
.ccw-v08 .ccw-season-participant-summary.is-warning b{color:#edaa83}
.ccw-v08 .ccw-season-participant-list{display:grid;gap:5px}
.ccw-v08 .ccw-season-participant-row{--faction-color:#7cf1b7;display:grid;grid-template-columns:72px minmax(160px,.8fr) minmax(260px,1.4fr) minmax(150px,.6fr);gap:12px;align-items:center;min-height:58px;padding:9px 11px;border:1px solid rgba(137,192,212,.08);border-left:3px solid var(--faction-color);border-radius:9px;background:rgba(255,255,255,.012)}
.ccw-v08 .ccw-season-participant-row>span{display:grid;gap:3px;min-width:0}.ccw-v08 .ccw-season-participant-row b{color:#d6e7ec;font-size:10px}.ccw-v08 .ccw-season-participant-row small{color:#667f8a;font-size:9px;line-height:1.35}.ccw-v08 .ccw-season-participant-name small{color:var(--faction-color);font-weight:800}.ccw-v08 .ccw-season-participant-civital{text-align:right}.ccw-v08 .ccw-season-participant-row.is-ready .ccw-season-participant-civital b{color:#8ed6ae}.ccw-v08 .ccw-season-participant-row.is-missing{border-color:rgba(225,123,93,.18);background:linear-gradient(90deg,rgba(109,43,27,.12),rgba(255,255,255,.008))}.ccw-v08 .ccw-season-participant-row.is-missing .ccw-season-participant-civital b{color:#ef9c80}
@media(max-width:800px){.ccw-v08 .ccw-season-participant-row{grid-template-columns:58px minmax(130px,.8fr) minmax(210px,1.3fr) 130px;min-width:600px}.ccw-v08 .ccw-season-participant-list{overflow:auto}.ccw-v08 .ccw-season-participant-head{align-items:flex-start}.ccw-v08 .ccw-season-participant-summary{min-width:100px}}
@media(max-width:560px){.ccw-v08 .ccw-season-tabs button{font-size:6.5px!important;letter-spacing:.05em}.ccw-v08 .ccw-season-participants{padding:10px}.ccw-v08 .ccw-season-participant-head{display:grid;grid-template-columns:1fr}.ccw-v08 .ccw-season-participant-summary{text-align:left;justify-self:start}}

/* ======================================================================
   v0.99.180 - Founding World empty state
   Season explains the full World #1 launch path even before the first
   Coinlization exists, then keeps the same layout as readiness grows.
   ====================================================================== */
.ccw-v08 .ccw-founding-next{
  padding:17px;
  border:1px solid rgba(132,190,210,.11);
  background:linear-gradient(145deg,rgba(7,18,25,.84),rgba(5,13,19,.94));
}
.ccw-v08 .ccw-founding-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
.ccw-v08 .ccw-founding-steps article{
  position:relative;
  min-height:92px;
  padding:12px 11px 11px 42px;
  border:1px solid rgba(129,187,207,.11);
  background:rgba(116,180,203,.035);
}
.ccw-v08 .ccw-founding-steps article>i{
  position:absolute;
  left:11px;
  top:12px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(124,205,230,.24);
  color:#92d7ea;
  font-style:normal;
  font-size:9px;
  font-weight:900;
}
.ccw-v08 .ccw-founding-steps article>span{display:block;color:#7292a0;font-size:8px;font-weight:900;letter-spacing:.12em}
.ccw-v08 .ccw-founding-steps article>b{display:block;margin-top:5px;color:#d2e7ed;font-size:11px;letter-spacing:.035em}
.ccw-v08 .ccw-founding-steps article>small{display:block;margin-top:5px;color:#78939e;font-size:9px;line-height:1.45}
.ccw-v08 .ccw-founding-steps article.is-current{border-color:rgba(111,211,236,.25);box-shadow:inset 0 0 24px rgba(91,181,207,.04)}
.ccw-v08 .ccw-founding-steps article.is-done{border-color:rgba(125,218,183,.24)}
.ccw-v08 .ccw-founding-cta{display:flex;align-items:center;gap:12px;margin-top:13px;flex-wrap:wrap}
.ccw-v08 .ccw-founding-cta small{color:#6e8c98;font-size:9px;line-height:1.45}
.ccw-v08 .ccw-founding-empty{display:flex;flex-direction:column;gap:4px;padding:18px;border:1px dashed rgba(126,190,211,.14);background:rgba(91,151,171,.025)}
.ccw-v08 .ccw-founding-empty b{color:#a9cbd5;font-size:10px;letter-spacing:.09em}
.ccw-v08 .ccw-founding-empty span{color:#718c97;font-size:9px}
@media(max-width:900px){.ccw-v08 .ccw-founding-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ccw-v08 .ccw-founding-steps{grid-template-columns:1fr}}


/* ======================================================================
   v0.99.198 - Founding research grant zero-cost queue fix
   ====================================================================== */
.ccw-v08 .ccw-inline-council-stats .is-met b{color:#7fd7a4!important}
.ccw-v08 .ccw-inline-council-stats .is-met small{color:#6fae8b!important}
@media(min-width:901px){
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-sidebar,
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-context-sidebar{
    height:calc(100dvh - var(--ccw-world-chrome-h,130px))!important;
    min-height:0!important;
    max-height:calc(100dvh - var(--ccw-world-chrome-h,130px))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable!important;
    align-self:start!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-main{align-self:start!important}
}


/* ======================================================================
   v0.99.203 - mobile-first World shell + wallet app handoff
   Mobile no longer compresses the desktop HUD over the globe. Global actions
   get a dedicated touch rail, alerts collapse to a compact banner, modal
   surfaces become bottom sheets and wallet auth can hand the current dApp URL
   to common mobile wallet browsers.
   ====================================================================== */
.ccw-alert-mobile-toggle{display:none}
.ccw-alert-mobile-body{display:contents}
.ccw-wallet-apps{display:none}

@media(max-width:900px){
  body.ccw-standalone-page{overflow-x:hidden!important}
  #civcoin-world.ccw-shell.ccw-v08{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}

  /* Header: identity first, resources second, three global actions in their own row. */
  .ccw-v08 .ccw-hud-action-rail{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:31px 42px!important;
    min-height:73px!important;
    overflow:visible!important;
    border-top:1px solid rgba(132,190,210,.08)!important;
  }
  .ccw-v08 .ccw-hud-action-rail .ccw-hud-resources-bar{
    grid-column:1!important;grid-row:1!important;width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    border-bottom:1px solid rgba(132,190,210,.07)!important;
  }
  .ccw-v08 .ccw-hud-actions{
    grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important;
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;margin:0!important;padding:5px 8px 6px!important;box-sizing:border-box!important;
  }
  .ccw-v08 .ccw-hud-actions .ccw-command-button{
    width:100%!important;min-width:0!important;height:31px!important;min-height:31px!important;
    margin:0!important;padding:0 7px!important;justify-content:center!important;gap:5px!important;
    overflow:hidden!important;white-space:nowrap!important;border-radius:8px!important;
  }
  .ccw-v08 .ccw-hud-actions .ccw-command-button>span{
    display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
    font-size:8px!important;letter-spacing:.045em!important;
  }
  .ccw-v08 .ccw-hud-actions .ccw-command-button>b{display:none!important}
  .ccw-v08 .ccw-hud-actions .ccw-command-button>i{width:16px!important;height:16px!important;flex:0 0 16px!important}

  /* The persistent primary nav is the only fixed navigation on mobile. */
  .ccw-v08 .ccw-hud-main .ccw-tabs{
    z-index:1000!important;background:rgba(7,15,21,.97)!important;
    border:1px solid rgba(125,194,217,.15)!important;border-radius:14px!important;
    box-shadow:0 10px 34px rgba(0,0,0,.38)!important;backdrop-filter:blur(14px)!important;
  }
  .ccw-v08 .ccw-hud-main .ccw-tab{min-height:48px!important;border-radius:9px!important}
  .ccw-v08 .ccw-hud-main .ccw-tab span:last-child{font-size:8px!important;letter-spacing:.035em!important}

  /* World: give the planet the stage; secondary command content flows below it. */
  #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-layout{display:block!important;padding:8px 0 0!important}
  #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-main{width:100%!important;overflow:hidden!important}
  #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] #ccw-map-card{padding:0!important;border-radius:0!important;border-left:0!important;border-right:0!important}
  #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-map-viewport{
    height:clamp(430px,62dvh,620px)!important;min-height:430px!important;max-height:620px!important;
  }
  #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-sidebar,
  #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-context-sidebar{
    position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;
    overflow:visible!important;padding:8px 8px calc(82px + env(safe-area-inset-bottom,0px))!important;
    border-left:0!important;border-top:1px solid rgba(139,193,213,.10)!important;
  }
  .ccw-v08 .ccw-sidebar-quicknav{position:relative!important;top:auto!important;z-index:10!important}

  /* Map chrome is deliberately quiet on phones. */
  .ccw-v08 .ccw-world-overlay-left{left:10px!important;top:10px!important;max-width:52%!important}
  .ccw-v08 .ccw-world-overlay-left .ccw-kicker{display:none!important}
  .ccw-v08 .ccw-world-overlay-left strong{font-size:12px!important;line-height:1.05!important}
  .ccw-v08 .ccw-world-meta{font-size:8px!important;line-height:1.3!important}
  .ccw-v08 .ccw-map-tools{top:8px!important;right:8px!important;max-width:42%!important}
  .ccw-v08 .ccw-map-modes{left:8px!important;right:8px!important;max-width:none!important;overflow-x:auto!important;scrollbar-width:none!important}
  .ccw-v08 .ccw-map-modes::-webkit-scrollbar{display:none}

  /* Breaking alerts are a compact banner until the player asks for detail. */
  .ccw-v08 .ccw-world-alert{
    top:58px!important;left:10px!important;right:10px!important;width:auto!important;max-height:none!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 8px!important;
    padding:10px 11px!important;border-radius:13px!important;overflow:hidden!important;
    box-shadow:0 12px 32px rgba(0,0,0,.40)!important;
  }
  .ccw-v08 .ccw-world-alert>span{grid-column:1;font-size:8px!important;letter-spacing:.15em!important}
  .ccw-v08 .ccw-world-alert>strong{grid-column:1;font-size:13px!important;line-height:1.2!important}
  .ccw-alert-mobile-toggle{
    display:inline-flex!important;grid-column:2;grid-row:1/3;align-self:center;appearance:none;border:1px solid rgba(255,255,255,.20);
    border-radius:999px;background:rgba(0,0,0,.18);color:inherit;padding:6px 8px;font:800 8px/1 system-ui;letter-spacing:.08em;
  }
  .ccw-alert-mobile-body{display:none!important;grid-column:1/-1!important;min-width:0!important}
  .ccw-world-alert.is-mobile-expanded .ccw-alert-mobile-body{display:block!important;padding-top:6px!important;border-top:1px solid rgba(255,255,255,.10)!important}
  .ccw-world-alert.is-mobile-expanded .ccw-alert-mobile-body>small{display:block!important;font-size:9px!important;line-height:1.4!important}
  .ccw-alert-victory-list{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;margin-top:7px!important}
  .ccw-alert-victory-list>div{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:2px 6px!important;border-radius:8px!important;padding:5px 7px!important;font-size:9px!important}
  .ccw-alert-victory-list>div em{grid-column:1/-1!important;font-size:8px!important}

  /* Guided onboarding no longer covers half of the planet. */
  .ccw-v08 .ccw-onboarding{
    bottom:calc(70px + env(safe-area-inset-bottom,0px))!important;left:8px!important;right:8px!important;width:auto!important;
    max-height:150px!important;padding:9px 10px!important;gap:7px!important;border-radius:13px!important;overflow:auto!important;
  }
  .ccw-v08 .ccw-onboarding-copy>span{font-size:8px!important}
  .ccw-v08 .ccw-onboarding-copy>b{font-size:12px!important}
  .ccw-v08 .ccw-onboarding-copy>small{font-size:9px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .ccw-v08 .ccw-onboarding-progress{display:none!important}
  .ccw-v08 .ccw-onboarding-actions .ccw-btn,.ccw-v08 .ccw-onboard-skip{min-height:36px!important;padding:6px 8px!important;font-size:9px!important}

  /* All gameplay modals behave as thumb-friendly bottom sheets on phones. */
  .ccw-v08 .ccw-mission-modal{align-items:end!important;justify-items:stretch!important;padding:0!important;background:rgba(1,4,7,.72)!important}
  .ccw-v08 .ccw-mission-frame,
  .ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame,
  .ccw-v08 .ccw-mission-modal.is-development-window .ccw-mission-frame{
    width:100%!important;max-width:none!important;min-height:0!important;max-height:84dvh!important;margin:0!important;
    padding:20px 14px calc(18px + env(safe-area-inset-bottom,0px))!important;
    border-radius:18px 18px 0 0!important;clip-path:none!important;border-left:0!important;border-right:0!important;border-bottom:0!important;
    overscroll-behavior:contain!important;
  }
  .ccw-v08 .ccw-mission-close{position:sticky!important;float:right!important;top:0!important;right:0!important;z-index:5!important;background:#0b1720!important;border-radius:50%!important}

  /* Wallet app chooser appears only on mobile. */
  .ccw-wallet-apps{display:block!important;margin:14px 0;padding:12px;border:1px solid rgba(117,211,244,.14);border-radius:12px;background:rgba(117,211,244,.035)}
  .ccw-wallet-apps-head{display:grid;gap:3px;margin-bottom:9px}
  .ccw-wallet-apps-head>span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#9adcf0}
  .ccw-wallet-apps-head>small{font-size:9px;line-height:1.35;color:#78939e}
  .ccw-wallet-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .ccw-wallet-app{min-height:48px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:8px 10px;border:1px solid rgba(132,190,210,.14);border-radius:9px;background:#09151d;color:#ddecf1;text-decoration:none!important}
  .ccw-wallet-app b{font-size:10px;letter-spacing:.05em}
  .ccw-wallet-app span{font-size:8px;letter-spacing:.10em;color:#708a96}
  .ccw-wallet-app:active{transform:translateY(1px);border-color:rgba(117,211,244,.35)}
}

@media(max-width:520px){
  .ccw-v08 .ccw-hud-actions .ccw-command-button>span{font-size:7.5px!important}
  .ccw-v08 .ccw-hud-actions .ccw-hud-development>span{font-size:0!important}
  .ccw-v08 .ccw-hud-actions .ccw-hud-development>span:after{content:'DEV';font-size:7.5px!important;letter-spacing:.05em!important}
  .ccw-v08 .ccw-hud-actions .ccw-hud-missions>span:after{font-size:7.5px!important}
  .ccw-wallet-app-grid{grid-template-columns:1fr 1fr}
}

/* Public Launch Pool: wallet prompt must not inherit payment-input columns. */
.ccw-launch-contribute.is-wallet-required{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.ccw-launch-contribute.is-wallet-required .ccw-btn{flex:0 0 auto;white-space:normal;max-width:100%}.ccw-launch-contribute.is-wallet-required small{flex:1 1 240px;min-width:0}
/* v0.99.223 · Launch Pool payment UI · visual-only changes, quote and settlement logic unchanged */
.ccw-launch-pool-v223{padding:clamp(14px,2vw,24px);border-color:rgba(126,191,215,.17);background:linear-gradient(152deg,#101c2a 0%,#0b1522 57%,#0b131d 100%)}
.ccw-launch-pool-v223 .ccw-section-head{margin-bottom:14px}
.ccw-launch-pool-v223 .ccw-world-vault-inline{padding:15px 18px;margin:12px 0 14px;border-radius:14px;background:linear-gradient(108deg,rgba(66,144,153,.13),rgba(73,144,134,.065));border:1px solid rgba(100,206,186,.18)}
.ccw-launch-pool-v223 .ccw-world-vault-inline>b{font-size:clamp(20px,2vw,28px);font-variant-numeric:tabular-nums}
.ccw-launch-pool-v223 .ccw-launch-pool-subcopy{font-size:11px;line-height:1.65;color:#83a2b5;max-width:1000px;margin-bottom:10px}
.ccw-launch-pool-v223 .ccw-launch-chain-notice{padding:9px 12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-radius:10px}
.ccw-launch-pool-v223 .ccw-launch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:16px;margin-top:16px}
.ccw-launch-pool-v223 .ccw-launch-card{min-width:0;border-radius:17px!important;border:1px solid rgba(126,184,207,.18)!important;background:linear-gradient(145deg,#0e202b 0%,#0a1923 65%,#0b1722 100%)!important;padding:clamp(14px,2vw,20px)!important;box-shadow:0 14px 34px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.025)!important}
.ccw-launch-pool-v223 .ccw-launch-card-top{display:flex;align-items:center;gap:12px;justify-content:space-between;min-width:0}
.ccw-launch-pool-v223 .ccw-launch-identity{min-width:0;gap:12px}
.ccw-launch-pool-v223 .ccw-launch-identity>div{min-width:0}
.ccw-launch-pool-v223 .ccw-launch-identity h3{font-size:clamp(15px,1.6vw,19px);line-height:1.28;color:#edf8fc;margin:5px 0 4px;overflow-wrap:anywhere}
.ccw-launch-pool-v223 .ccw-launch-identity h3 em{font-size:.8em;font-weight:600;color:#8eaabb}
.ccw-launch-pool-v223 .ccw-launch-identity small{display:block;max-width:650px;color:#84a0ae;overflow-wrap:anywhere}
.ccw-launch-pool-v223 .ccw-launch-identity .ccw-kicker{color:#7cb6c7;letter-spacing:.085em;font-size:10px}
.ccw-launch-pool-v223 .ccw-launch-phase{white-space:nowrap;align-self:flex-start;font-size:9px;letter-spacing:.11em;font-weight:900;color:#f3ce8f;background:rgba(222,161,64,.10);border:1px solid rgba(222,161,64,.20);border-radius:999px;padding:5px 8px}
.ccw-launch-pool-v223 .ccw-launch-funding-summary{padding:14px 0 13px;margin:14px 0 0;border-top:1px solid rgba(167,208,223,.10);border-bottom:1px solid rgba(167,208,223,.10)}
.ccw-launch-pool-v223 .ccw-launch-funded-label{display:flex;justify-content:space-between;align-items:end;gap:14px}
.ccw-launch-pool-v223 .ccw-launch-funded-label small{display:block;font-size:9px;font-weight:800;letter-spacing:.10em;color:#81a1b2;margin-bottom:5px}
.ccw-launch-pool-v223 .ccw-launch-funded-label b{display:block;font-size:clamp(18px,2vw,23px);line-height:1.2;font-weight:800;color:#f5fcff;font-variant-numeric:tabular-nums}
.ccw-launch-pool-v223 .ccw-launch-funded-label b span{color:#8299a8;font-size:.74em;font-weight:650}
.ccw-launch-pool-v223 .ccw-launch-funded-percent{border:1px solid rgba(133,209,176,.18);background:rgba(76,194,142,.07);border-radius:9px;padding:6px 8px;color:#a1e7c4;font-size:12px;font-weight:800;white-space:nowrap}
.ccw-launch-pool-v223 .ccw-launch-track{height:8px!important;position:relative;margin:10px 0 8px;border-radius:99px;background:#20313b!important;overflow:hidden}
.ccw-launch-pool-v223 .ccw-launch-track>span{position:relative;z-index:2;background:linear-gradient(90deg,#4bc78a,#8be4cc)!important}
.ccw-launch-pool-v223 .ccw-launch-track>i{display:block;position:absolute;top:0;bottom:0;background:repeating-linear-gradient(120deg,rgba(236,182,98,.62) 0 5px,rgba(236,182,98,.3) 5px 10px);border-radius:0 99px 99px 0}
.ccw-launch-pool-v223 .ccw-launch-progress-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:10px;color:#83a0ad}
.ccw-launch-pool-v223 .ccw-launch-progress-foot b{color:#cfedf5;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.ccw-launch-pool-v223 .ccw-launch-progress-foot b span{font-weight:500;color:#91a8b3}
.ccw-launch-pool-v223 .ccw-launch-pay-form{display:block;margin:16px 0 0;padding:16px;border-radius:13px;border:1px solid rgba(147,205,224,.15);background:linear-gradient(165deg,rgba(18,37,49,.96),rgba(9,23,33,.92))}
.ccw-launch-pool-v223 .ccw-launch-form-heading{display:flex;gap:10px;align-items:center;margin-bottom:14px}
.ccw-launch-pool-v223 .ccw-launch-step-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 31px;width:31px;height:31px;color:#adf0d1;border-radius:9px;border:1px solid rgba(108,229,170,.25);background:rgba(69,189,139,.10);font-size:11px;font-weight:900}
.ccw-launch-pool-v223 .ccw-launch-form-heading strong{display:block;font-weight:800;color:#e4f3f9;font-size:13px}
.ccw-launch-pool-v223 .ccw-launch-form-heading small{display:block;color:#91aaba;font-size:10px;margin-top:2px}
.ccw-launch-pool-v223 .ccw-launch-fields{display:grid;grid-template-columns:minmax(100px,.72fr) minmax(135px,1.1fr) minmax(115px,1fr);gap:10px;align-items:end;min-width:0}
.ccw-launch-pool-v223 .ccw-launch-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}
.ccw-launch-pool-v223 .ccw-launch-field>span{display:flex;justify-content:space-between;gap:5px;font-size:9px;font-weight:900;letter-spacing:.09em;color:#90abba}
.ccw-launch-pool-v223 .ccw-launch-field em{font-style:normal;font-weight:700;color:#638899}
.ccw-launch-pool-v223 .ccw-launch-field input,.ccw-launch-pool-v223 .ccw-launch-field select,.ccw-launch-pool-v223 .ccw-launch-manual-fields input{box-sizing:border-box;width:100%;height:42px;min-height:42px;min-width:0;max-width:100%;border-radius:9px;border:1px solid rgba(130,181,207,.21);background:#071721;color:#e3f1f8;font-size:12px;font-weight:650;padding:0 10px;box-shadow:none;outline:none}
.ccw-launch-pool-v223 .ccw-launch-field select{padding-right:25px}
.ccw-launch-pool-v223 .ccw-launch-field input:focus-visible,.ccw-launch-pool-v223 .ccw-launch-field select:focus-visible,.ccw-launch-pool-v223 .ccw-launch-manual-fields input:focus-visible{border-color:#68d5ad;box-shadow:0 0 0 2px rgba(70,200,146,.17)}
.ccw-launch-pool-v223 .ccw-launch-pay-actions{display:grid;grid-template-columns:minmax(112px,.34fr) minmax(0,1fr);gap:10px;margin-top:14px;align-items:stretch}
.ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-btn{height:44px;min-height:44px;border-radius:9px;font-size:11px;font-weight:900;letter-spacing:.055em}
.ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-quote{border:1px solid rgba(132,200,222,.27);background:rgba(24,52,66,.8);color:#a4d2e3}
.ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-quote:hover{border-color:rgba(129,211,237,.6);background:rgba(35,75,91,.9);color:#f3fcff}
.ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-pay{display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid rgba(119,235,177,.55);background:linear-gradient(100deg,#43c78d,#62d6ac);color:#06241d;box-shadow:0 4px 19px rgba(52,186,126,.15);text-shadow:none}
.ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-pay span{font-size:20px;line-height:1}
.ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-pay:hover{background:linear-gradient(100deg,#7ce5b5,#a7f1d4);box-shadow:0 6px 24px rgba(50,202,142,.22)}
.ccw-launch-pool-v223 .ccw-launch-pay-actions button:disabled{opacity:.45;cursor:not-allowed}
.ccw-launch-pool-v223 .ccw-launch-quote-status{display:flex;align-items:flex-start;gap:7px;padding:10px 0 0;min-width:0}
.ccw-launch-pool-v223 .ccw-launch-quote-status small{font-size:10px;line-height:1.45;color:#819eac;overflow-wrap:anywhere}
.ccw-launch-pool-v223 .ccw-launch-quote-dot{flex:0 0 6px;height:6px;border-radius:50%;background:#7797a9;margin-top:5px}
.ccw-launch-pool-v223 .ccw-launch-quote-status.is-ready .ccw-launch-quote-dot{background:#79e3ae;box-shadow:0 0 0 3px rgba(100,224,165,.09)}
.ccw-launch-pool-v223 .ccw-launch-quote-status.is-ready small{color:#b1e5cf}
.ccw-launch-pool-v223 .ccw-launch-trust-note{color:#8fc1ac;font-size:10px;line-height:1.45;padding-top:9px}
.ccw-launch-pool-v223 .ccw-launch-trust-note span{font-size:12px;color:#82d9b1;margin-right:4px}
.ccw-launch-pool-v223 .ccw-launch-extra-links{display:grid;gap:0;margin-top:12px;padding-top:3px;border-top:1px solid rgba(163,201,218,.09)}
.ccw-launch-pool-v223 .ccw-launch-extra-links details{border-bottom:1px solid rgba(163,201,218,.09)}
.ccw-launch-pool-v223 .ccw-launch-extra-links summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#92b2c2;font-size:10px;font-weight:750;padding:11px 2px;outline-offset:3px;user-select:none}
.ccw-launch-pool-v223 .ccw-launch-extra-links summary::-webkit-details-marker{display:none}
.ccw-launch-pool-v223 .ccw-launch-extra-links summary:hover{color:#d7f0fa}
.ccw-launch-pool-v223 .ccw-launch-extra-links details[open] summary{color:#c9e5ed}
.ccw-launch-pool-v223 .ccw-launch-extra-links details[open] summary span{transform:rotate(180deg)}
.ccw-launch-pool-v223 .ccw-launch-details-content,.ccw-launch-pool-v223 .ccw-launch-manual-content{padding:0 2px 12px;min-width:0}
.ccw-launch-pool-v223 .ccw-launch-details-content>span{display:block;font-size:9px;letter-spacing:.10em;color:#748f9e;margin-bottom:6px}
.ccw-launch-pool-v223 .ccw-launch-address-wrap{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid rgba(124,174,193,.17);background:rgba(7,18,25,.65);padding:8px;border-radius:8px}
.ccw-launch-pool-v223 .ccw-launch-address-wrap code{min-width:0;flex:1;color:#d0e7f1;font:600 10px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all;user-select:text}
.ccw-launch-pool-v223 .ccw-launch-copy{border:1px solid rgba(116,193,214,.23);border-radius:6px;background:rgba(32,65,77,.6);color:#b2e2ec;font-size:9px;font-weight:900;letter-spacing:.04em;padding:7px 9px;cursor:pointer;flex-shrink:0}
.ccw-launch-pool-v223 .ccw-launch-copy:hover{border-color:rgba(120,218,242,.55);background:rgba(42,83,99,.75)}
.ccw-launch-pool-v223 .ccw-launch-details-content>small,.ccw-launch-pool-v223 .ccw-launch-manual-content>small{display:block;margin-top:8px;color:#86a0ad;font-size:10px;line-height:1.5}
.ccw-launch-pool-v223 .ccw-launch-manual-fields{display:flex;gap:7px;margin-top:9px}
.ccw-launch-pool-v223 .ccw-launch-manual-fields input{flex:1}
.ccw-launch-pool-v223 .ccw-launch-manual-fields .ccw-btn{flex-shrink:0;min-width:100px;min-height:42px;border-radius:8px}
.ccw-launch-pool-v223 .ccw-launch-founder{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:14px;padding:12px 13px;border-radius:10px;border:1px solid rgba(127,194,217,.14);background:rgba(9,23,31,.6)}
.ccw-launch-pool-v223 .ccw-launch-founder .ccw-btn{border-radius:8px;min-height:38px;max-width:100%;white-space:normal}
.ccw-launch-pool-v223 .ccw-launch-founder span{font-size:10px;line-height:1.5;color:#829fad}
.ccw-launch-pool-v223 .ccw-launch-founder.is-signed{border-color:rgba(102,224,161,.27);background:rgba(63,157,111,.08)}
.ccw-launch-pool-v223 .ccw-launch-contribute.is-wallet-required{margin-top:14px;padding:15px;border:1px solid rgba(144,200,223,.15);border-radius:11px}
.ccw-launch-pool-v223 .ccw-launch-funded{border-radius:11px}
.ccw-launch-pool-v223 .ccw-launch-payment-status{display:flex;align-items:flex-start;gap:12px;margin-top:15px;padding:15px;border-radius:12px;border:1px solid rgba(84,186,229,.30);background:linear-gradient(120deg,rgba(30,99,132,.16),rgba(16,45,63,.65));min-width:0}
.ccw-launch-pool-v223 .ccw-launch-payment-status.is-review{border-color:rgba(234,177,90,.35);background:linear-gradient(120deg,rgba(128,79,28,.15),rgba(41,34,23,.55))}
.ccw-launch-pool-v223 .ccw-launch-payment-state-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;border:1px solid rgba(118,219,240,.35);background:rgba(40,133,160,.16);color:#a0e6f4;font-size:20px;font-weight:800;line-height:1}
.ccw-launch-pool-v223 .ccw-launch-payment-status.is-waiting .ccw-launch-payment-state-icon{animation:ccwLaunchVerifySpin 2.2s linear infinite}
.ccw-launch-pool-v223 .ccw-launch-payment-status.is-review .ccw-launch-payment-state-icon{border-color:rgba(237,183,98,.28);background:rgba(200,135,46,.08);color:#efc48a}
@keyframes ccwLaunchVerifySpin{to{transform:rotate(360deg)}}
.ccw-launch-pool-v223 .ccw-launch-payment-state-copy{min-width:0;flex:1}
.ccw-launch-pool-v223 .ccw-launch-payment-state-kicker{display:block;color:#8bd3e8;font-size:9px;font-weight:900;letter-spacing:.10em;margin-bottom:6px}
.ccw-launch-pool-v223 .is-review .ccw-launch-payment-state-kicker{color:#f2c78c}
.ccw-launch-pool-v223 .ccw-launch-payment-state-copy>b{display:block;font-size:14px;color:#ebf8fc}
.ccw-launch-pool-v223 .ccw-launch-payment-state-copy>p{font-size:11px;line-height:1.6;color:#a1b9c6;margin:5px 0 10px}
.ccw-launch-pool-v223 .ccw-launch-payment-reference{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.ccw-launch-pool-v223 .ccw-launch-payment-reference>span{font-size:10px;color:#7799ab}
.ccw-launch-pool-v223 .ccw-launch-payment-reference code{font-size:10px;color:#dbedf5;max-width:100%;overflow-wrap:anywhere}
.ccw-launch-pool-v223 .ccw-launch-payment-error{display:block;color:#e4b69a;font-size:10px;line-height:1.4;margin-top:8px}
@media(max-width:780px){
  .ccw-launch-pool-v223 .ccw-launch-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .ccw-launch-pool-v223 .ccw-launch-field-amount{grid-column:1/-1}
  .ccw-launch-pool-v223 .ccw-launch-founder{flex-wrap:wrap}
}
@media(max-width:520px){
  .ccw-launch-pool-v223{padding:12px}
  .ccw-launch-pool-v223 .ccw-launch-card{padding:12px!important}
  .ccw-launch-pool-v223 .ccw-launch-phase{display:none}
  .ccw-launch-pool-v223 .ccw-launch-fields{grid-template-columns:1fr}
  .ccw-launch-pool-v223 .ccw-launch-field-amount{grid-column:auto}
  .ccw-launch-pool-v223 .ccw-launch-pay-form{padding:12px}
  .ccw-launch-pool-v223 .ccw-launch-pay-actions{grid-template-columns:minmax(0,1fr)}
  .ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-pay{order:-1}
  .ccw-launch-pool-v223 .ccw-launch-payment-status{padding:11px;gap:9px}
  .ccw-launch-pool-v223 .ccw-launch-payment-state-icon{flex-basis:26px;width:26px;height:26px}
  .ccw-launch-pool-v223 .ccw-launch-manual-fields{flex-direction:column}
  .ccw-launch-pool-v223 .ccw-launch-founder{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.ccw-launch-pool-v223 .ccw-launch-payment-status.is-waiting .ccw-launch-payment-state-icon{animation:none}}

/* Ensure the one-click payment CTA stands out against legacy button !important rules. */
.ccw-v08 .ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-pay{background:linear-gradient(100deg,#43c78d,#62d6ac)!important;color:#06241d!important;border-color:rgba(119,235,177,.55)!important;box-shadow:0 4px 19px rgba(52,186,126,.15)!important}
.ccw-v08 .ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-pay:hover{background:linear-gradient(100deg,#7ce5b5,#a7f1d4)!important;color:#06241d!important}
.ccw-v08 .ccw-launch-pool-v223 .ccw-launch-pay-actions .ccw-launch-pay:disabled{opacity:.45!important;cursor:not-allowed!important}

/* v0.99.224: manually initiated wallet transfers, with explicit quote + reference workflow. */
.ccw-launch-pool-v223 .ccw-launch-pay-actions{grid-template-columns:minmax(0,1fr)}
.ccw-launch-pool-v223 .ccw-launch-manual-details{margin-top:4px}
.ccw-launch-pool-v223 .ccw-launch-manual-details summary{font-size:11px;font-weight:850;color:#b3d9e4;letter-spacing:0}
.ccw-launch-pool-v223 .ccw-launch-manual-intro{margin:6px 0 14px;font-size:11px;line-height:1.65;color:#bdd5de}
.ccw-launch-pool-v223 .ccw-launch-manual-intro b{color:#f1fbff}
.ccw-launch-pool-v223 .ccw-launch-manual-step{border:1px solid rgba(131,202,214,.19);border-radius:11px;background:#0a1923;padding:13px;display:grid;gap:12px}
.ccw-launch-pool-v223 .ccw-launch-manual-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ccw-launch-pool-v223 .ccw-launch-manual-step-head b{font-size:12px;color:#deedf3}
.ccw-launch-pool-v223 .ccw-launch-manual-step-head .ccw-btn{min-height:36px;border-radius:8px;letter-spacing:.04em}
.ccw-launch-pool-v223 .ccw-launch-manual-step>small,.ccw-launch-pool-v223 .ccw-launch-manual-receiver>small,.ccw-launch-pool-v223 .ccw-launch-manual-entry>small{font-size:10px;color:#93acba;line-height:1.6}
.ccw-launch-pool-v223 .ccw-launch-manual-quote-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:9px}
.ccw-launch-pool-v223 .ccw-launch-manual-quote-grid>div{padding:10px;border:1px solid rgba(135,193,203,.17);background:rgba(24,50,64,.65);border-radius:8px;min-width:0}
.ccw-launch-pool-v223 .ccw-launch-manual-quote-grid span,.ccw-launch-pool-v223 .ccw-launch-manual-receiver>span{display:block;color:#92b3bf;font-size:9px;letter-spacing:.08em;font-weight:900;margin-bottom:7px}
.ccw-launch-pool-v223 .ccw-launch-manual-quote-grid b{font-size:13px;color:#e8f7f9;overflow-wrap:anywhere}
.ccw-launch-pool-v223 .ccw-launch-manual-step.is-quote-ready .ccw-launch-manual-quote-grid b{color:#a9edcf}
.ccw-launch-pool-v223 .ccw-launch-manual-step.is-quote-expired{border-color:rgba(219,165,88,.25)}
.ccw-launch-pool-v223 .ccw-launch-manual-receiver,.ccw-launch-pool-v223 .ccw-launch-manual-entry{display:grid;gap:6px;min-width:0}
.ccw-launch-pool-v223 .ccw-launch-manual-entry label{display:block;color:#a9c5d0;font-size:10px;font-weight:850}
.ccw-launch-pool-v223 .ccw-launch-duplicate-warning{padding:10px 12px;margin:12px 0 0;border-radius:9px;border:1px solid rgba(234,187,120,.24);background:rgba(138,92,34,.09);font-size:10px;line-height:1.65;color:#d7baa0}
.ccw-launch-pool-v223 .ccw-launch-duplicate-warning b{color:#f1ca94}
.ccw-launch-pool-v223 .ccw-launch-manual-fields .ccw-launch-manual-track{background:rgba(61,135,107,.24);color:#bdf1dc;border-color:rgba(99,210,164,.28)}
.ccw-launch-pool-v223 .ccw-launch-manual-fields .ccw-launch-manual-track:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:520px){.ccw-launch-pool-v223 .ccw-launch-manual-quote-grid{grid-template-columns:1fr}.ccw-launch-pool-v223 .ccw-launch-manual-step{padding:10px}}

.ccw-launch-pool-v223 .ccw-launch-manual-mint{margin-top:6px;padding:9px 10px;border:1px solid rgba(124,174,193,.15);border-radius:8px;background:rgba(7,18,25,.4)}
.ccw-launch-pool-v223 .ccw-launch-manual-mint span{display:block;color:#7dabb9;font-size:9px;letter-spacing:.055em;font-weight:850;margin-bottom:5px}
.ccw-launch-pool-v223 .ccw-launch-manual-mint code{display:block;color:#d5ecf1;font:600 10px/1.55 ui-monospace,Consolas,monospace;word-break:break-all}
.ccw-launch-pool-v223 .ccw-launch-manual-mint.is-native{opacity:.65}


/* v0.99.241: native vertical scrolling wins over globe dragging on touch. */
.ccw-v08 .ccw-map-viewport,
.ccw-v08 .ccw-globe-canvas{touch-action:pan-y pinch-zoom!important}
@media(max-width:900px){
  html:has(body.ccw-standalone-page),body.ccw-standalone-page{
    height:auto!important;min-height:100dvh!important;overscroll-behavior-y:auto!important;
  }
  body.ccw-standalone-page:not(.ccw-mission-open){overflow-y:auto!important}
  #ccw-standalone-root,#civcoin-world.ccw-shell.ccw-v08{height:auto;min-height:100dvh;max-height:none}
  #civcoin-world.ccw-shell.ccw-v08[data-active-view="world"] .ccw-map-viewport{
    height:clamp(280px,52svh,520px)!important;min-height:280px!important;max-height:520px!important;
  }
  .ccw-v08 .ccw-mission-frame,
  .ccw-v08 .ccw-mission-modal.is-council-window .ccw-mission-frame,
  .ccw-v08 .ccw-mission-modal.is-development-window .ccw-mission-frame{
    box-sizing:border-box!important;max-height:88dvh!important;overflow-y:auto!important;
    overflow-x:hidden!important;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;
  }
  .ccw-mobile-map-hint{display:block;padding:9px 12px;color:#a6c9d5;background:#09151d;font:12px/1.5 system-ui}
}
.ccw-mobile-map-hint{display:none}
@media(max-width:900px){.ccw-mobile-map-hint{display:block}}

/* v0.99.243: cooperative touch navigation. Keep native one-finger scroll. */
.ccw-mobile-map-controls{display:none}
.ccw-v08 .ccw-map-viewport,
.ccw-v08 .ccw-globe-canvas{touch-action:auto!important}
@media(max-width:900px),(pointer:coarse){
  .ccw-mobile-map-controls{display:block;padding:8px 12px;background:#09151d;color:#a6c9d5;font:12px/1.4 system-ui}
}

/* v0.99.244: hidden alerts must win over the mobile display:grid override. */
#civcoin-world.ccw-v08 #ccw-world-alert[hidden],
#civcoin-world.ccw-v08 #ccw-world-alert:empty{display:none!important}
@media(max-width:900px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-mobile-map-controls{padding:8px 10px;display:flex;flex-direction:column;gap:6px}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-mobile-map-controls>span{font-size:11px;line-height:1.4;color:#829eaa}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-map-tools{
    position:static!important;inset:auto!important;display:flex!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:center!important;gap:6px!important;
    width:100%!important;max-width:none!important;height:auto!important;min-height:44px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;overflow:visible!important;
    border:0!important;clip-path:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-map-tools .ccw-map-tool{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
    padding:0!important;margin:0!important;clip-path:none!important;border-radius:10px!important;
    border:1px solid rgba(130,185,206,.22)!important;background:#11232d!important;font-size:20px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-map-tools .ccw-map-tool-wide{display:none!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-map-tools .ccw-zoom-label{
    flex:1 1 auto!important;min-width:0!important;text-align:center!important;padding:0 6px!important;font-size:11px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-world-overlay-left{
    top:10px!important;left:10px!important;right:10px!important;max-width:none!important;width:auto!important;
    padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
    pointer-events:none!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-world-overlay-left strong{font-size:12px!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-world-overlay-left .ccw-world-meta{font-size:9px!important}
  html body #civcoin-world.ccw-shell.ccw-v08 #ccw-selected-label{display:none!important}
}

/* v0.99.246: public World Pool status in the vacant left HUD column. */
.ccw-v08 .ccw-world-pool-hud{
  grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:7px;
  min-width:0;max-width:100%;margin:0 10px;padding:5px 8px;min-height:30px;
  border:1px solid rgba(211,180,103,.25);border-radius:7px;background:rgba(145,110,39,.06);
  color:#ddc892;font:700 9px/1.35 system-ui;cursor:pointer;text-align:left;
}
.ccw-v08 .ccw-world-pool-hud b{font-size:9px;letter-spacing:.05em;white-space:nowrap}
.ccw-v08 .ccw-world-pool-hud small{font-size:8px;color:#9aabaf}
.ccw-v08 .ccw-world-pool-hud:focus-visible{outline:2px solid #e3cc8a;outline-offset:2px}
.ccw-pool-split{display:grid;gap:0;margin:16px 0}
.ccw-pool-split>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid rgba(140,190,210,.15)}
.ccw-pool-split dt{color:#bad1da}.ccw-pool-split dd{margin:0;font-weight:800;color:#e2ce90}
.ccw-pool-info p{font-size:12px;line-height:1.65;color:#91acb8}
@media(max-width:1200px) and (min-width:901px){.ccw-v08 .ccw-world-pool-hud{flex-wrap:wrap;gap:2px 6px}.ccw-v08 .ccw-world-pool-hud small{flex-basis:100%}}
@media(max-width:900px){
  #civcoin-world.ccw-v08 .ccw-hud-action-rail{grid-template-rows:38px 31px 42px!important;min-height:111px!important}
  #civcoin-world.ccw-v08 .ccw-world-pool-hud{grid-column:1!important;grid-row:1!important;width:calc(100% - 16px);max-width:none;margin:3px 8px;min-height:32px;justify-content:center}
  #civcoin-world.ccw-v08 .ccw-world-pool-hud small{font-size:9px}
  #civcoin-world.ccw-v08 .ccw-hud-action-rail .ccw-hud-resources-bar{grid-row:2!important}
  #civcoin-world.ccw-v08 .ccw-hud-action-rail .ccw-hud-actions{grid-row:3!important}
}


/* v0.99.255 — CivID Archive: real CSS/SVG medallions, no remote images or new dependencies. */
.ccw-seal-card{--seal-metal:#bb936c;--seal-bright:#efc79b;--seal-shadow:rgba(153,93,53,.17);position:relative;min-width:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--seal-metal) 37%,transparent)!important;border-radius:16px;background:radial-gradient(ellipse at 28% -12%,var(--seal-shadow),transparent 70%),linear-gradient(145deg,#132129,#070f16)!important;box-shadow:inset 0 1px rgba(255,255,255,.035),0 10px 26px rgba(0,0,0,.09);color:#dce8ec}
.ccw-seal-card[data-seal-family="champion"]{--seal-metal:#d3a74b;--seal-bright:#ffe29d;--seal-shadow:rgba(218,161,61,.25)}
.ccw-seal-card[data-seal-family="siege"]{--seal-metal:#849bab;--seal-bright:#dae8f1;--seal-shadow:rgba(103,149,175,.21)}
.ccw-seal-card[data-seal-family="legacy"]{--seal-metal:#af7955;--seal-bright:#f3c69e;--seal-shadow:rgba(177,106,68,.20)}
.ccw-seal-card:before{content:"";position:absolute;inset:8px;border:1px solid color-mix(in srgb,var(--seal-metal) 14%,transparent);border-radius:12px;pointer-events:none}
.ccw-seal-medallion{position:relative;display:grid;place-items:center;width:104px;height:104px;max-width:100%;aspect-ratio:1;border-radius:50%;flex-shrink:0;background:radial-gradient(circle at 38% 30%,var(--seal-bright),var(--seal-metal) 23%,#473c2f 50%,#10171e 68%,var(--seal-metal) 72%,#090e14 78%);border:3px solid rgba(8,15,20,.9);box-shadow:0 0 0 1px var(--seal-metal),0 9px 22px #0008,inset 0 2px 3px #ffffff55}
.ccw-seal-medallion:before{content:"";position:absolute;inset:9px;border-radius:50%;border:1px dashed color-mix(in srgb,var(--seal-bright) 85%,transparent);box-shadow:inset 0 0 0 5px #060d1266}
.ccw-seal-medallion:after{content:"✦  ·  ✦";position:absolute;bottom:12px;font-size:8px;letter-spacing:3px;color:var(--seal-bright);text-shadow:0 1px 2px #000}
.ccw-seal-medallion svg{position:relative;z-index:1;width:48px;height:48px;fill:none;stroke:var(--seal-bright);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 2px #030507aa)}
.ccw-seal-overline{display:block;font-size:10px!important;color:var(--seal-bright)!important;letter-spacing:.17em;font-weight:900;line-height:1.5}
.ccw-seal-family{display:inline-flex;width:max-content;max-width:100%;font-size:9px!important;letter-spacing:.13em;font-weight:850;color:#071016!important;background:var(--seal-metal);padding:5px 9px;border-radius:20px;margin-top:7px}
.ccw-seal-card h3,.ccw-seal-card h4{font-size:clamp(15px,1.7vw,21px)!important;line-height:1.2;overflow-wrap:anywhere;color:#f0f4ee!important;margin:9px 0!important}
.ccw-seal-card p{font-size:12px!important;line-height:1.65!important;color:#9eb4bb!important;overflow-wrap:anywhere;min-height:0!important}
.ccw-seal-card small{font-size:10px!important;color:#94adb8!important;overflow-wrap:anywhere}
.ccw-seal-card.is-featured{background:radial-gradient(ellipse at 18% -10%,var(--seal-shadow),transparent 55%),linear-gradient(135deg,#15252b,#091219)!important}
.ccw-seal-card.is-featured .ccw-seal-medallion{width:150px;height:150px}
.ccw-seal-card.is-featured .ccw-seal-medallion svg{width:65px;height:65px}
.ccw-seal-card.is-featured .ccw-seal-medallion:after{bottom:20px}
.ccw-seal-hero{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:25px;padding:24px!important}
.ccw-seal-gallery-card{display:flex;flex-direction:column;gap:10px;padding:20px!important}
.ccw-seal-gallery-card .ccw-seal-medallion{width:85px;height:85px}
.ccw-seal-gallery-card .ccw-seal-medallion svg{width:38px;height:38px}
.ccw-seal-foot{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin-top:auto;border-top:1px solid rgba(255,255,255,.065);padding-top:10px}
.ccw-seal-choice{font-size:10px!important;border:1px solid color-mix(in srgb,var(--seal-metal) 65%,transparent)!important;color:var(--seal-bright)!important;background:transparent!important;border-radius:8px;padding:9px 12px;min-height:38px;cursor:pointer;font-weight:800;letter-spacing:.06em;max-width:100%}
.ccw-seal-choice:hover,.ccw-seal-choice:focus-visible{background:rgba(255,255,255,.08)!important;outline:2px solid var(--seal-bright);outline-offset:2px}
.ccw-seal-archive-note{font-size:11px;line-height:1.6;color:#8da9b3;margin:0 0 14px}
.ccw-seal-card.is-candidate{border-style:dashed!important;background:linear-gradient(145deg,rgba(12,27,36,.90),rgba(6,15,22,.94))!important}
.ccw-seal-card.is-candidate .ccw-seal-medallion{filter:saturate(.65);opacity:.85}
.ccw-seal-card.is-candidate .ccw-seal-family{background:transparent;color:var(--seal-bright)!important;border:1px solid var(--seal-metal)}
@media(max-width:650px){.ccw-seal-hero{grid-template-columns:1fr;justify-items:start;gap:15px}.ccw-seal-card.is-featured .ccw-seal-medallion{width:115px;height:115px}.ccw-seal-card.is-featured .ccw-seal-medallion svg{width:52px;height:52px}}
@media(prefers-reduced-motion:no-preference){.ccw-seal-card{transition:transform .2s ease,border-color .2s ease}.ccw-seal-card:hover{transform:translateY(-2px)}}

.ccw-v08 .ccw-memory-seal-grid{align-items:stretch}
.ccw-v08 .ccw-memory-seal-card.is-sealed.ccw-seal-card{padding:20px}
.ccw-v08 .ccw-civid-featured-memory{margin:4px 0 18px}
.ccw-v08 .ccw-civid-featured-memory .ccw-seal-choice{margin-top:8px}

/* v0.99.256 · Repeatable earned drops + stable luck tiers. */
.ccw-relic-copy-count{display:inline-block;margin:2px 0 6px;padding:4px 8px;font-size:10px;font-weight:850;letter-spacing:.08em;color:#dfe9e8;background:#213138;border:1px solid #526c75;border-radius:999px}
.ccw-relic-drop-list{display:grid;gap:5px;margin-top:10px;max-height:225px;overflow:auto}
.ccw-relic-drop-list>div{display:flex;align-items:center;gap:8px;padding:6px 8px;background:rgba(9,19,26,.5);border-radius:7px;border:1px solid #ffffff15}
.ccw-relic-drop-list small{color:#b8c9ce;overflow-wrap:anywhere;font-size:10px}
.ccw-relic-drop-tier{min-width:64px;text-align:center;font-size:9px!important;font-weight:900;letter-spacing:.09em;border-radius:6px;padding:4px 6px;color:#dec1a9;background:#533e2f}
.ccw-relic-drop-tier.is-silver{color:#dce6ef;background:#384e61}
.ccw-relic-drop-tier.is-gold{color:#ffdf93;background:#675126}
.ccw-relic-drop-tier.is-eternal{color:#f5d5ff;background:#64417c}
.ccw-seal-card[data-seal-rarity="bronze"]{--seal-metal:#b27b52;--seal-bright:#ebbd9e;--seal-shadow:rgba(153,93,53,.22)}
.ccw-seal-card[data-seal-rarity="silver"]{--seal-metal:#91a7b8;--seal-bright:#e3f0f9;--seal-shadow:rgba(115,156,180,.23)}
.ccw-seal-card[data-seal-rarity="gold"]{--seal-metal:#ddae4f;--seal-bright:#ffe9a8;--seal-shadow:rgba(217,167,65,.26)}
.ccw-seal-card[data-seal-rarity="eternal"]{--seal-metal:#c195e8;--seal-bright:#f7d9ff;--seal-shadow:rgba(151,86,204,.3)}
.ccw-seal-card[data-seal-rarity="eternal"] .ccw-seal-medallion{box-shadow:0 0 0 1px var(--seal-metal),0 0 22px rgba(159,102,220,.32),inset 0 2px 3px #ffffff55}
@media(max-width:600px){.ccw-relic-drop-list>div{flex-wrap:wrap}}


/* v0.99.257 · Collectible studio: purely cosmetic and responsive. */
.ccw-relic-studio{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px;margin:18px 0}
.ccw-relic-studio-panel,.ccw-relic-set-section{min-width:0;padding:20px;background:linear-gradient(140deg,rgba(18,34,44,.97),rgba(6,13,22,.95));border:1px solid rgba(185,207,217,.19);border-radius:14px}
.ccw-relic-studio-panel header>span,.ccw-civid-seal-showcase>span{color:#e2b96e;letter-spacing:.16em;font-size:10px;font-weight:900}
.ccw-relic-studio-panel header h3{color:#f3e4cd;margin:8px 0;font-size:20px}.ccw-relic-studio-panel header p{color:#a2bbc6;font-size:12px;line-height:1.6}
.ccw-forge-metrics{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:11px;background:#101d28;border-radius:9px;margin-bottom:12px;color:#e6d4af}.ccw-forge-metrics small{color:#8fa8b7}
.ccw-forge-recipes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ccw-forge-recipe{min-width:0;display:flex;flex-direction:column;gap:8px;padding:13px;border:1px solid #ffffff26;border-radius:11px;background:radial-gradient(circle at 50% 0,rgba(207,170,105,.14),rgba(12,23,30,.85) 60%)}
.ccw-forge-recipe h4{color:#f0e3c8;margin:0;font-size:13px}.ccw-forge-recipe p{color:#a2b6bf;font-size:11px;line-height:1.45;flex:1;margin:0}.ccw-forge-recipe small{color:#d8b46f;font-size:9px}.ccw-forge-recipe form{margin:0}.ccw-forge-recipe .ccw-btn{font-size:9px!important;width:100%;white-space:normal;min-height:35px}.ccw-forge-recipe .ccw-btn:disabled{opacity:.52;cursor:not-allowed}
.ccw-forge-recipe-medal{display:grid;place-items:center;width:55px;height:55px;border-radius:50%;font-size:29px;color:#e8b77b;background:radial-gradient(circle,#885434,#291e1d 70%);border:3px double #ba8152;box-shadow:0 0 16px #bd774b22}.ccw-forge-recipe.is-moon_frame .ccw-forge-recipe-medal{color:#d8ecf8;border-color:#96bbc9;background:radial-gradient(circle,#6e8597,#263543 70%)}.ccw-forge-recipe.is-sun_frame .ccw-forge-recipe-medal{color:#fff1c3;border-color:#efd38e;background:radial-gradient(circle,#d8b06b,#483116 75%)}
.ccw-relic-trophy-grid,.ccw-relic-set-grid,.ccw-civid-seal-showcase-grid,.ccw-civid-trophy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ccw-relic-trophy,.ccw-relic-set-grid article,.ccw-civid-trophy-grid article,.ccw-civid-seal-showcase-grid article{min-width:0;padding:13px;border-radius:11px;border:1px solid rgba(217,181,111,.25);background:linear-gradient(150deg,#26323b,#0b151e);overflow-wrap:anywhere}
.ccw-relic-trophy{display:grid;gap:8px;min-height:130px;align-content:center;text-align:center}.ccw-relic-trophy small,.ccw-relic-set-grid article>span{color:#d6bd83;letter-spacing:.14em;font-size:9px}.ccw-relic-trophy b{color:#e3eff2;font-size:12px}.ccw-relic-trophy span{color:#c8a66e;font-size:10px}
.ccw-relic-set-section{margin:18px 0}.ccw-relic-set-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ccw-relic-set-grid article.is-complete{border-color:#d2b06a;box-shadow:inset 0 0 25px #c5a35a15}.ccw-relic-set-grid h3{color:#f4e6c8;font-size:15px;margin:7px 0}.ccw-relic-set-grid strong{display:block;color:#e1c07f;font-size:19px}.ccw-relic-set-grid p,.ccw-relic-set-grid small{color:#96afb8;font-size:11px;line-height:1.45}
.ccw-trophy-slot-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:9px 0}.ccw-trophy-slot-form label{font-size:10px;color:#a6bbc3;display:flex;align-items:center;gap:6px}.ccw-trophy-slot-form select{min-width:60px;background:#0f202c;color:#e7eef2;border:1px solid #4a6371;border-radius:6px;padding:6px}
.ccw-relic-rarity-proof{display:grid;gap:4px;margin:8px 0;padding:9px;border-left:2px solid #d3b477;background:#e1bf7610}.ccw-relic-rarity-proof b{color:#ead5a8;font-size:10px}.ccw-relic-rarity-proof small{color:#9ab0bc;font-size:10px}
.ccw-relic-reveal-button{margin-left:auto;border:1px solid #866eb0;border-radius:6px;background:#30233e;color:#e4d2ff;font-size:9px;font-weight:900;cursor:pointer;padding:6px 8px}
.ccw-relic-reveal-dialog{position:fixed;inset:0;margin:auto;max-width:min(440px,calc(100vw - 28px));width:100%;box-sizing:border-box;color:#e7edf1;background:radial-gradient(circle at 50% 20%,#454055,#0a1320 70%);border:2px solid #8c7ca3;border-radius:16px;padding:28px;box-shadow:0 20px 100px #000a}.ccw-relic-reveal-dialog::backdrop{background:#050910df;backdrop-filter:blur(4px)}.ccw-reveal-inner{text-align:center;display:grid;justify-items:center;gap:15px}.ccw-reveal-inner>span{font-size:9px;letter-spacing:.2em;color:#b9afc7}.ccw-reveal-inner h2{font-size:22px;color:#f2e8f3;margin:0}.ccw-reveal-inner strong{letter-spacing:.24em;color:#e9cb81}.ccw-reveal-inner p{color:#b9c9d3}.ccw-reveal-sigil{font-size:65px;color:#dfc18d;text-shadow:0 0 25px #e2c07b88}.ccw-relic-reveal-dialog.ccw-relic-tier-eternal .ccw-reveal-sigil{color:#e7b6ff;text-shadow:0 0 35px #d394ff}.ccw-relic-reveal-dialog.ccw-relic-tier-silver .ccw-reveal-sigil{color:#c6e7f5}.ccw-relic-reveal-dialog.ccw-relic-tier-bronze .ccw-reveal-sigil{color:#dca17b}
.ccw-pass-card.ccw-forged-ember_frame{box-shadow:inset 0 0 0 3px #ad7152,0 0 23px #ad71522f!important}.ccw-pass-card.ccw-forged-moon_frame{box-shadow:inset 0 0 0 3px #9dc6dd,0 0 25px #9dc6dd44!important}.ccw-pass-card.ccw-forged-sun_frame{box-shadow:inset 0 0 0 3px #e9c16b,0 0 35px #e9c16b66!important}
.ccw-civid-seal-showcase{margin:22px 0}.ccw-civid-seal-showcase-grid article,.ccw-civid-trophy-grid article{display:flex;flex-direction:column;gap:9px;align-items:flex-start;min-height:165px}.ccw-civid-seal-showcase-grid h3,.ccw-civid-trophy-grid h4{color:#e8ddc6;font-size:14px;margin:0}.ccw-civid-seal-showcase-grid b,.ccw-civid-trophy-grid b{color:#e2bd7b}.ccw-civid-seal-showcase-grid small,.ccw-civid-trophy-grid small{color:#8ca6b3}.ccw-civid-seal-showcase-grid .ccw-seal-medallion{max-width:80px;max-height:80px}
@media(max-width:1000px){.ccw-relic-studio{grid-template-columns:1fr}.ccw-relic-set-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ccw-forge-recipes,.ccw-relic-trophy-grid,.ccw-civid-seal-showcase-grid,.ccw-civid-trophy-grid{grid-template-columns:1fr}.ccw-relic-set-grid{grid-template-columns:1fr 1fr}.ccw-relic-studio-panel{padding:13px}.ccw-relic-set-grid article{padding:10px}}
@media(prefers-reduced-motion:no-preference){.ccw-relic-reveal-dialog[open] .ccw-reveal-sigil{animation:ccw-reveal-rise .7s ease both}@keyframes ccw-reveal-rise{from{transform:scale(.4) rotate(-24deg);opacity:.2}to{transform:scale(1) rotate(0);opacity:1}}}

/* Earned Collection Set completion changes only the personal CivPass presentation. */
.ccw-pass-card.ccw-set-world_wanderers{background-image:radial-gradient(circle at 25% 28%,#6795a844,transparent 60%)!important}
.ccw-pass-card.ccw-set-iron_chronicles{background-image:radial-gradient(circle at 25% 28%,#a7655444,transparent 60%)!important}
.ccw-pass-card.ccw-set-civic_legacy{background-image:radial-gradient(circle at 25% 28%,#a89bb644,transparent 60%)!important}
.ccw-pass-card.ccw-set-world_sovereigns{background-image:radial-gradient(circle at 25% 28%,#d6a45044,transparent 60%)!important}


/* v0.99.258 · collectible navigation, reversible Trophy Showcase & touch ergonomics */
.ccw-collectible-jump-nav{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 18px;padding:10px;border:1px solid rgba(190,210,220,.17);border-radius:12px;background:rgba(12,23,30,.77)}
.ccw-collectible-jump-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;box-sizing:border-box;padding:8px 12px;border-radius:9px;border:1px solid rgba(215,185,115,.23);color:#e6d0a8;font-size:12px;font-weight:800;text-decoration:none;letter-spacing:.02em}
.ccw-collectible-jump-nav a:focus-visible,.ccw-relic-clear-button:focus-visible,.ccw-trophy-slot-form select:focus-visible{outline:2px solid #daba70;outline-offset:3px}
.ccw-relic-clear-form{margin:0}.ccw-relic-clear-button{min-height:36px;min-width:78px;padding:7px 12px;border:1px solid rgba(222,176,158,.36);border-radius:8px;background:rgba(81,38,36,.34);color:#edd0c7;font-size:11px;font-weight:900;cursor:pointer}
.ccw-relic-clear-button:hover{background:rgba(113,53,48,.48)}
#ccw-relic-mastery,#ccw-relic-forge,#ccw-relic-showcase,#ccw-relic-sets,#ccw-relic-gallery{scroll-margin-top:110px}
@media(max-width:1000px){.ccw-forge-recipes,.ccw-relic-trophy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ccw-collectible-jump-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ccw-collectible-jump-nav a{font-size:11px;padding:8px 5px;text-align:center;min-width:0}.ccw-forge-recipes,.ccw-relic-trophy-grid,.ccw-civid-seal-showcase-grid,.ccw-civid-trophy-grid{grid-template-columns:1fr}.ccw-relic-studio-panel,.ccw-relic-set-section{padding:13px}.ccw-relic-set-grid{grid-template-columns:1fr 1fr;gap:7px}.ccw-relic-set-grid h3{font-size:13px}.ccw-relic-clear-button{min-height:44px}}
@media(pointer:coarse){.ccw-forge-recipe .ccw-btn,.ccw-trophy-slot-form .ccw-btn,.ccw-relic-equip,.ccw-relic-reveal-button,.ccw-relic-clear-button,.ccw-trophy-slot-form select{min-height:44px!important;font-size:12px!important}.ccw-trophy-slot-form select{min-width:90px}.ccw-relic-drop-list>div{flex-wrap:wrap;gap:8px}}

/* v0.99.259 - cosmetic Relic Mastery; independent of immutable rarity. */
.ccw-mastery-studio{min-width:0}
.ccw-mastery-milestones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:17px 0 13px}
.ccw-mastery-milestones>div{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;background:linear-gradient(155deg,#273642,#101b26);border:1px solid #d1b97a38;border-radius:10px;padding:13px 6px;text-align:center}
.ccw-mastery-milestones strong{color:#ebcc89;font-size:24px}.ccw-mastery-milestones span{color:#e7edef;font-size:12px;font-weight:800}.ccw-mastery-milestones small{color:#9bb2c0;font-size:10px}
.ccw-mastery-note,.ccw-legacy-frames p{color:#a7b8c6;font-size:11px;line-height:1.6}
.ccw-legacy-frames{margin-top:15px;border-top:1px solid #d1b97a33;padding:14px 0 0}.ccw-legacy-frames summary{cursor:pointer;color:#e1c890;font-size:12px;font-weight:800;padding:6px 0}
.ccw-legacy-frame-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ccw-legacy-frame-grid>div{background:#15242e;border:1px solid #ffffff26;border-radius:8px;padding:10px;display:grid;gap:8px;min-width:0}.ccw-legacy-frame-grid b{color:#d8e8ed;font-size:12px}.ccw-legacy-frame-grid span{color:#dfc381;font-size:10px}.ccw-legacy-frame-grid .ccw-btn{width:100%;min-height:38px}.ccw-legacy-clear{margin-top:10px}
.ccw-mastery-featured{color:#d9c07d!important;font-size:11px!important;font-weight:800;letter-spacing:.06em}
.ccw-relic-mastery{margin:8px 0;padding:9px 10px;background:linear-gradient(145deg,#ccac6a11,#b0c7dd0a);border:1px solid #d0b97c39;border-radius:9px;display:grid;gap:7px}
.ccw-relic-mastery-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}.ccw-relic-mastery-head strong{font-size:10px;letter-spacing:.06em;color:#e2c58c}.ccw-relic-mastery-head small,.ccw-relic-mastery-next,.ccw-relic-unique{color:#a9c0cc;font-size:10px}
.ccw-relic-mastery-track{height:6px;overflow:hidden;border-radius:99px;background:#ffffff23}.ccw-relic-mastery-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#8aa4b7,#e1bd72)}
.ccw-relic-unique{display:block;margin:8px 0}
@media(max-width:620px){.ccw-mastery-milestones{grid-template-columns:repeat(2,minmax(0,1fr))}.ccw-legacy-frame-grid{grid-template-columns:1fr}.ccw-legacy-frames summary,.ccw-legacy-frame-grid .ccw-btn{min-height:44px;display:flex;align-items:center}}

.ccw-relic-trophy .ccw-trophy-mastery{font-size:9px;color:#a9c2d0;letter-spacing:.035em}

/* v0.99.260 · consistent source-specific medal in World Hub Trophy Showcase */
.ccw-civid-trophy-glyph{display:block;width:66px;max-width:100%;margin:3px 0}.ccw-civid-trophy-glyph .ccw-seal-medallion{width:62px;height:62px;border-width:2px}.ccw-civid-trophy-glyph .ccw-seal-medallion svg{width:30px;height:30px}.ccw-civid-trophy-glyph .ccw-seal-medallion:after{bottom:5px;font-size:6px}

/* v0.99.261 · earned Memory Seal discovery, event previews and permanent history */
.ccw-v08 .ccw-earned-memory-banner,.ccw-v08 .ccw-memory-ready-hero{border:1px solid rgba(229,189,105,.44);border-radius:15px;padding:19px 22px;background:linear-gradient(116deg,rgba(66,46,18,.83),rgba(16,26,31,.92) 68%);box-shadow:0 5px 26px rgba(0,0,0,.12);color:#ecf3f5}
.ccw-v08 .ccw-earned-memory-banner{margin:15px 0 17px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ccw-v08 .ccw-earned-memory-banner h3,.ccw-v08 .ccw-memory-ready-hero h3{margin:5px 0 6px;font-size:clamp(18px,2vw,24px);color:#ffe0a0}
.ccw-v08 .ccw-earned-memory-banner p,.ccw-v08 .ccw-memory-ready-hero p{margin:0;line-height:1.55;color:#c6d2d5;font-size:12px;max-width:660px}
.ccw-v08 .ccw-earned-memory-banner .ccw-btn{flex-shrink:0;min-height:43px;color:#f9e7bd;border-color:rgba(240,199,118,.52)}
.ccw-v08 .ccw-memory-ready-hero{display:grid;gap:8px}
.ccw-v08 .ccw-memory-ready-link{color:#f5db9e;text-decoration:underline;text-underline-offset:3px;font-weight:800;letter-spacing:.05em;font-size:11px}
.ccw-v08 .ccw-memory-seal-card.is-candidate{border-color:rgba(230,189,103,.36);background:linear-gradient(160deg,rgba(65,46,21,.25),rgba(8,18,25,.96) 70%)}
.ccw-v08 .ccw-memory-preview-copy{padding:10px 11px;border-radius:9px;background:rgba(228,183,94,.08);border:1px solid rgba(228,183,94,.17);min-height:0!important}
.ccw-v08 .ccw-memory-preview-copy strong{color:#f0d48b}
.ccw-v08 .ccw-memory-inscription-label{display:block;margin-top:11px;font-weight:800;font-size:10px;letter-spacing:.07em;color:#c6d8dc}
.ccw-v08 .ccw-memory-event-facts{display:grid;gap:5px;padding:10px 0;margin:9px 0;border-top:1px solid rgba(158,181,194,.15);border-bottom:1px solid rgba(158,181,194,.12)}
.ccw-v08 .ccw-memory-event-facts>span{display:flex;align-items:center;gap:7px;min-width:0;color:#bdced4;line-height:1.5;font-size:11px;overflow-wrap:anywhere}
.ccw-v08 .ccw-memory-event-facts svg{flex:0 0 15px;width:15px;height:15px;color:#d9b977}
.ccw-v08 .ccw-memory-event-facts .ccw-memory-people{display:block;color:#dfcfad;font-size:10px}
.ccw-v08 .ccw-hub-memory-history{padding:18px;border:1px solid rgba(210,177,104,.22);border-radius:13px;background:linear-gradient(150deg,rgba(36,30,17,.28),rgba(11,21,28,.9))}
.ccw-v08 .ccw-hub-memory-list{display:grid;gap:8px;margin:11px 0}
.ccw-v08 .ccw-hub-memory-item{display:flex;align-items:center;gap:11px;border:1px solid rgba(158,181,194,.12);border-radius:10px;padding:9px;min-width:0}
.ccw-v08 .ccw-hub-memory-item .ccw-seal-medallion{flex:0 0 42px;width:42px;height:42px}
.ccw-v08 .ccw-hub-memory-item .ccw-seal-medallion svg{width:24px;height:24px}
.ccw-v08 .ccw-hub-memory-item>div:last-child{min-width:0}
.ccw-v08 .ccw-hub-memory-item b{display:block;overflow-wrap:anywhere;color:#e8d4a3}
.ccw-v08 .ccw-hub-memory-item small{display:block;color:#9fb7c0;margin-top:3px}
.ccw-v08 .ccw-memory-pending-note{color:#efd38e;font-size:11px;font-weight:700}
@media(max-width:760px){.ccw-v08 .ccw-earned-memory-banner{padding:15px;flex-direction:column;align-items:stretch}.ccw-v08 .ccw-earned-memory-banner .ccw-btn{width:100%;white-space:normal}.ccw-v08 .ccw-memory-ready-hero{padding:15px}.ccw-v08 .ccw-memory-seal-card.is-candidate .ccw-btn{min-height:44px;white-space:normal}.ccw-v08 .ccw-hub-memory-history{padding:13px}.ccw-v08 .ccw-memory-event-facts>span{font-size:11px}}


/* v0.99.267 — One actionable queue on Coinlization Overview, separate progress/context. */
#civcoin-world.ccw-shell[data-active-view="faction"] .ccw-context-block.is-orders{display:none!important}
.ccw-v08 .ccw-loop-progress-only .ccw-loop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ccw-v08 .ccw-loop-progress-only .ccw-realm-goal{grid-column:auto}
.ccw-v08 .ccw-command-context-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:900px){
  .ccw-v08 .ccw-loop-progress-only .ccw-loop-grid,
  .ccw-v08 .ccw-command-context-grid{grid-template-columns:minmax(0,1fr)}
}


/* v0.99.271 — members browse pending launches only after their own Hub. */
.ccw-v08 .ccw-member-launches{margin:24px clamp(14px,2.5vw,38px) 36px;border:1px solid rgba(131,183,201,.2);border-radius:14px;background:#0a141b;color:#c9dae2;overflow:hidden}
.ccw-v08 .ccw-member-launches>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;padding:17px 20px;min-height:70px}
.ccw-v08 .ccw-member-launches>summary::-webkit-details-marker{display:none}
.ccw-v08 .ccw-member-launches>summary:focus-visible{outline:2px solid #89d9ed;outline-offset:-4px}
.ccw-v08 .ccw-member-launches-heading{display:grid;gap:5px;min-width:0}
.ccw-v08 .ccw-member-launches-heading b{font:700 14px/1.3 Inter,system-ui,sans-serif;color:#e7f3f7;letter-spacing:normal}
.ccw-v08 .ccw-member-launches-heading small{font:400 12px/1.45 Inter,system-ui,sans-serif;color:#9bb7c4;letter-spacing:normal}
.ccw-v08 .ccw-member-launches-toggle{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:11px;font-weight:750;letter-spacing:.035em;color:#a8dbe9}
.ccw-v08 .ccw-member-launches-toggle span{font-size:19px;transition:transform .2s}
.ccw-v08 .ccw-member-launches[open] .ccw-member-launches-toggle span{transform:rotate(180deg)}
.ccw-v08 .ccw-member-launches-body{padding:0 16px 18px;border-top:1px solid rgba(131,183,201,.11)}
.ccw-v08 .ccw-member-launches-body>p{padding:8px 5px;margin:12px 0;font-size:12px;line-height:1.6}
.ccw-v08 .ccw-member-launches .ccw-launch-pool{margin:0;max-width:100%}
@media(max-width:520px){.ccw-v08 .ccw-member-launches{margin-inline:12px}.ccw-v08 .ccw-member-launches>summary{align-items:flex-start;flex-direction:column;padding:15px;gap:10px}.ccw-v08 .ccw-member-launches-body{padding:0 10px 12px}}

/* v0.99.282 · public Coinlization sharing */
.ccw-coinlization-share{padding:12px;border:1px solid rgba(130,200,220,.25);border-radius:10px;background:#0b1820;max-width:520px;color:#dbe9ef;min-width:0}
.ccw-coinlization-share summary{cursor:pointer;font-size:12px;font-weight:800;letter-spacing:.05em}
.ccw-coinlization-share-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.ccw-coinlization-share label{display:grid;gap:5px;font-size:12px}.ccw-coinlization-share input{min-width:0;width:100%;padding:8px;border:1px solid #41616e;border-radius:5px;background:#061017;color:#dbe9ef}
.ccw-coinlization-share small{display:block;margin-top:8px;font-size:12px;line-height:1.5;color:#a6bdc8}.ccw-coinlization-share [role=status]{font-size:12px;margin:8px 0 0;color:#9adab8}
.ccw-public-citadel-shell .ccw-coinlization-share{margin:16px 40px 16px 16px}
/* v0.99.284: phone insets replace desktop centering; never combine both. */
@media(max-width:900px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-onboarding{
    left:8px!important;right:8px!important;transform:none!important;
    width:auto!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
    bottom:calc(80px + env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - 104px - env(safe-area-inset-bottom,0px) - env(safe-area-inset-top,0px))!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;
    display:flex;flex-direction:column!important;align-items:stretch!important;
  }
  .ccw-v08 .ccw-onboarding-copy>small{
    display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;
    font-size:12px!important;line-height:1.45!important;overflow-wrap:anywhere;
  }
  .ccw-v08 .ccw-onboarding-copy>b{font-size:14px!important;overflow-wrap:anywhere}
  .ccw-v08 .ccw-onboarding-actions{flex-wrap:wrap!important;white-space:normal!important;width:100%;flex-shrink:0}
  .ccw-v08 .ccw-onboarding-actions .ccw-btn,.ccw-v08 .ccw-onboarding-actions .ccw-onboard-skip{
    min-height:44px!important;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;
  }
}

/* v0.99.285: explicit mobile dock geometry overrides legacy desktop min-widths. */
.ccw-v08 .ccw-menu-mobile{display:none}
@media(max-width:900px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs{
    position:fixed!important;left:8px!important;right:76px!important;top:auto!important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
    transform:none!important;width:auto!important;min-width:0!important;max-width:none!important;
    height:60px!important;min-height:60px!important;margin:0!important;padding:4px!important;
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0!important;align-items:stretch!important;justify-content:stretch!important;
    overflow:visible!important;box-sizing:border-box!important;z-index:1000!important;
    border:1px solid rgba(125,194,217,.15)!important;border-radius:14px!important;background:#08151d!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab{
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:50px!important;min-height:44px!important;padding:3px 0!important;margin:0!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:4px!important;box-sizing:border-box!important;letter-spacing:0!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main > .ccw-tabs > .ccw-tab > span:last-child{
    font-size:clamp(6px,1.9vw,9px)!important;line-height:1.2!important;letter-spacing:0!important;white-space:nowrap!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-tab-icon{width:20px!important;height:20px!important;flex:0 0 20px!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-more{
    position:fixed!important;inset:auto 8px calc(8px + env(safe-area-inset-bottom,0px)) auto!important;
    z-index:1001!important;width:60px!important;height:60px!important;margin:0!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-more>summary{
    width:60px!important;height:60px!important;box-sizing:border-box!important;
    border:1px solid rgba(125,194,217,.25);border-radius:14px;background:#08151d;color:#a6dce9;
  }
  .ccw-v08 .ccw-hud-more .ccw-menu-desktop{display:none}
  .ccw-v08 .ccw-hud-more .ccw-menu-mobile{display:grid;justify-items:center;gap:4px;font-size:8px;line-height:1.2}
  .ccw-v08 .ccw-menu-mobile>span:first-child{font-size:22px;line-height:1}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-more nav{
    position:absolute!important;inset:auto 0 68px auto!important;
    width:min(290px,calc(100vw - 16px))!important;
    max-height:calc(100dvh - 100px - env(safe-area-inset-bottom,0px) - env(safe-area-inset-top,0px));
    overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;
  }
  .ccw-v08 .ccw-hud-more nav a,.ccw-v08 .ccw-hud-more nav button{
    display:flex;align-items:center;min-height:44px;box-sizing:border-box;font-size:11px;
  }
  .ccw-v08 .ccw-hud-more>summary:focus-visible,.ccw-v08 .ccw-hud-more nav a:focus-visible,.ccw-v08 .ccw-hud-more nav button:focus-visible{
    outline:2px solid #8ed5ed;outline-offset:2px;
  }
}

/* v0.99.286: mobile identity and action rows use their own full-width tracks. */
@media(max-width:900px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-game-hud{
    position:relative!important;top:auto!important;height:auto!important;min-height:0!important;
    display:block!important;padding:0!important;overflow:visible!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    height:auto!important;min-height:0!important;padding:6px 8px!important;gap:6px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-brand-lockup{
    display:flex!important;justify-content:center!important;width:100%!important;min-width:0!important;
    min-height:28px!important;flex:0 0 auto!important;padding:0!important;gap:7px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-brand-emblem{
    width:26px!important;height:26px!important;flex:0 0 26px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-brand-copy strong{font-size:12px!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-brand-copy>span{display:none!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-hud-right{
    display:block!important;width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;border:0!important;overflow:visible!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-main .ccw-player{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;max-width:none!important;gap:6px!important;overflow:visible!important;padding:0!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-hud-civrank,
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-wallet-chip{
    display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
    width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;
    margin:0!important;padding:6px!important;box-sizing:border-box!important;overflow-wrap:anywhere;white-space:normal!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-wallet-chip small{font-size:10px!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-hud-civrank b,
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-wallet-chip b{font-size:10px!important;line-height:1.2!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player [data-wallet-auth]{grid-column:1/-1;min-height:44px!important;width:100%}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-hud-worldhub,
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-name,
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-player .ccw-test-badge{display:none!important}
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-action-rail{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;height:auto!important;min-height:0!important;gap:0!important;overflow:visible!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-action-rail .ccw-world-pool-hud{
    grid-column:1!important;grid-row:1!important;align-self:stretch!important;justify-self:stretch!important;
    width:auto!important;max-width:none!important;min-height:36px!important;height:auto!important;margin:4px 8px!important;
    padding:7px 8px!important;flex-wrap:wrap!important;justify-content:center!important;box-sizing:border-box!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-action-rail .ccw-hud-resources-bar{
    grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important;max-width:100%!important;
    height:32px!important;min-height:32px!important;overflow-x:auto!important;overflow-y:hidden!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-action-rail .ccw-hud-actions{
    grid-column:1!important;grid-row:3!important;width:100%!important;margin:0!important;padding:5px 8px!important;
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-actions .ccw-command-button{
    min-height:44px!important;height:auto!important;padding:5px!important;min-width:0!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-actions .ccw-command-button>span{
    white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.3!important;font-size:9px!important;
  }
}

/* v0.99.287: use the real action labels once, without legacy CSS suffixes. */
@media(max-width:900px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-actions .ccw-command-button>span::after{
    content:none!important;display:none!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-actions .ccw-command-button>span{
    flex:1 1 0!important;min-width:0!important;font-size:8.5px!important;letter-spacing:0!important;
    text-align:center!important;overflow-wrap:anywhere;white-space:normal!important;
  }
}

/* v0.99.295: keep all four balances visible in the mobile resource rail. */
@media(max-width:900px){
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-action-rail .ccw-hud-resources-bar{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    height:auto!important;min-height:44px!important;overflow:visible!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-resources-bar>span{
    display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;
    height:auto!important;min-height:44px!important;padding:5px 3px!important;gap:4px!important;
    box-sizing:border-box!important;align-items:center!important;justify-content:center!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-resources-bar small{
    font-size:8px!important;letter-spacing:0!important;line-height:1.2!important;
    white-space:normal!important;text-align:center!important;
  }
  html body #civcoin-world.ccw-shell.ccw-v08 .ccw-hud-resources-bar b{
    font-size:11px!important;line-height:1.2!important;white-space:normal!important;
    overflow-wrap:anywhere!important;max-width:100%!important;text-align:center!important;
  }
}

/* v0.99.296: cosmetic recognition for the first completed Coinlization launch. */
.ccw-v08 .ccw-first-coinlization{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px;max-width:100%;box-sizing:border-box;margin:5px 0;padding:5px 8px;border:1px solid rgba(218,187,109,.45);border-radius:7px;background:rgba(157,117,36,.1);color:#e7cb88;font:700 10px/1.4 ui-sans-serif,system-ui;letter-spacing:.04em;white-space:normal;overflow-wrap:anywhere}
.ccw-v08 .ccw-first-coinlization small{font-size:9px;color:#c1b18b;font-weight:500;letter-spacing:0}
.ccw-v08 .ccw-first-coinlization-name{color:#e7cb88}

/* v0.99.303: separate launch/readiness and label recorded economy allocation. */
.ccw-v08 .ccw-qual-timer{display:flex;flex-direction:column;gap:8px;max-width:100%;min-width:0;flex:0 0 auto;box-sizing:border-box}
.ccw-v08 .ccw-qual-timer span{display:block;font-size:11px;line-height:1.4}
.ccw-v08 .ccw-qual-timer b{display:block;max-width:240px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
.ccw-v08 .ccw-season-forming-hero .ccw-season-clock{display:flex;flex-direction:column;gap:8px}
.ccw-v08 .ccw-season-forming-hero .ccw-season-clock b{font-size:20px;line-height:1.4;white-space:normal}
.ccw-v08 .ccw-genesis-funding-compact>div{min-width:0}
.ccw-v08 .ccw-genesis-funding-compact .ccw-vault-allocation{max-width:180px;gap:4px}
.ccw-v08 .ccw-vault-allocation strong{font-size:18px;color:#cbbfff}
.ccw-v08 .ccw-genesis-funding-compact span{line-height:1.5}
.ccw-v08 .ccw-launch-ready-summary{margin:5px 0;color:#bde9ee}
@media(max-width:720px){.ccw-v08 .ccw-qual-timer b{max-width:none}.ccw-v08 .ccw-genesis-funding-compact{grid-template-columns:minmax(0,1fr)}.ccw-v08 .ccw-genesis-funding-compact .ccw-vault-allocation{max-width:none;border-top:1px solid rgba(145,119,255,.22);padding-top:8px;margin-top:4px}}

/* v0.99.304: compact live missions and immediate, scroll-safe touch controls. */
.ccw-v08 .is-live-game button{touch-action:none;user-select:none;-webkit-user-select:none}
@media(max-width:900px){
  .ccw-v08 .ccw-mission-modal.is-live-game{align-items:center!important}
  .ccw-v08 .is-live-game .ccw-mission-frame{max-height:100dvh!important;border-radius:12px!important;padding:12px!important}
  .ccw-v08 .is-live-game .ccw-mission-close{position:absolute!important;top:8px!important;right:8px!important;width:44px;height:44px}
  .ccw-v08 .is-live-game .ccw-game-head{margin-bottom:10px;padding-right:38px}
  .ccw-v08 .is-live-game .ccw-game-head h2{font-size:22px;margin:4px 0}
  .ccw-v08 .is-live-game .ccw-game-head>p,
  .ccw-v08 .is-live-game .ccw-battle-context{display:none}
  .ccw-v08 .is-live-game .ccw-mission-meta{margin:6px 0;gap:4px}
  .ccw-v08 .is-live-game .ccw-mission-meta span{font-size:9px;padding:4px}
  .ccw-v08 .is-live-game .ccw-game-controls button{flex:1 1 0;min-width:0;min-height:48px;font-size:12px}
  .ccw-v08 .is-live-game .ccw-game-controls [data-timer]{min-width:36px}
  .ccw-v08 .is-live-game .ccw-dev-crew-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .ccw-v08 .is-live-game .ccw-dev-crew-btn{min-height:48px;font-size:10px;letter-spacing:0;padding:6px 3px;overflow-wrap:anywhere}
  .ccw-v08 .is-live-game .ccw-dev-crew-btn small{display:none}
  .ccw-v08 .is-live-game .ccw-signal-grid button,
  .ccw-v08 .is-live-game .ccw-frontline-grid button{min-height:44px}
}

/* v0.99.305: permanent discovery independent of World participation. */
.ccw-v08 [data-public-directory]{margin:12px 0;min-height:44px}
.ccw-v08 .ccw-roster-profile{background:transparent;border:0;color:inherit;text-align:left;cursor:pointer;min-height:44px}
.ccw-v08 .ccw-roster-profile:hover{text-decoration:underline}
.ccw-public-directory{padding:24px;color:#dcebf2}
.ccw-public-directory form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.ccw-public-directory label{display:flex;flex-direction:column;gap:6px;flex:1 1 220px}
.ccw-public-directory input,.ccw-public-directory select{box-sizing:border-box;width:100%;min-height:44px;background:#0b1820;color:#dcebf2;border:1px solid #416477;padding:10px}
.ccw-public-directory article{padding:16px 0;border-bottom:1px solid #29404d}
.ccw-public-directory nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}
.ccw-public-participation{color:#8ed4ed;padding:12px}
