.lightseq-room{--lightseq-ink:#2f2747;--lightseq-soft:#f3eff9;--lightseq-line:#c8bfd9;width:min(100%,1180px);margin-inline:auto;color:var(--lightseq-ink);text-align:left}
.lightseq-room .session-banner{text-align:left;margin:0 0 24px}
.game-shell .play .lightseq-room .session-banner>.meta{margin-inline:0;text-align:left}
.lightseq-console{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);gap:clamp(24px,4vw,68px);align-items:center}
.lightseq-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(7px,1vw,13px);width:min(100%,565px);padding:clamp(10px,2vw,25px);border:1px solid #7c7489;border-radius:17px;background:linear-gradient(150deg,#746b86,#4f475f);box-shadow:inset 0 2px 1px #ffffff28,0 9px 18px #38284719}
.lightseq-board>.lightseq-pad{position:relative;display:grid;place-items:center;isolation:isolate;min-width:0;min-height:44px;aspect-ratio:1;padding:0;border:1px solid #c9bfd7;border-radius:9px;background:linear-gradient(148deg,#f8f3fd,#d9d0e8);color:#504465;box-shadow:inset 0 0 0 2px #ffffff4d,0 2px 2px #29213640;font:inherit;font-size:clamp(1.25rem,3vw,2.45rem);font-weight:740;font-variant-numeric:tabular-nums}
.lightseq-board>.lightseq-pad:disabled{opacity:1;cursor:default}
.lightseq-board>.lightseq-pad:enabled{cursor:pointer}
.lightseq-board>.lightseq-pad:enabled:hover{background:#f7efff;border-color:#fdfaff}
.lightseq-board>.lightseq-pad:enabled:active{box-shadow:inset 0 3px 12px #5d3c9f4d}
.lightseq-board>.lightseq-pad[data-lightseq-active="true"]{background:#6941e6;border-color:#f4efff;color:#fff;box-shadow:inset 0 0 0 3px #c7b2ff,0 0 17px #c6a6ffbf}
.lightseq-board>.lightseq-pad[data-lightseq-active="true"]::before{content:"";position:absolute;inset:12%;z-index:-1;border-radius:18%;background:radial-gradient(ellipse,#875dfb,#6b43e8 65%,#6338e5)}
.lightseq-room button:focus-visible{outline:3px solid #a67ef7;outline-offset:3px}
.lightseq-console>aside{min-width:0;border-top:2px solid #aa99c7;padding-top:20px}
.game-shell .play .lightseq-console>aside>p{text-align:left;margin:0 0 20px;font-size:.95rem;line-height:1.7;color:#5c5270}
.lightseq-console>aside>h3{margin:16px 0 12px;font-size:1.06rem}
.lightseq-console>aside>.actions{justify-content:flex-start;margin:19px 0 0;gap:10px}
.game-shell .play .lightseq-console>aside .lightseq-observed{font-variant-numeric:tabular-nums}
.lightseq-observed strong{font-size:2rem;color:var(--lightseq-ink)}
.lightseq-slots{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.lightseq-slots>li{display:grid;place-items:center;width:42px;height:44px;border:1px dashed #bfb2d3;border-radius:5px;background:#faf8fd;font-size:1.06rem;font-variant-numeric:tabular-nums}
.lightseq-slots>[data-lightseq-value]{border-style:solid;background:#ece3fa}
.lightseq-slots>li>span{color:#6c607e}
.lightseq-room[data-lightseq-phase="interrupted"] .lightseq-console>aside{border-color:#b79061}
.lightseq-record{margin:0;padding:18px 20px;border-top:2px solid #9e8dbd;background:#fcfafd;min-width:0}
.lightseq-record>h3{display:flex;gap:7px 13px;justify-content:space-between;flex-wrap:wrap;margin:0 0 13px;font-size:1rem}
.lightseq-record [data-lightseq-score]{font-variant-numeric:tabular-nums}
.lightseq-table table{border-collapse:collapse;width:100%;font-size:.87rem;line-height:1.4;font-variant-numeric:tabular-nums}
.lightseq-table :is(td,th){padding:10px 7px;text-align:left;border-top:1px solid #e0d9ea;overflow-wrap:anywhere}
.lightseq-table tr[data-lightseq-match="true"] td:last-child{color:#356451;background:#e8f2ed}
.lightseq-table tr[data-lightseq-match="false"] td:last-child{color:#794f33;background:#f8ecdf}
.lightseq-room[data-lightseq-phase="review"] .lightseq-record{max-width:700px}
.game-shell .play .lightseq-room .lightseq-total{text-align:left;margin:18px 0;font-size:1.06rem}
.lightseq-total strong{font-size:2.7rem;font-variant-numeric:tabular-nums}
.lightseq-archive{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
@media(min-width:1100px){
  .game-shell.wide .lightseq-board{width:min(100%,565px,max(270px,calc(100dvh - 195px)))}
}
@media(max-width:800px){
  .lightseq-console{grid-template-columns:minmax(0,1fr);align-items:start;gap:22px}
  .lightseq-board{width:min(100%,455px)}
  .lightseq-console>aside{width:min(100%,455px);padding-top:14px}
  .lightseq-archive{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:539px){
  .lightseq-room .session-banner{margin-bottom:17px}
  .lightseq-archive{grid-template-columns:minmax(0,1fr)}
  .lightseq-record{padding:14px 9px}
  .lightseq-console>aside>.actions .button{min-height:44px}
}

.page-game .game-shell.theme-lightseq:has(.lightseq-room) {
  --light-stage:#e7f1eb;
  --light-ink:#182d2f;
  --light-accent:#245b53;
  background:var(--light-stage);
  color:var(--light-ink);
}
.page-game .game-shell.theme-lightseq:has(.lightseq-room) .game-toolbar {
  background:var(--light-stage);color:var(--light-ink);border-color:#a5bdb0;
}
.page-game .game-shell.theme-lightseq:has(.lightseq-room) .game-toolbar .button,
.page-game .game-shell.theme-lightseq .play .lightseq-room .button.secondary {
  background:#f6fcf7;color:var(--light-ink);border-color:#78998c;
}
.page-game .game-shell.theme-lightseq .play .lightseq-room .button:not(.secondary) {
  background:var(--light-accent);color:white;border-color:var(--light-accent);
}
.page-game .game-shell.theme-lightseq .play .lightseq-room .button:not(.secondary):hover {background:#1f4942}
.page-game .game-shell.theme-lightseq .play .lightseq-room .button:disabled {
  background:#dce6de;color:#495b51;border-color:#96ab9e;opacity:1;
}
.game-shell.theme-lightseq .play .lightseq-room {
  --lightseq-ink:var(--light-ink);--lightseq-line:#adc6b8;--lightseq-soft:var(--light-stage);
}
.game-shell.theme-lightseq .play .lightseq-room .session-banner h2 {
  color:var(--light-ink);font-size:clamp(1.7rem,4.6vw,3.5rem);line-height:1.08;letter-spacing:-.035em;
  margin-inline:0;
}
.game-shell.theme-lightseq .play .lightseq-room .session-banner>.meta {color:var(--light-accent)}
.lightseq-board {
  padding:clamp(.55rem,1.9vw,1.4rem);
  border-color:#273634;border-radius:clamp(.75rem,1.4vw,1.1rem);
  background:linear-gradient(145deg,#3a4b48,#253632);
  box-shadow:inset 0 2px 1px #ffffff28,0 .3rem 0 #192925,0 .8rem 1.5rem #233f3535;
}
.lightseq-board>.lightseq-pad {
  background:linear-gradient(145deg,#526560,#3b4d47);
  border-color:#768880;color:#fffdf5;border-radius:clamp(.4rem,1vw,.68rem);
  box-shadow:inset 0 0 0 2px #ffffff1f,0 .22rem 0 #172720;
  font-size:clamp(1.5rem,4vw,3.3rem);
}
.lightseq-board>.lightseq-pad:enabled:hover {background:#61756c;border-color:#b6cdbd}
.lightseq-board>.lightseq-pad:enabled:active {box-shadow:inset 0 .18rem .5rem #192a24}
.lightseq-board>.lightseq-pad[data-lightseq-active="true"] {
  background:#fbc343;color:#281f10;border-color:#ffecac;
  box-shadow:inset 0 0 0 3px #ffe9a6,0 0 .75rem #ffd45894;
}
.lightseq-board>.lightseq-pad[data-lightseq-active="true"]::before {content:none}
.lightseq-board>.lightseq-pad:focus-visible {outline-color:#ffd766}
.lightseq-console>aside {border-color:#7da093}
.game-shell .play .lightseq-console>aside>p {color:#3a5149}
.game-shell .play .lightseq-console>aside>.actions {justify-content:flex-start;flex-wrap:wrap;margin-inline:0}
.lightseq-observed strong {font-size:clamp(2.4rem,5vw,4.25rem);letter-spacing:-.03em;line-height:1}
.lightseq-slots>li {border-color:#789286;background:#f6fcf7}
.lightseq-slots>[data-lightseq-value] {background:#d4e7db}
.lightseq-slots>li>span {color:#41584e}
.lightseq-record {background:#f5fbf6;border-color:#7da093}
.lightseq-table :is(td,th) {border-color:var(--lightseq-line)}
@media(max-width:800px) {
  .page-game .game-shell.theme-lightseq.wide .play:has(.lightseq-room) {justify-content:flex-start;min-height:0;margin-block:0;padding-block:1.15rem 2rem}
  .lightseq-console {gap:1rem}
}
