/* =====================================================================
   v7 · PATROCINADOR, CLIMA EN EL TABLERO, PROBLEMAS OPCIONALES,
        CHECK LIST QUE SE VACÍA, FLECHA DE LA BARRA IZQUIERDA, DOCK MÍNIMO
   ===================================================================== */
/* ---------- Patrocinador Cordero ---------- */
.sponsor-start { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding: 8px 18px; border-radius: 40px; border: 1px solid var(--line-faint); background: rgba(255,255,255,.03); }
.sponsor-start small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .24em; color: var(--text-faint); }
.sponsor-start img { height: 52px; width: auto; display: block; }
.sponsor-top { display: flex; align-items: center; gap: 7px; padding: 0 10px; border-left: 1px solid var(--line-faint); border-right: 1px solid var(--line-faint); flex: none; margin-left: auto; }
#topbar .hud-readouts { margin-left: 10px; }
@media (max-width: 1600px) { #topbar .hud-readouts .ro:nth-child(n+4) { display: none; } }
#topbar .brand { min-width: 0; overflow: hidden; }
#topbar .brand-title, #topbar .brand-sub { overflow: hidden; text-overflow: ellipsis; }
.sponsor-top small { font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: var(--text-faint); writing-mode: vertical-rl; transform: rotate(180deg); }
.sponsor-top img { height: 30px; width: auto; display: block; opacity: .92; }
#sponsorFloat { display: none; position: fixed; top: 12px; left: 178px; height: 30px; z-index: 62; opacity: .9; filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
body.work #sponsorFloat, body.ui-hidden #sponsorFloat { display: block; }
@media (max-width: 1280px) { .sponsor-top small { display: none; } .sponsor-top img { height: 24px; } }
@media (max-width: 1050px) { .sponsor-top { display: none; } }

/* ---------- Clima: en modo trabajo se cambia desde el tablero ---------- */
body.work #wxBar { display: none; }
.dash-opts { grid-template-columns: repeat(5, 32px); position: relative; }
#oWx { display: flex; } #oWx svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wx-pop { display: none; position: absolute; bottom: calc(100% + 8px); right: -4px; z-index: 8; gap: 5px; padding: 5px; border-radius: 24px;
  background: rgba(18,20,23,.96); border: 1px solid var(--line-soft); box-shadow: 0 8px 22px rgba(0,0,0,.6); }
.wx-pop.show { display: flex; }
.wx-pop .wxbtn { width: 32px; height: 32px; }
.dopt[data-opt="prob"].on { color: #ffb21a; border-color: rgba(255,178,26,.6); box-shadow: inset 0 0 8px rgba(255,178,26,.2), 0 2px 0 #0e0f10; }
@media (max-width: 1350px) { .dash-opts { grid-template-columns: repeat(3, 30px); } }

/* ---------- Check list: los ítems verificados desaparecen ---------- */
.ii { transition: opacity .25s, transform .25s, max-height .25s, padding .25s; max-height: 60px; overflow: hidden; }
.ii.gone { opacity: 0; transform: translateX(-24px); max-height: 0; padding-top: 0; padding-bottom: 0; }
.ii.gone.ok { background: rgba(69,212,131,.18); } .ii.gone.no { background: rgba(255,59,48,.18); }

/* ---------- Flecha de la barra izquierda ---------- */
#leftArrow { position: fixed; z-index: 16; left: 312px; top: calc(50% + 20px); transform: translateY(-50%); width: 18px; height: 52px; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: rgba(22,24,27,.92); border: 1px solid var(--line-soft); border-left: 0; border-radius: 0 8px 8px 0; color: var(--accent); transition: left .3s; }
#leftArrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .3s; }
#leftArrow:hover { background: rgba(255,196,20,.15); }
#leftArrow.closed { left: 0; }
#leftArrow.closed svg { transform: rotate(180deg); }
#left { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
body.left-hide #left { transform: translateX(calc(-100% - 14px)); }
body.left-hide #joyWrap { left: 14px; }
body.left-hide #compass { left: 26px; }
body.min-left #leftArrow:not(.closed) { left: 56px; }
body.collapsed-left #leftArrow { left: 58px; }
body.work #leftArrow, body.ui-hidden #leftArrow, body.menu #leftArrow { display: none; }

/* ---------- Barra derecha aún más compacta ---------- */
#dock { right: 8px; padding: 3px; gap: 0; border-radius: 18px; }
#dock .dbtn { width: 28px; height: 26px; }
#dock .dbtn svg { width: 15px; height: 15px; }
#dock .dock-eye { width: 22px; height: 22px; }
#dock .dsep { margin: 2px 4px; }
#quick { right: 46px; }
#detail, #specs { right: 46px; }
@media (max-height: 760px) { #dock .dbtn { height: 23px; } #dock .dbtn svg { width: 14px; height: 14px; } }
