/* Shared player-facing surfaces. Scoped to keep editor and public landing page independent. */
.game-surface{--surface-line:#c7e1e4;--surface-ink:#173f4d;--surface-teal:#119da8;max-width:1480px;margin-inline:auto;padding-bottom:32px;color:var(--surface-ink)}
/* PageHero geometry lives in page-layout.css; only its shared skin is defined here. */
.page-hero{border:1px solid var(--theme-line,#c4e1e4);background:radial-gradient(ellipse at 90% 20%,var(--theme-soft,#9fe0df66),transparent 60%),linear-gradient(125deg,var(--theme-surface,#ffffffdf),var(--theme-soft,#e9f7f5));box-shadow:0 12px 38px #18536308}
.page-hero p{color:var(--theme-muted,#597d88)}
.page-hero-orbit{border:1px solid #53b9bb55;border-radius:50%;box-shadow:0 0 0 9px #83d1cf12,0 0 0 18px #74c9c912;color:#2299a5}
.page-hero-orbit:before{content:"";position:absolute;inset:9px;border:1px dashed #57b5b977;border-radius:50%;animation:surface-orbit 45s linear infinite}
.page-hero-orbit:after{content:"";position:absolute;right:4px;top:21px;width:8px;height:8px;background:#e4ae45;box-shadow:0 0 18px #edb84c99;border-radius:50%}
.page-hero-facts>span{border:1px solid var(--theme-line,#c2dfe0);border-radius:20px;background:var(--theme-surface,#ffffffa0)}
@keyframes surface-orbit{to{transform:rotate(360deg)}}
.game-surface .world-links{margin:0 0 16px;gap:12px}.game-surface .world-links a{font-size:12px;padding:8px 12px}.surface-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 18px;border:1px solid var(--surface-line);border-radius:13px;background:var(--theme-surface,#ffffff8c);font-size:13px;margin-bottom:18px}.surface-context strong{font-variant-numeric:tabular-nums}.game-surface button,.game-surface a{touch-action:manipulation}.game-surface :is(button,a,input,select,summary):focus-visible{outline:3px solid #e6b34d;outline-offset:3px}.game-surface :is(.training-primary,.training-secondary){text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:42px;line-height:1.3;font-size:13px;padding:10px 15px;border-radius:11px;transition:box-shadow .2s,background .2s,transform .2s}.game-surface .training-primary:hover:not(:disabled){background:#216071;box-shadow:0 6px 18px #17495822;transform:translateY(-1px)}.game-surface button:disabled{opacity:.5;cursor:default}.game-surface .training-secondary:hover:not(:disabled){background:var(--theme-hover,#d8efed)}.surface-search{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--theme-muted,#557b85);min-width:0}.surface-search input{min-width:0;width:100%;font:inherit;font-size:14px;color:var(--theme-ink,#173f4d);padding:12px 15px;border:1px solid var(--theme-line,#b8d8de);border-radius:12px;background:var(--theme-surface,#ffffffd9);box-sizing:border-box}.surface-empty{text-align:center;background:var(--theme-surface,#ffffffa6);border:1px dashed var(--theme-line,#b8dadd);border-radius:20px;padding:36px 20px;margin:20px 0}.surface-empty>span{font-size:40px;color:var(--theme-accent,#3ca8b0)}.surface-empty h3{margin:10px 0}.surface-empty p{font-size:13px;color:var(--theme-muted,#68858c)}.surface-explainer{font-size:12px;margin:12px 0;color:var(--theme-muted,#577f88)}.surface-explainer summary{cursor:pointer;padding:6px 0}.surface-explainer .training-note{margin:8px 0;max-width:80ch}.game-surface h2{font-size:21px;letter-spacing:-.5px}.game-surface .training-history{border:1px solid var(--surface-line);border-radius:16px;background:var(--theme-surface,#ffffffa6);padding:16px 20px;font-size:13px}.game-surface .training-history summary{cursor:pointer;font-weight:600}.game-surface summary small{font-size:11px;color:var(--theme-muted,#6d8a92);margin-left:8px}
/* Activities: compact selectable offers, adjacent booking and inline projection. */
.activity-page .training-balances{gap:12px}.activity-page .training-balances article{padding:14px 18px;border-radius:15px;position:relative;overflow:hidden}.activity-page .training-balances span{font-size:11px;color:var(--theme-muted,#6e8790)}.activity-page .training-balances strong{font-size:24px;margin-top:4px}.activity-page .training-balances article:first-child{background:linear-gradient(120deg,#173f4d,#246370);color:#fff}.activity-page .training-balances article:first-child span{color:#b4d8d9}.activity-page .training-setup{grid-template-columns:minmax(0,1.2fr) minmax(310px,1fr);gap:20px;margin-top:14px}.activity-page .training-setup h2{margin:6px 0 14px}.activity-page .training-offers{gap:10px;max-height:570px;max-height:min(570px,65dvh);overflow:auto;padding:3px 5px 8px 3px;scrollbar-width:thin;scrollbar-color:#a8cdce transparent}.activity-page .training-offer{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:15px;border:1px solid var(--theme-line,#c5dfe2);padding:13px;border-radius:17px;background:var(--theme-surface,#ffffffbc);transition:border-color .2s,box-shadow .2s}.activity-page .training-offer.selected{border-color:#1ba6ad;background:linear-gradient(120deg,var(--theme-hover,#fff),var(--theme-hover,#e5f7f3));box-shadow:0 0 0 1px #26aab733,0 7px 18px #318a9310}.activity-page .training-offer:hover:not(:disabled){border-color:var(--theme-line,#62b8be)}.activity-page .training-offer .training-image{width:76px;height:76px;min-width:0;aspect-ratio:1;object-fit:cover;border-radius:13px;margin:0;box-shadow:0 5px 15px #184b5120}.activity-page .training-offer-copy{display:flex;flex-direction:column;gap:3px}.activity-page .training-offer-copy strong{font-size:16px;line-height:1.3}.activity-page .training-offer-copy span{font-size:11px;line-height:1.4}.activity-page .training-offer-copy small{font-size:8px}.activity-page .training-offer-copy b{font-size:12px;color:var(--theme-accent,#2d8d91)}.activity-page .training-booking{position:sticky;top:18px;padding:22px;gap:12px;border-radius:20px;border-color:var(--theme-line,#bedcdf);box-shadow:0 12px 36px #15434b0c;background:linear-gradient(145deg,var(--theme-surface,#fff),var(--theme-surface,#f1faf7))}.activity-page .training-booking h2{margin:0;font-size:21px}.activity-page .training-booking label,.activity-page .training-booking p{font-size:13px;line-height:1.5}.activity-page .training-booking small{font-size:11px}.activity-page .training-booking .attribute-dashboard{display:block;margin:0}.activity-page .training-booking .attribute-dashboard> :not(.stat-grid){display:none}.activity-page .training-booking .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.activity-page .training-booking .stat-card{padding:9px;gap:7px;border-radius:10px;min-height:0}.activity-page .training-booking .stat-card strong{font-size:15px}.activity-page .training-booking .stat-card div>span{font-size:9px}.activity-page .training-booking .stat-symbol{width:26px;height:26px;font-size:16px}.activity-page .training-booking .stat-preview{font-size:10px}.activity-page .training-booking .attribute-preview-note{font-size:10px;grid-column:1/-1;margin:4px 0}.activity-page .training-current,.activity-page .world-active{max-width:900px;margin-top:18px;box-shadow:0 12px 35px #1749580b;background:radial-gradient(ellipse at 100% 0,var(--theme-soft,#bbebe66b),transparent 65%),var(--theme-surface,#fff);border-color:var(--theme-line,#bbdfdc)}.activity-page .training-history{margin-top:20px}
/* Travel: atlas filters and compact destination tiles, imagery as a marker rather than a whole screen. */
.destination-tools{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:20px;align-items:end;margin:18px 0}.planet-filters{display:flex;flex-wrap:wrap;gap:8px}.planet-filters button{border:1px solid var(--theme-line,#c0dfe1);background:var(--theme-surface,#ffffffa8);border-radius:11px;padding:10px 15px;font-size:12px;color:var(--theme-muted,#487681);cursor:pointer;text-decoration:none}.planet-filters .selected{background:#173f4d;color:#fff;border-color:#173f4d;box-shadow:0 4px 10px #173f4d18}.planet-filters small{margin-left:7px;opacity:.75}.travel-page .planet-section{margin:24px 0}.travel-page .planet-section>h2{display:flex;align-items:center;gap:12px;color:var(--theme-ink,#315c68);font-size:16px;letter-spacing:.02em}.travel-page .planet-section>h2:after{content:"";flex:1;height:1px;background:var(--theme-soft,#c4dddf)}.travel-page .destination-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr));gap:14px}.travel-page .destination-card{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;position:relative;border:1px solid var(--theme-line,#c7e0e2);border-radius:18px;overflow:hidden;background:var(--theme-surface,#ffffffce);box-shadow:0 6px 18px #164a5206;transition:border-color .2s,box-shadow .2s}.travel-page .destination-card.is-current{border-color:#32a9af;background:linear-gradient(135deg,var(--theme-surface,#fff),var(--theme-soft,#e3f6f1));box-shadow:0 0 0 1px #32a9af22}.travel-page .destination-card>img{width:76px;height:76px;object-fit:cover;margin:16px 0 0 16px;border-radius:15px;box-shadow:0 5px 14px #21606a16}.travel-page .destination-level{position:static;grid-column:1;grid-row:2;justify-self:center;margin:8px 0 14px 12px;padding:4px 6px;font-size:9px;white-space:nowrap}.travel-page .destination-body{grid-column:2;grid-row:1/3;padding:16px 16px 16px 12px;min-width:0}.travel-page .destination-body h3{font-size:16px;margin:0 0 8px;overflow-wrap:anywhere}.destination-description{font-size:11px;color:var(--theme-muted,#65858f);margin:0 0 10px}.destination-description summary{cursor:pointer}.travel-page .destination-description p{font-size:12px;line-height:1.6;margin:8px 0}.travel-page .destination-footer{display:flex;flex-direction:column;align-items:start;gap:9px;margin:0;padding:0;border:0}.travel-page .destination-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.travel-page .destination-actions>p{width:100%;font-size:10px;margin:0}.travel-page .destination-actions button{font-size:11px;padding:8px 10px;min-height:36px}.travel-page .destination-visit{font-size:9px;text-align:left}.travel-page .location-current{font-size:12px;color:var(--theme-accent,#1f9788);padding:6px 0}
/* Overview and directory share the same materials without replacing their familiar structure. */
.overview-page .character-profile{margin-top:18px;border-radius:24px;border-color:var(--theme-line,#bcdfe1);background:radial-gradient(ellipse at 90% 0,var(--theme-soft,#d3f0e7aa),transparent 65%),var(--theme-surface,#fff);box-shadow:0 16px 42px #1f636210}.overview-page .profile-portrait{position:relative;overflow:hidden;min-height:250px;max-height:330px}.overview-page .profile-portrait:after{content:"";position:absolute;inset:0;box-shadow:inset -20px 0 50px #50d0c52b;pointer-events:none}.overview-page .profile-portrait img{height:100%;object-position:50% 18%}.overview-page .profile-details{padding:28px}.overview-page .profile-details h2{font-size:32px;margin:8px 0}.overview-page .ki-display{border-top:1px solid var(--theme-line,#cce4df);padding-top:15px}.overview-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.overview-shortcuts a{display:flex;gap:13px;align-items:center;padding:17px;background:var(--theme-surface,#ffffffba);border:1px solid var(--theme-line,#c5dfe0);border-radius:16px;text-decoration:none;color:var(--theme-ink,#214b59);transition:background .2s}.overview-shortcuts a:hover{background:var(--theme-hover,#e3f6f0)}.overview-shortcuts a>span{width:38px;height:38px;display:grid;place-items:center;background:var(--theme-soft,#e2f3ee);border-radius:11px;font-size:24px;color:var(--theme-accent,#26a0a7)}.overview-shortcuts strong,.overview-shortcuts small{display:block}.overview-shortcuts strong{font-size:13px}.overview-shortcuts small{font-size:11px;color:var(--theme-muted,#6d8790);margin-top:4px}.overview-shortcuts b{margin-left:auto;color:var(--theme-muted,#46979e)}.overview-page .stat-card{border-color:var(--theme-line,#c7e1e1);box-shadow:0 7px 20px #1f535309}.players-page .directory-panel{margin-top:20px;border-color:var(--theme-line,#c2dfe0);border-radius:22px;box-shadow:0 12px 32px #163f4808}.players-page .directory-toolbar{border-bottom:1px solid var(--theme-line,#d7e7e6);padding-bottom:14px}.players-page .directory-table tbody tr{transition:background .2s}.players-page .directory-table tbody tr:hover{background:var(--theme-hover,#eaf7f2)}.players-page .directory-player img{border:2px solid var(--theme-line,white);box-shadow:0 3px 12px #31758224}.players-page .rank-podium{background:linear-gradient(135deg,#fff0bb,#ead193);color:#806024;border:1px solid #dbc38d;border-radius:10px;padding:6px 10px}.players-page .directory-table .is-self{background:var(--theme-soft,#def3ed)}.players-page .directory-filters{background:var(--theme-surface,#f2f9f7);border-radius:14px;padding:16px}
@media(min-width:1800px){.activity-page .training-setup{grid-template-columns:minmax(0,1.5fr) minmax(350px,1fr)}.activity-page .training-offers{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}}
@media(max-width:900px){.activity-page .training-setup{grid-template-columns:1fr}.activity-page .training-booking{position:static}.activity-page .training-offers{display:flex;overflow-x:auto;overflow-y:hidden;max-height:none;scroll-snap-type:x proximity;padding-bottom:12px}.activity-page .training-offer{flex:0 0 min(320px,85%);scroll-snap-align:start;grid-template-columns:60px minmax(0,1fr)}.activity-page .training-offer .training-image{width:60px;height:60px}.destination-tools{grid-template-columns:1fr;gap:12px}.overview-shortcuts{gap:8px}.overview-shortcuts a{padding:12px;gap:8px}.overview-shortcuts a>span{display:none}}
@media(max-width:600px){.game-surface{padding-bottom:40px}.activity-page .training-balances{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.activity-page .training-balances article{padding:10px;border-radius:11px}.activity-page .training-balances strong{font-size:19px}.activity-page .training-balances small{font-size:9px;display:block}.activity-page .training-balances span{font-size:9px;line-height:1.3}.activity-page .training-booking{padding:17px;gap:10px}.activity-page .training-setup{gap:10px}.surface-context{font-size:11px;padding:11px 13px;gap:8px}.planet-filters button{padding:9px 12px;font-size:11px;min-height:40px}.travel-page .destination-grid{grid-template-columns:1fr}.travel-page .destination-card{grid-template-columns:82px minmax(0,1fr)}.travel-page .destination-card>img{width:60px;height:60px;margin-left:12px}.travel-page .destination-body{padding-left:8px}.overview-shortcuts{grid-template-columns:1fr}.overview-shortcuts a>span{display:grid}.overview-page .character-profile{grid-template-columns:110px minmax(0,1fr)}.overview-page .profile-portrait{height:100%;min-height:0;max-height:none}.overview-page .profile-details{padding:18px}.overview-page .profile-details h2{font-size:23px;overflow-wrap:anywhere}.overview-page .profile-details p{font-size:11px}.overview-page .ki-explanation{display:none}.players-page .directory-panel{padding:12px}.players-page .directory-filters{padding:12px}.game-surface .training-history{padding:14px}}
@media(prefers-reduced-motion:reduce){.game-surface *,.game-surface *:before,.game-surface *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.activity-page .training-balances article{padding:11px 16px}.booking-projection{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid var(--theme-line,#cbe2df);padding-top:12px}.booking-projection>div{display:flex;flex-direction:column;gap:5px;background:var(--theme-soft,#eaf5f0);border-radius:10px;padding:10px}.booking-projection span{font-size:10px;color:var(--theme-muted,#6d8790)}.booking-projection strong{font-size:14px}.booking-projection em{font-style:normal;color:var(--theme-ink,#168d83)}
@media(max-width:600px){.booking-projection strong{font-size:13px}}




/* Decorative item images must not start the browser's native image drag. */
.item-picture,.item-picture img{user-select:none;-webkit-user-drag:none}
