/* SKYLINE // Sortie — round 4: cut-ins (CUT-02..04), Ultimates (ULT-01..06), VN-style combat (VNC-01..05). */

/* ------------------------------------------------------------------ the cut-in */
#xcutin { position: absolute; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; display: none; --c: #4fc3f7; --dur: 1.6s; }
#xcutin.on { display: block; animation: xc-life var(--dur) linear forwards; }
@keyframes xc-life { 0% { opacity: 0 } 6% { opacity: 1 } 88% { opacity: 1 } 100% { opacity: 0 } }
#xcutin .xc-bg { position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, color-mix(in srgb, var(--c) 55%, #000) 0%, #05070c 75%) center / cover;
  filter: saturate(1.1); animation: xc-bg var(--dur) ease-out forwards; }
#xcutin .xc-bg[style] { filter: brightness(.55) saturate(1.2); }
@keyframes xc-bg { from { transform: scale(1.12) } to { transform: scale(1) } }
#xcutin .xc-lines { position: absolute; inset: -20%; opacity: .35; mix-blend-mode: screen;
  background: repeating-linear-gradient(-12deg, transparent 0 14px, color-mix(in srgb, var(--c) 70%, #fff) 14px 16px, transparent 16px 44px);
  animation: xc-lines .5s linear infinite; }
@keyframes xc-lines { to { transform: translateX(-90px) } }
#xcutin .xc-band { position: absolute; left: -10%; right: -10%; top: 58%; height: 26%; transform: skewY(-7deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 80%, #000) 20%, var(--c) 60%, transparent); opacity: .55; }
#xcutin .xc-shard { display: none; }
#xcutin .xc-pic { position: absolute; left: 2%; bottom: 0; height: 100%; width: 55%; display: flex; align-items: flex-end; justify-content: center;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c) 70%, transparent)); }
#xcutin .xc-pic img, #xcutin .xc-pic svg { max-height: 104%; max-width: 100%; object-fit: contain; }
#xcutin .xc-words { position: absolute; right: 4%; top: 30%; width: 48%; text-align: right; color: #fff; }
#xcutin .xc-who { font: 700 clamp(28px, 5.2vw, 64px)/1 "Bebas Neue", Orbitron, sans-serif; letter-spacing: .06em; text-shadow: 0 0 18px var(--c), 3px 3px 0 #000; }
#xcutin .xc-title { margin-top: 6px; font: 700 clamp(14px, 2vw, 24px)/1.1 Orbitron, sans-serif; letter-spacing: .22em; color: var(--c); text-shadow: 0 0 10px #000; }
#xcutin .xc-quote { margin-top: 12px; font: 600 clamp(13px, 1.6vw, 19px)/1.35 "Chakra Petch", "Noto Sans Thai", sans-serif; text-shadow: 0 2px 6px #000; }
#xcutin .xc-rule { display: block; height: 3px; margin: 10px 0 0 auto; width: 70%; background: linear-gradient(90deg, transparent, var(--c)); }
#xcutin .xc-ult { position: absolute; left: 50%; top: 8%; transform: translateX(-50%); font: 700 clamp(18px, 3vw, 36px)/1 Orbitron, sans-serif;
  letter-spacing: .5em; color: #fff; text-shadow: 0 0 14px var(--c), 0 0 30px var(--c); animation: xc-ult .5s ease-out both .1s; }
@keyframes xc-ult { from { opacity: 0; letter-spacing: 1.2em } to { opacity: 1; letter-spacing: .5em } }
#xcutin.ult .xc-band { opacity: .85; height: 34%; }
#xcutin.foe .xc-pic { left: auto; right: 2%; } #xcutin.foe .xc-words { right: auto; left: 4%; text-align: left; } #xcutin.foe .xc-rule { margin: 10px auto 0 0; }
/* motions */
#xcutin.m-slide .xc-pic { animation: xc-slide .45s cubic-bezier(.2, .9, .3, 1.2) both; } #xcutin.m-slide .xc-words { animation: xc-slide-r .45s ease-out both .12s; }
@keyframes xc-slide { from { transform: translateX(-60%); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes xc-slide-r { from { transform: translateX(40%); opacity: 0 } to { transform: none; opacity: 1 } }
#xcutin.m-zoom .xc-pic { animation: xc-zoom .6s ease-out both; } #xcutin.m-zoom .xc-words { animation: xc-fade .4s both .2s; }
@keyframes xc-zoom { from { transform: scale(1.6); filter: blur(8px); opacity: 0 } to { transform: none; filter: none; opacity: 1 } }
@keyframes xc-fade { from { opacity: 0 } to { opacity: 1 } }
#xcutin.m-split::before, #xcutin.m-split::after { content: ""; position: absolute; left: 0; right: 0; height: 50%; z-index: 3; background: #05070c;
  border-bottom: 3px solid var(--c); animation: xc-split-t .5s ease-in both .05s; }
#xcutin.m-split::before { top: 0; } #xcutin.m-split::after { bottom: 0; border-bottom: 0; border-top: 3px solid var(--c); animation-name: xc-split-b; }
@keyframes xc-split-t { from { transform: none } to { transform: translateY(-100%) } }
@keyframes xc-split-b { from { transform: none } to { transform: translateY(100%) } }
#xcutin.m-flash::before { content: ""; position: absolute; inset: 0; z-index: 4; background: #fff; animation: xc-flash .35s ease-out both; }
#xcutin.m-flash .xc-pic { animation: xc-shake .3s steps(3) 2 .1s; }
@keyframes xc-flash { from { opacity: 1 } to { opacity: 0 } }
@keyframes xc-shake { 0% { transform: translate(6px, -3px) } 50% { transform: translate(-6px, 3px) } 100% { transform: none } }
#xcutin.m-shatter .xc-shard { display: block; position: absolute; inset: 0; z-index: 4; background: var(--c); opacity: .9; }
#xcutin.m-shatter .xc-shard.s1 { clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%); animation: xc-sh1 .5s ease-in both .1s; }
#xcutin.m-shatter .xc-shard.s2 { clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%); animation: xc-sh2 .5s ease-in both .1s; }
@keyframes xc-sh1 { to { transform: translate(-70%, 20%) rotate(-12deg); opacity: 0 } }
@keyframes xc-sh2 { to { transform: translate(70%, -20%) rotate(10deg); opacity: 0 } }
#xcutin.m-rise .xc-pic { animation: xc-rise .55s cubic-bezier(.2, .9, .3, 1.1) both; } #xcutin.m-rise .xc-words { animation: xc-fade .4s both .2s; }
@keyframes xc-rise { from { transform: translateY(45%); opacity: 0 } to { transform: none; opacity: 1 } }
#xcutin.m-fade .xc-lines { animation: none; }
/* designer preview */
.ci-prev { position: relative; height: 200px; border: 1px solid var(--line, #333); border-radius: 8px; overflow: hidden; background: #05070c; display: grid; place-items: center; }
.ci-prev #xcutin { position: absolute; }
.ci-f label { display: block; margin: 4px 0; } .ci-f .row { gap: 6px; flex-wrap: wrap; align-items: center; }
.ci-row, .ws-row, .rv-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ci-row .ci-acts, .rv-row .rv-acts { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.ci-sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.ci-pick { display: block; width: 100%; margin: 4px 0; border-left: 4px solid var(--c); text-align: left; }
.rv-tabs { display: flex; gap: 4px; margin: 6px 0; } .rv-tabs .on { background: var(--accent, #4fc3f7); color: #000; }
.rv-row.ws { display: block; } .rv-row.ws .rv-acts { margin-top: 4px; } .rv-row textarea { width: 100%; font: 12px "Share Tech Mono", monospace; }
.ws-ed .row { gap: 6px; flex-wrap: wrap; align-items: center; } .ws-ult { border-left: 3px solid #ffd740; padding: 4px 8px; margin: 6px 0; }
.ws-fill label { font-size: 11px; }
#xmodal.ci-modal .xm-box, #xmodal.ws-modal .xm-box, #xmodal.rv-modal .xm-box { width: min(720px, 96vw); max-height: 90vh; overflow: auto; }

/* ------------------------------------------------------------------ Ultimate map / stage effects */
#ultfx { position: absolute; inset: 0; z-index: 69; pointer-events: none; display: none; --c: #ffd740; }
#ultfx.on { display: block; }
#ultfx.k-flash i { position: absolute; inset: 0; background: radial-gradient(circle, #fff, var(--c) 40%, transparent 75%); animation: uf-flash 1s ease-out forwards; }
@keyframes uf-flash { from { opacity: 1 } to { opacity: 0 } }
#ultfx.k-beam i { position: absolute; left: -5%; right: -5%; top: 46%; height: 8%; background: linear-gradient(transparent, #fff 40%, var(--c) 50%, #fff 60%, transparent);
  box-shadow: 0 0 40px var(--c); animation: uf-beam 1.1s ease-out forwards; transform-origin: left; }
@keyframes uf-beam { 0% { transform: scaleX(0) } 25% { transform: scaleX(1) } 70% { opacity: 1; height: 8% } 100% { opacity: 0; height: 0 } }
#ultfx.k-swarm i { position: absolute; left: -10%; top: var(--y); width: 60px; height: 3px; background: linear-gradient(90deg, transparent, #fff, var(--c));
  border-radius: 2px; animation: uf-swarm .9s ease-in forwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes uf-swarm { from { transform: translateX(0) } to { transform: translateX(120vw) } }
#ultfx.k-ring i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border: 4px solid var(--c); border-radius: 50%;
  box-shadow: 0 0 24px var(--c); animation: uf-ring 1s ease-out forwards; }
@keyframes uf-ring { from { transform: scale(.2); opacity: 1 } to { transform: scale(18); opacity: 0 } }
#ultfx.k-slowmo { backdrop-filter: grayscale(.8) contrast(1.2); animation: uf-slow 1.8s ease-out forwards; }
#ultfx.k-slowmo i { position: absolute; inset: 0; box-shadow: inset 0 0 120px var(--c); }
@keyframes uf-slow { 0% { backdrop-filter: grayscale(1) contrast(1.3) } 100% { backdrop-filter: none } }
#ultfx.k-aura i { position: absolute; inset: 0; box-shadow: inset 0 0 90px 20px var(--c); animation: uf-aura 1.2s ease-in-out forwards; }
@keyframes uf-aura { 0%, 100% { opacity: 0 } 40% { opacity: 1 } }

/* ------------------------------------------------------------------ action cards: Ultimates */
.acard.ult { border-color: #ffd740 !important; background: linear-gradient(160deg, rgba(255, 215, 64, .18), transparent 70%); }
.acard.ult .ic { color: #ffd740; }
.acard.ult.ready { box-shadow: 0 0 14px rgba(255, 215, 64, .55); animation: ult-pulse 1.4s ease-in-out infinite; }
@keyframes ult-pulse { 50% { box-shadow: 0 0 24px rgba(255, 215, 64, .9) } }

/* ------------------------------------------------------------------ VN-style combat */
#vnc { position: absolute; inset: 0; z-index: 9; display: grid; grid-template-columns: minmax(130px, 17%) 1fr; gap: 1.5%; padding: 40px 2% 70px;
  background: linear-gradient(180deg, rgba(5, 7, 12, .35), rgba(5, 7, 12, .1) 40%, rgba(5, 7, 12, .55)); }
#stage.vnc-on.planning #vnc { padding-bottom: 250px; }
.vnc-top { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; z-index: 2; }
.vnc-band { font: 700 12px Orbitron, sans-serif; letter-spacing: .18em; padding: 4px 12px; border: 1px solid; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.vnc-band.near { color: #ff8a65; border-color: #ff8a65; background: rgba(255, 138, 101, .12); }
.vnc-band.far { color: #80deea; border-color: #80deea; background: rgba(128, 222, 234, .12); }
.vnc-rd { font: 12px "Share Tech Mono", monospace; color: #cfd8dc; }
.vnc-row { display: flex; align-content: center; justify-content: center; align-items: flex-end; gap: clamp(6px, 1.6vw, 22px); flex-wrap: wrap; min-height: 0; overflow: hidden; }
.vnc-row.ally { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 6px; overflow-y: auto; }
.vnc-row.ally .vnc-u { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 6px; align-items: center; }
.vnc-row.ally .vnc-pic { height: 54px; } .vnc-row.ally .vnc-hit { display: none; }
.vnc-row.ally .vnc-aim { position: static; text-align: left; grid-column: 1 / -1; }
.vnc-u { position: relative; width: clamp(96px, 12vw, 160px); cursor: pointer; transition: transform .25s, filter .25s; --uc: #4fc3f7; }
.vnc-u:hover { transform: translateY(-4px); }
.vnc-pic { height: clamp(70px, 15vh, 180px); display: flex; align-items: flex-end; justify-content: center; filter: drop-shadow(0 4px 10px #000); }
.vnc-pic img, .vnc-pic svg { max-height: 100%; max-width: 100%; object-fit: contain; }
.vnc-card { background: rgba(8, 12, 20, .82); border: 1px solid color-mix(in srgb, var(--uc) 60%, transparent); border-top: 3px solid var(--uc); padding: 4px 6px; border-radius: 4px; }
.vnc-u.foe .vnc-card { --uc: #ef5350; }
.vnc-nm { font: 700 12px Orbitron, sans-serif; letter-spacing: .05em; color: #fff; line-height: 1.1; }
.vnc-nm small { display: block; font: 10px "Share Tech Mono", monospace; color: #90a4ae; letter-spacing: 0; }
.vb { position: relative; height: 12px; margin-top: 3px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.vb i { position: absolute; left: 0; top: 0; bottom: 0; background: #66bb6a; transition: width .4s; }
.vb.mind i { background: #ab47bc; } .vb.en i { background: #29b6f6; } .vb.ult i { background: #ffd740; } .vb.ult.ready { box-shadow: 0 0 8px #ffd740; }
.vb span { position: relative; font: 9px/12px "Share Tech Mono", monospace; color: #fff; padding-left: 3px; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.vb-band { font: 10px "Share Tech Mono", monospace; color: #90a4ae; margin-top: 3px; }
.vnc-st { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 3px; } .vnc-st .tag { font-size: 9px; padding: 0 3px; }
.vnc-hit { position: absolute; top: 4px; right: 4px; font: 700 13px Orbitron, sans-serif; padding: 1px 5px; border-radius: 3px; background: rgba(0, 0, 0, .7); }
.vnc-hit.good { color: #69f0ae; } .vnc-hit.mid { color: #ffd740; } .vnc-hit.bad { color: #ff5252; }
.vnc-aim { position: absolute; top: 0; left: 0; right: 0; z-index: 2; text-align: center; text-shadow: 0 1px 3px #000; font: 700 10px Orbitron, sans-serif; color: #ff5252; animation: blink 1s steps(2) infinite; }
.vnc-down { font: 700 12px Orbitron, sans-serif; color: #ff5252; letter-spacing: .15em; padding: 6px 0; text-align: center; }
.vnc-u.down { filter: grayscale(1) brightness(.5); cursor: default; }
.vnc-u.mine .vnc-card { box-shadow: 0 0 0 1px var(--uc), 0 0 12px color-mix(in srgb, var(--uc) 60%, transparent); }
.vnc-u.locked .vnc-pic::after { content: ""; position: absolute; inset: 10% 15%; border: 2px dashed #ffd740; }
.vnc-u.turn .vnc-card { animation: vnc-turn .8s ease-in-out infinite; }
@keyframes vnc-turn { 50% { box-shadow: 0 0 0 2px #fff, 0 0 20px var(--uc) } }
#stage.planning .vnc-u.foe:hover .vnc-card { border-color: #ffd740; }
.vnc-u.hit { animation: vnc-hit .5s steps(4); } .vnc-u.hit .vnc-pic { filter: drop-shadow(0 0 12px #ff1744) brightness(1.8); }
.vnc-u.big { animation-duration: .9s; }
@keyframes vnc-hit { 25% { transform: translateX(-8px) } 50% { transform: translateX(8px) } 75% { transform: translateX(-4px) } }
.vnc-u.fire .vnc-pic { filter: drop-shadow(0 0 16px #fff59d) brightness(1.3); }
.vnc-u.miss::after { content: "MISS"; position: absolute; top: 30%; left: 0; right: 0; text-align: center; font: 700 16px Orbitron, sans-serif; color: #b0bec5; animation: xc-fade .4s both; }
.vnc-u.jink { animation: vnc-jink .6s ease-in-out; } @keyframes vnc-jink { 40% { transform: translate(-22px, -10px) rotate(-6deg) } }
.vnc-u.flare .vnc-pic { filter: drop-shadow(0 0 18px #fff59d); }
.vnc-u.lockon .vnc-pic { outline: 2px solid #ffd740; outline-offset: -6px; }
.vnc-u.cast .vnc-card { box-shadow: 0 0 18px #ffd740; }
.vnc-line { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(760px, 92%); min-height: 34px; padding: 8px 14px;
  background: rgba(8, 12, 20, .85); border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; font: 14px "Chakra Petch", "Noto Sans Thai", sans-serif; color: #eceff1; }
.vnc-line:empty { display: none; }
.vnc-line.in { animation: xc-fade .25s both; }
#stage.vnc-on.planning .vnc-line { display: none; }
#stage.vnc-on #dialogue, #stage.vnc-on #cast .sprite { visibility: hidden; }
@media (max-width: 760px) {
  #vnc { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 34px 1% 60px; }
  #stage.vnc-on.planning #vnc { padding-bottom: 230px; }
  .vnc-row.ally { flex-direction: row; overflow-x: auto; } .vnc-row.ally .vnc-u { width: 46vw; flex: 0 0 auto; }
  .vnc-u { width: 29vw; } .vnc-pic { height: 10vh; }
  #xcutin .xc-words { top: auto; bottom: 8%; width: 70%; } #xcutin .xc-pic { width: 70%; }
}
.vnc-row.foe { align-content: flex-start; overflow-y: auto; padding-top: 10px; scrollbar-width: thin; }
.ws-eff select, .ws-eff input, .ws-ed .row select, .ws-ed .row input[type=number] { width: auto; }
.ws-eff { flex-wrap: wrap; } .ws-eff .muted { flex: 1 1 100%; font-size: 11px; }
.mk-ult { border-left: 3px solid #ffd740; padding: 4px 8px; margin: 6px 0; } .mk-ult .row { flex-wrap: wrap; gap: 6px; align-items: center; }
/* STG-03 enter the scene: a small stage preview */
.es-prev { position: relative; height: 180px; border-radius: 8px; overflow: hidden; background: linear-gradient(#1b2a3d, #0b1220); margin: 6px 0; }
.es-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: rgba(255, 255, 255, .06); }
.es-other { position: absolute; bottom: 6px; transform: translateX(-50%); font-size: 10px; color: #90a4ae; border: 1px dashed #455a64; padding: 40px 6px 2px; border-radius: 6px; }
.es-me { position: absolute; bottom: 0; height: 160px; width: 110px; display: flex; align-items: flex-end; justify-content: center; transform-origin: bottom center; }
.es-me img, .es-me svg { max-height: 100%; max-width: 100%; object-fit: contain; }
/* fix: the stage's own bars (scene tabs, session bar, cut-ins) stay with the room, not over other pages */
body:not([data-route="room"]) #scene-tabs, body:not([data-route="room"]) #sess-bar, body:not([data-route="room"]) #qte, body:not([data-route="room"]) #standby, body:not([data-route="room"]) #scene-ending { display: none !important; }
/* LIM-01 zoom punch + speed lines */
#stage.punch #map, #stage.punch #vnc { animation: lim-punch .45s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes lim-punch { 0% { transform: scale(1) } 18% { transform: scale(1.045) } 100% { transform: scale(1) } }
#punchfx { position: absolute; inset: 0; z-index: 13; pointer-events: none; display: none; }
#punchfx.on { display: block; background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 60%); animation: lim-flash .45s ease-out forwards; }
#punchfx.on::before { content: ""; position: absolute; inset: -10%; opacity: .6;
  background: repeating-conic-gradient(from 0deg, transparent 0 7deg, rgba(255, 255, 255, .55) 7deg 8deg); mask: radial-gradient(circle, transparent 28%, #000 70%);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 70%); animation: lim-lines .45s linear forwards; }
#punchfx.big::before { opacity: .9; }
@keyframes lim-flash { from { opacity: 1 } to { opacity: 0 } }
@keyframes lim-lines { from { transform: scale(1.2) rotate(0deg) } to { transform: scale(1) rotate(6deg) } }
/* QTE-01..05 */
#qte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 66; width: min(560px, 92%); display: none;
  background: rgba(8, 12, 20, .92); border: 1px solid #ffd740; border-radius: 10px; padding: 14px 16px; box-shadow: 0 0 40px rgba(255, 215, 64, .25); }
#qte.on { display: block; animation: xc-fade .2s both; }
#qte.watch { top: 18%; width: min(420px, 90%); border-color: #546e7a; box-shadow: none; }
.qt-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.qt-h b { font: 700 18px Orbitron, sans-serif; color: #ffd740; letter-spacing: .08em; } .qt-h span { color: #cfd8dc; font-size: 13px; }
.qt-time { display: block; height: 4px; background: rgba(255, 255, 255, .1); margin-top: 6px; } .qt-time i { display: block; height: 100%; width: 100%; background: #ffd740; }
.qt-bar { position: relative; height: 34px; border-radius: 6px; background: linear-gradient(90deg, #263238, #37474f); overflow: hidden; margin: 8px 0 12px; }
.qt-zone { position: absolute; top: 0; bottom: 0; background: rgba(105, 240, 174, .35); border-left: 2px solid #69f0ae; border-right: 2px solid #69f0ae; }
.qt-needle { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 10px #fff; }
.qt-big { display: block; width: 100%; padding: 14px; font: 700 20px Orbitron, sans-serif; letter-spacing: .1em; }
.qt-big small { display: block; font: 11px "Share Tech Mono", monospace; opacity: .7; letter-spacing: 0; }
.qt-count { text-align: center; font: 700 28px Orbitron, sans-serif; margin: 6px 0; } .qt-count b { color: #ffd740; }
.qt-keys { display: flex; gap: 6px; justify-content: center; margin: 8px 0; }
.qt-keys i { font: 700 26px Orbitron, sans-serif; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #546e7a; border-radius: 6px; font-style: normal; }
.qt-keys i.ok { border-color: #69f0ae; color: #69f0ae; } .qt-keys i.bad { border-color: #ff5252; color: #ff5252; }
.qt-pad { display: flex; gap: 6px; justify-content: center; } .qt-pad button { width: 56px; height: 44px; font-size: 20px; }
.qt-opts { display: grid; gap: 8px; } .qt-opts button { padding: 12px; font-size: 15px; text-align: left; border-left: 4px solid #ffd740; }
.qt-opts button.sel { background: #ffd740; color: #000; }
.qt-res { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .qt-m { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.qt-m.ok b { color: #69f0ae; } .qt-m.bad b { color: #ff5252; }
#qte.sent .qt-big, #qte.sent .qt-pad { opacity: .4; }
.qt-watch { color: #90a4ae; font-size: 13px; }
/* LOB-01 news cards (Armored Core style) */
.lb-news { position: absolute; z-index: 2; left: 2%; top: 14px; width: calc(100% - var(--lbw, 440px) - 4%); max-height: 52%; overflow-y: auto;
  scrollbar-width: thin; }
.lb-news:empty { display: none; }
@media (max-width: 760px) { .lb-news { left: 2%; right: 2%; width: auto; max-height: 34vh; } .nw-list { grid-template-columns: 1fr; } }
.nw-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .15); padding-bottom: 6px; }
.nw-tabs { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.nw-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; font: 600 11px "Bebas Neue", Orbitron, sans-serif; letter-spacing: .15em; color: #90a4ae; padding: 4px 10px; }
.nw-tabs button.on { color: #fff; border-color: var(--accent, #4fc3f7); }
.nw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 10px; }
.nw-card { display: flex; flex-direction: column; background: rgba(8, 12, 20, .78); border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--accent, #4fc3f7);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.nw-card.pin { border-left-color: #ffd740; } .nw-card.draft { opacity: .6; }
.nw-img { height: 110px; background: center / cover; filter: saturate(.85); } .nw-img.big { height: 220px; }
.nw-body { padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.nw-body b { font: 600 15px "Chakra Petch", "Noto Sans Thai", sans-serif; } .nw-body p { margin: 0; color: #b0bec5; font-size: 12px; }
.nw-meta { display: flex; gap: 8px; font: 11px "Share Tech Mono", monospace; color: #78909c; }
.nw-tag { color: #000; background: var(--accent, #4fc3f7); padding: 0 6px; font-weight: 700; letter-spacing: .1em; }
.nw-acts { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.nw-more { background: none; border: 0; color: #cfd8dc; font: 600 12px "Bebas Neue", Orbitron, sans-serif; letter-spacing: .2em; padding: 0; }
.nw-more span { color: var(--accent, #4fc3f7); font-size: 15px; margin-left: 4px; }
.nw-more:hover { color: #fff; }
.nw-full h2 { font-family: "Chakra Petch", sans-serif; margin: 8px 0; } .nw-text { line-height: 1.6; }
#xmodal.nw-modal .xm-box { width: min(760px, 96vw); max-height: 90vh; overflow: auto; }
