/* DISC conquest game (/jugar/). Loaded after site.css, so it only adds what the V6 expedition styles lack. */

/* The mission card has to hold a block title, four phrases and a button: give the stage room instead of clipping it. */
.disc-game .world-stage{height:760px}
.disc-game .mission-card{width:390px;max-height:700px}
@media(min-width:1500px){.disc-game .world-stage{height:800px}.disc-game .mission-card{width:420px;max-height:740px}}
@media(max-width:1100px){.disc-game .mission-card{width:340px}}

.disc-help{margin:0 0 12px}
.disc-options{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.disc-option{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:10px 12px;background:#fffaf0;border:1px solid #cdbfa8}
.disc-option p{margin:0;font-size:14px;line-height:1.4}
.disc-option[data-role=most]{border-color:#16222c;box-shadow:inset 4px 0 0 #16222c}
.disc-option[data-role=least]{border-color:#9c420d;box-shadow:inset 4px 0 0 #9c420d}
.disc-pick{display:flex;gap:6px}
.disc-pick button{min-height:44px;min-width:60px;padding:0 10px;border:1px solid #16222c;background:transparent;color:#16222c;font:600 13px Arial,sans-serif;cursor:pointer}
.disc-pick button:hover{background:#efe3cc}
/* MÁS and MENOS differ by fill colour and by the row marker, so the choice is not colour alone. */
.disc-pick button[aria-pressed=true][data-pick=most]{background:#16222c;color:#fffaf0}
.disc-pick button[aria-pressed=true][data-pick=least]{background:#9c420d;border-color:#9c420d;color:#fff}
.disc-status{min-height:1.5em;margin:0 0 10px;font-size:12px}
.disc-reinforcement{margin:0 0 12px;padding:10px 12px;background:#fff1cc;border-left:4px solid #f4b057}
.disc-game .mission-card .button:disabled{opacity:.5}

/* Accessible territory list: the border keeps the colour of the style chosen as MÁS in that territory. */
.disc-game .country-grid button.conquered{background:#22404f;color:#f3ebdb;border-left:6px solid var(--disc,#f0ba68)}
.disc-game .country-grid button.conquered small,.disc-game .country-grid button.conquered span{color:#d9e6ec}

.disc-result h2{font:clamp(34px,5vw,64px)/1.05 Georgia,serif;letter-spacing:-.03em;margin:12px 0 18px}
.disc-mix{font:italic 22px Georgia,serif;margin:0 0 8px}
.disc-note{max-width:70ch}
.disc-bars{display:grid;gap:16px;max-width:720px;margin:28px 0}
.disc-bar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}
.disc-bar-head strong{font:26px Georgia,serif;color:#151515}
.disc-bar-head small{font:12px Arial,sans-serif;color:#3e4747}
.disc-track{height:14px;background:#ebe3d3;border:1px solid #6f6a5d}
.disc-track i{display:block;height:100%}
.disc-chip{display:inline-block;padding:4px 10px;border-radius:3px;font:600 13px Arial,sans-serif;line-height:1.4}
.disc-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 30px}
.disc-style{max-width:960px;margin:0 0 26px;padding-top:18px;border-top:3px solid #e2ae5f}
.disc-style h3,.disc-second{font:26px Georgia,serif;margin:0 0 10px}
.disc-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px;margin-top:14px}
.disc-lists h4{font:600 13px Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;margin:0 0 6px;color:#3e4747}
.disc-lists ul{margin:0;padding-left:18px;font-size:14px;line-height:1.6;color:#3e4747}
.disc-disclaimer{max-width:760px;margin:24px 0;padding:14px 18px;background:#f7f0e0;border-left:4px solid #e2ae5f;font-size:14px;line-height:1.6}
.disc-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.disc-actions .button{width:auto;min-height:48px}
.disc-summary{width:100%;max-width:720px;margin-top:12px;padding:12px;font:13px/1.5 Arial,sans-serif;color:#151515;background:#fff;border:1px solid #8a8272}
@media(max-width:800px){
  .disc-game .world-stage{height:auto}
  .disc-game .mission-card{width:auto;max-height:none}
  .disc-option{grid-template-columns:1fr;gap:8px}
  .disc-pick button{flex:1}
  .disc-actions .button{width:100%}
}
.disc-game .mission-card em{color:#9c420d}

.disc-game #globe3d{overflow:hidden}
.disc-game #globe3d canvas{touch-action:none;user-select:none;cursor:grab}
.disc-game #globe3d canvas:active{cursor:grabbing}
.disc-game #globe3d canvas[hidden],.disc-game [hidden]{display:none}
.disc-game #globe3d .flat-world{width:100%;object-fit:fill;transform-origin:center}
.disc-game .disc-dialog{width:min(570px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:12px;color:#16222c;background:#fffaf0;border:1px solid #b6aa94;border-radius:14px;overflow:auto;overscroll-behavior:contain}
.disc-game .disc-dialog::backdrop{background:#101d27b3}
.disc-game .disc-dialog .mission-card{position:static;width:auto;max-height:none;padding:18px;overflow:visible;box-shadow:none}
.disc-game #close-mission{display:block;margin-left:auto;min-height:44px;padding:8px 12px}
@media(max-width:800px){.disc-game .world-controls button{min-height:44px;min-width:44px}}
.disc-game .disc-dialog p,.disc-game .disc-dialog .eyebrow{color:#344752}
.disc-game #close-mission{border:1px solid #6a5541;border-radius:8px;color:#16222c}
.disc-game .world-stage .mission-card h3{font-size:clamp(24px,3vw,34px)}
@media(min-width:801px){.disc-game .world-stage .mission-card{top:70px;right:22px;width:min(280px,29%);padding:18px;pointer-events:auto}.disc-game #mission-home{pointer-events:none}}

.atlas-globe-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.atlas-globe-labels span{position:absolute;transform:translate(-50%,-145%);max-width:110px;padding:3px 6px;border-radius:4px;color:#152933;background:#ffefd5ed;font:600 11px/1.15 Arial,sans-serif;white-space:nowrap}
.disc-game #globe3d{background:#0f2940}
.disc-game .world-coordinate,.disc-game .world-hint{pointer-events:none}
.disc-game .world-controls button{border-radius:8px;box-shadow:0 2px 8px #12253838}
.disc-game .world-controls button[aria-pressed=true]{color:#142b3a;background:#ffe19a}

.disc-game .country-grid button:not(:disabled){border-color:#d6a957}
.disc-game .country-grid button:disabled:not(.conquered){opacity:.55}
.disc-game .world-hint{max-width:95%;line-height:1.35}
