@charset "UTF-8";
:root {
  --paper:#f5f2ec;
  --ink:#302e38;
  --muted:#87848d;
  --purple:#7960ce;
  --purple-dark:#634ab3;
  --lilac:#ede7fa;
  --line:#e6e1d9;
  --white:#fffefa;
  --teal:#285c58;
  --pink:#f3dfda;
  --orange:#da835b;
  font-family: -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:default
}
button,a {
  -webkit-touch-callout:none
}
button {
  color:inherit
}
a {
  color:inherit
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #b99be8;
  outline-offset:4px
}
button {
  transition:background .16s,transform .16s,box-shadow .16s
}
button:not(:disabled):active {
  transform:translateY(1px)
}
button:disabled {
  opacity:.46
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  word-break:keep-all;
  letter-spacing:-.045em
}
p {
  line-height:1.75;
  word-break:keep-all
}
button {
  word-break:keep-all
}
input,select {
  width:100%;
  border:1px solid var(--line);
  background:#faf8f4;
  border-radius:12px;
  padding:16px;
  color:var(--ink);
  min-height:52px
}
input::placeholder {
  color:#a29da7
}
label {
  display:flex;
  justify-content:space-between;
  font-size:13px;
  font-weight:650;
  margin:20px 0 10px
}
label span {
  font-size:11px;
  color:var(--muted);
  font-weight:400
}
input:focus,select:focus {
  border-color:var(--purple);
  outline:2px solid #ddd1f8
}
small {
  font-size:11px
}
b,strong {
  font-weight:750
}
.small {
  font-size:12px
}
.muted {
  color:var(--muted)
}
.full {
  width:100%
}
.eyebrow {
  font-size:10px;
  font-weight:750;
  letter-spacing:2.1px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px
}
.eyebrow i {
  height:6px;
  width:6px;
  border-radius:50%;
  background:var(--purple)
}
.site-header {
  height:100px;
  max-width:1280px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 48px;
  border-bottom:1px solid var(--line);
  gap:20px
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  font-size:20px;
  font-weight:800;
  letter-spacing:-1px;
  flex-shrink:0
}
.brand>span:last-child {
  display:flex;
  flex-direction:column;
  gap:3px
}
.brand small {
  font-size:8px;
  letter-spacing:2.5px;
  font-weight:600;
  color:var(--muted)
}
.brand-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--purple);
  width:40px;
  height:40px;
  border-radius:13px;
  transform:rotate(-9deg);
  box-shadow:0 3px 0 #654bb8
}
.brand-mark .die-face {
  width:27px;
  height:27px;
  padding:3px;
  gap:3px;
  background:none;
  box-shadow:none
}
.brand-mark .pip {
  background:#fff9ec
}
.header-actions {
  display:flex;
  align-items:center;
  gap:24px
}
.header-note {
  font-size:12px;
  color:var(--muted)
}
.text-button {
  border:0;
  background:none;
  font-size:12px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:10px 0
}
.text-button:hover {
  color:var(--purple)
}
.icon-button {
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  width:34px;
  height:34px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  font-size:18px
}
.icon-button:hover {
  background:var(--lilac)
}
.button {
  border:0;
  border-radius:12px;
  min-height:48px;
  padding:14px 20px;
  font-size:13px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  line-height:1.4
}
.button span:last-child:not(:first-child) {
  margin-left:auto
}
.primary {
  background:var(--purple);
  color:white;
  box-shadow:0 3px 0 #614aab
}
.primary:not(:disabled):hover {
  background:var(--purple-dark);
  box-shadow:0 4px 12px #7860ce25
}
.dark {
  background:var(--ink);
  color:#fffefa
}
.dark:hover {
  background:#45414f
}
.secondary {
  border:1px solid #d9cee9;
  background:#f2edf9;
  color:var(--purple-dark)
}
.lobby {
  max-width:1184px;
  margin:0 auto;
  padding:65px 34px 0;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(340px,.9fr);
  column-gap:76px;
  align-items:start
}
.lobby-copy {
  position:relative
}
.lobby-copy h1 {
  font-size:58px;
  line-height:1.2;
  letter-spacing:-3.5px;
  margin:23px 0 20px;
  position:relative;
  font-weight:800
}
.lobby-copy h1>span:first-child {
  color:var(--purple)
}
.heading-spark {
  display:inline-block;
  font-size:42px;
  color:var(--orange);
  vertical-align:top;
  margin:3px 0 0 8px;
  transform:rotate(13deg)
}
.hero-description {
  font-size:14px;
  color:#817c88;
  line-height:1.95
}
.hero-tags {
  display:flex;
  gap:7px;
  margin-top:22px
}
.hero-tags span {
  border:1px solid #e1dad0;
  border-radius:40px;
  padding:7px 11px;
  font-size:10px;
  color:#746e7b
}
.lobby-panel {
  padding:31px 32px 18px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 10px 40px #6e5b3c06;
  margin-top:9px;
  position:relative
}
.panel-topline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:8px;
  letter-spacing:1.5px;
  color:#a39aa9;
  margin-bottom:24px
}
.mini-stars {
  font-size:23px;
  color:var(--purple);
  letter-spacing:6px
}
.lobby-panel h2 {
  font-size:26px;
  letter-spacing:-1px;
  margin-bottom:8px
}
.lobby-panel>.muted {
  font-size:12px
}
.lobby-panel form .primary {
  margin-top:15px
}
.or-divider {
  display:flex;
  align-items:center;
  gap:12px;
  color:#a49ca7;
  font-size:10px;
  margin:27px 0 4px
}
.or-divider:before,.or-divider:after {
  content:"";
  height:1px;
  background:var(--line);
  flex:1
}
.join-row {
  display:flex;
  gap:9px
}
.join-row input {
  min-width:0;
  letter-spacing:2px
}
.join-row .button {
  flex-shrink:0;
  padding:14px 18px
}
.invite-note {
  font-size:10px;
  text-align:center;
  color:#a499a6;
  margin:22px -4px 24px
}
.invite-note span {
  color:var(--purple);
  margin-right:5px
}
.practice-button {
  border:0;
  border-top:1px solid #ede8e1;
  background:none;
  display:flex;
  width:100%;
  justify-content:space-between;
  align-items:center;
  padding:18px 0 2px;
  color:#88808e;
  font-size:11px
}
.practice-button:hover {
  color:var(--purple)
}
.table-illustration {
  height:242px;
  position:relative;
  margin:5px 0 -6px;
  max-width:450px
}
.orbit {
  position:absolute;
  border:1px solid #ded7e6;
  border-radius:50%;
  width:340px;
  height:123px;
  top:79px;
  left:8px;
  transform:rotate(-12deg)
}
.orbit-two {
  width:230px;
  height:195px;
  top:26px;
  left:95px;
  transform:rotate(-18deg);
  border-style:dashed;
  opacity:.6
}
.floating-die {
  position:absolute;
  display:block;
  border-radius:20px;
  padding:5px;
  box-shadow:0 10px 0 #d4c9e2,0 22px 30px #624c7926;
  background:#f4ecfc;
  transform:rotate(-16deg)
}
.floating-die .die-face {
  background:none;
  box-shadow:none;
  width:85px;
  height:85px;
  padding:14px;
  gap:8px
}
.floating-die .pip {
  background:#8c70b6
}
.die-a {
  top:55px;
  left:48px;
  z-index:3
}
.die-b {
  top:85px;
  left:165px;
  transform:rotate(15deg);
  background:#fbf4d9;
  box-shadow:0 10px 0 #dacda9,0 22px 30px #624c7926;
  z-index:2
}
.die-b .pip {
  background:#b29657
}
.die-c {
  top:19px;
  left:262px;
  transform:rotate(-9deg);
  background:#cfe4de;
  box-shadow:0 10px 0 #a8c3b9,0 22px 30px #624c7926;
  z-index:1
}
.die-c .pip {
  background:#5f8a7c
}
.floating-chip {
  position:absolute;
  z-index:4;
  font-size:10px;
  border-radius:7px;
  padding:9px 12px;
  white-space:nowrap;
  box-shadow:0 3px 14px #392c4620
}
.chip-a {
  top:38px;
  left:3px;
  transform:rotate(-10deg);
  background:#fffefa;
  color:#8b759f;
  border:1px solid #eae0ef
}
.chip-b {
  top:154px;
  left:258px;
  transform:rotate(7deg);
  background:#e6daf9;
  color:#7853a5;
  font-size:11px;
  font-weight:750;
  letter-spacing:1px
}
.illustration-star {
  position:absolute;
  color:#c3935f;
  font-size:30px
}
.star-one {
  top:28px;
  left:210px
}
.star-two {
  top:135px;
  left:14px;
  font-size:20px;
  color:#aa8ac0
}
.table-caption {
  position:absolute;
  bottom:2px;
  left:87px;
  font-size:8px;
  font-weight:650;
  letter-spacing:2px;
  color:#a498aa
}
.lobby-bottom {
  grid-column:1/-1;
  border-top:1px solid var(--line);
  margin-top:37px;
  padding:28px 0 32px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px
}
.lobby-bottom>div {
  display:flex;
  align-items:center;
  gap:17px
}
.feature-number {
  color:#a696bd;
  font-size:11px;
  font-weight:700;
  background:#ebe4f1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%
}
.lobby-bottom p {
  display:flex;
  flex-direction:column;
  font-size:11px;
  line-height:1.8
}
.lobby-bottom b {
  font-size:12px;
  font-weight:650
}
.lobby-bottom p>span {
  color:var(--muted)
}
.site-footer {
  border-top:1px solid var(--line);
  max-width:1184px;
  margin:0 auto;
  padding:23px 34px 25px;
  display:flex;
  justify-content:space-between;
  color:#aaa0ab;
  font-size:10px
}
.site-footer>span:first-child {
  font-size:8px;
  letter-spacing:2px
}
.die-face {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(3,1fr);
  width:70px;
  height:70px;
  padding:12px;
  gap:6px;
  background:#fffaf0;
  border-radius:15px;
  box-shadow:inset 0 -2px 0 #ede6d5
}
.pip {
  display:block;
  width:100%;
  aspect-ratio:1;
  border-radius:50%;
  background:#405f58;
  opacity:0
}
.pip.visible {
  opacity:1
}
.connection {
  font-family:ui-monospace,SFMono-Regular,monospace;
  font-size:10px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#827987
}
.connection i {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#72a58a
}
.connection i.offline {
  background:#d99665
}
.waiting-wrap {
  padding:60px 24px
}
.waiting-card {
  max-width:445px;
  background:var(--white);
  margin:auto;
  border:1px solid var(--line);
  padding:38px;
  border-radius:24px;
  text-align:center
}
.waiting-card>.eyebrow {
  justify-content:center
}
.waiting-card h1 {
  font-size:30px;
  line-height:1.5;
  letter-spacing:-1.3px
}
.waiting-card>.muted {
  font-size:12px;
  margin-top:12px
}
.waiting-dice {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
  margin:35px auto 28px
}
.waiting-dice>.die-face:first-child {
  transform:rotate(-12deg);
  background:#e8def6;
  box-shadow:0 6px 0 #cbb9e3
}
.waiting-dice>.die-face:last-child {
  transform:rotate(12deg);
  background:#e5eacc;
  box-shadow:0 6px 0 #c1c8a0
}
.waiting-dice>span:not(.die-face) {
  color:var(--purple);
  font-size:23px
}
.invite-code {
  background:#f6f2fa;
  border:1px dashed #d5c8e8;
  border-radius:15px;
  margin:26px 0 17px;
  padding:18px
}
.invite-code small {
  display:block;
  color:#9b87b4
}
.invite-code strong {
  display:block;
  font-family:ui-monospace,monospace;
  font-size:34px;
  letter-spacing:9px;
  margin:8px 0 0 6px;
  color:#7153a2
}
.invite-url {
  font-size:10px;
  min-height:35px;
  padding:9px;
  margin-top:12px;
  background:none;
  text-align:center;
  color:#9d94a5
}
.waiting-card>.text-button {
  margin-top:17px;
  color:#938798
}
.waiting-tip {
  text-align:center;
  margin-top:30px;
  font-size:11px;
  color:#9c8ea4;
  line-height:1.8
}
.waiting-tip span {
  color:var(--purple);
  margin-right:7px
}
.game-layout {
  max-width:1184px;
  margin:auto;
  padding:30px 34px
}
.game-title-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:25px
}
.game-title-row h1 {
  font-size:26px;
  letter-spacing:-1px;
  margin-top:8px
}
.round-badge {
  display:flex;
  align-items:center;
  gap:12px;
  background:#eae3f3;
  padding:13px 17px;
  border-radius:12px
}
.round-badge>span {
  font-size:8px;
  letter-spacing:1.5px;
  color:#9581a7
}
.round-badge strong {
  color:#705297;
  font-size:22px;
  font-variant-numeric:tabular-nums
}
.round-badge strong small {
  font-size:11px;
  color:#a592b4;
  font-weight:500
}
.game-main {
  display:grid;
  grid-template-columns:minmax(0,1fr) 335px;
  gap:24px;
  align-items:start
}
.play-column {
  min-width:0
}
.players-bar {
  display:flex;
  gap:17px;
  position:relative;
  margin-bottom:20px
}
.player-card {
  border:1px solid var(--line);
  background:#eeebe5;
  border-radius:15px;
  padding:16px;
  display:flex;
  align-items:center;
  gap:11px;
  flex:1;
  min-width:0
}
.player-card.active {
  background:#fffdf8;
  border-color:#c4b6db;
  box-shadow:0 2px 0 #e2d8ed
}
.avatar {
  background:#e7def1;
  color:#9374b3;
  width:37px;
  height:37px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  flex-shrink:0
}
.player-1 .avatar {
  background:#eee2d7;
  color:#b38f6c
}
.player-info {
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0
}
.player-info>span {
  font-size:13px;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.player-info>span small {
  font-size:8px;
  color:#a598ad;
  font-weight:500;
  margin-left:3px
}
.player-info>small {
  font-size:9px;
  color:#a49aa7;
  white-space:nowrap
}
.player-card>strong {
  margin-left:auto;
  font-size:25px;
  font-variant-numeric:tabular-nums;
  color:#7d649a;
  display:flex;
  align-items:baseline;
  gap:4px
}
.player-1>strong {
  color:#a5876c
}
.player-card>strong small {
  font-size:10px;
  font-weight:400
}
.versus {
  position:absolute;
  top:27px;
  left:50%;
  transform:translateX(-50%);
  background:var(--paper);
  padding:2px 3px;
  font-size:8px;
  font-weight:750;
  color:#b4a7ba;
  border-radius:50%
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.section-heading h2 {
  font-size:18px;
  margin-top:7px;
  line-height:1.45
}
.section-heading h3 {
  font-size:13px;
  letter-spacing:-.3px
}
.section-heading>span {
  font-size:10px;
  color:#a297aa
}
.section-heading .eyebrow {
  font-size:8px;
  letter-spacing:1.5px
}
.phase-badge {
  background:#f0e9f8;
  padding:6px 9px;
  border-radius:6px;
  color:#9175aa!important;
  white-space:nowrap;
  align-self:flex-start
}
.skill-selection {
  padding:23px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  margin-bottom:20px
}
.skill-selection>.muted {
  margin-top:10px;
  font-size:11px
}
.ready-status {
  display:flex;
  gap:12px;
  margin:15px 0 17px;
  flex-wrap:wrap
}
.ready-status>span {
  font-size:10px;
  color:#b1a6b8;
  display:flex;
  align-items:center;
  gap:5px
}
.ready-status i {
  font-style:normal;
  border:1px solid #dcd4e1;
  width:15px;
  height:15px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  background:#f8f5fa
}
.ready-status .ready {
  color:#769e8b
}
.ready-status .ready i {
  background:#e0efe4;
  border-color:#ccdfd1
}
.skill-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px
}
.skill-card {
  border:1px solid #e9e3ec;
  background:#fffdfb;
  border-radius:12px;
  padding:13px 11px;
  display:flex;
  gap:10px;
  align-items:center;
  text-align:left;
  min-height:85px
}
.skill-card:not(:disabled):hover {
  border-color:#b39acf;
  background:#faf6ff
}
.skill-card.selected {
  background:#f2eafb;
  border-color:#a288c8;
  box-shadow:0 0 0 1px #bfaadf
}
.skill-icon {
  background:#ece4f7;
  color:#9873bd;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:25px;
  width:36px;
  height:36px;
  border-radius:11px;
  flex-shrink:0;
  font-weight:500
}
.skill-less_roll,.skill-block_category,.skill-ban_number {
  background:#f6e6df;
  color:#bf8a6c
}
.skill-sixth_die {
  background:#e1ece5;
  color:#739b85
}
.skill-shield {
  background:#e7eaf7;
  color:#8797c1
}
.skill-rewind {
  background:#f4ecd8;
  color:#b29b62
}
.skill-card-copy {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0
}
.skill-card-copy b {
  font-size:12px;
  font-weight:650
}
.skill-card-copy small {
  font-size:9px;
  line-height:1.7;
  color:#a094aa;
  word-break:keep-all
}
.skill-check {
  margin-left:auto;
  font-size:11px;
  color:#b9a4ce;
  align-self:flex-start
}
.skill-footer {
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:19px;
  border-top:1px solid #efe9f2;
  padding-top:15px
}
.skill-footer>span {
  font-size:10px;
  color:#ac9eb6;
  margin-right:auto
}
.skill-footer>span b {
  color:#9076a7;
  margin-left:3px
}
.skill-footer>.text-button {
  font-size:10px;
  color:#a294ac;
  gap:0
}
.skill-footer>.button {
  font-size:11px;
  min-height:39px;
  padding:10px 13px;
  gap:15px;
  border-radius:9px
}
.skill-target {
  border-radius:10px;
  background:#f8f5fa;
  padding:12px;
  margin-top:12px
}
.skill-target label {
  margin:0 0 10px;
  font-size:11px
}
.skill-target select {
  min-height:40px;
  padding:9px;
  font-size:12px;
  background:var(--white)
}
.number-options {
  display:flex;
  gap:8px
}
.number-options button {
  border:1px solid #e4dbe8;
  padding:5px;
  background:var(--white);
  border-radius:9px
}
.number-options button.selected {
  border-color:var(--purple);
  box-shadow:0 0 0 1px var(--purple);
  background:#eee4fa
}
.number-options .die-face {
  width:29px;
  height:29px;
  padding:4px;
  gap:3px;
  background:none;
  box-shadow:none
}
.skill-hint {
  font-size:10px;
  color:#ac92b7;
  margin-top:13px
}
.committed-panel {
  display:flex;
  align-items:center;
  gap:14px;
  padding:24px 18px;
  background:#f3eef9;
  border-radius:12px;
  color:#987bb4
}
.committed-panel>span:first-child {
  font-size:25px
}
.committed-panel b {
  font-size:13px
}
.committed-panel p {
  font-size:10px;
  margin-top:5px;
  color:#a393b0
}
.waiting-dots {
  margin-left:auto;
  letter-spacing:3px;
  animation:breathing 1.5s ease infinite
}
.board {
  position:relative;
  border-radius:20px;
  background:var(--teal);
  color:#e5eee2;
  overflow:hidden;
  box-shadow:inset 0 0 70px #173e3528,inset 0 0 0 1px #194e49;
  padding:22px 25px 24px;
  background-image:radial-gradient(#ffffff07 .8px,transparent .8px);
  background-size:5px 5px
}
.board:before {
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid #ffffff13;
  border-radius:13px;
  pointer-events:none
}
.board-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  color:#b1cec3;
  position:relative;
  z-index:1
}
.board-top>span:first-child {
  display:flex;
  align-items:center;
  gap:7px
}
.live-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#c2dca4
}
.roll-count {
  font-size:9px;
  letter-spacing:1px;
  color:#8eb4a7
}
.roll-count b {
  font-size:15px;
  color:#d9e6cb;
  margin-left:6px
}
.dice-area {
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:17px;
  padding:36px 0 20px;
  position:relative;
  z-index:1
}
.die-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;
  min-width:0
}
.die-button {
  padding:0;
  border:0;
  background:#ddd4bc;
  border-radius:14px;
  box-shadow:0 6px 0 #c4b89e,0 13px 18px #123a364d;
  transform:rotate(var(--tilt));
  transition:transform .18s,box-shadow .18s
}
.die-button:disabled {
  opacity:1
}
.die-button:not(:disabled):hover {
  transform:rotate(0deg) translateY(-3px)
}
.die-button:not(:disabled):active {
  transform:rotate(0deg) translateY(-1px)
}
.die-button .unrolled {
  opacity:.6
}
.held .die-button {
  transform:translateY(-6px);
  box-shadow:0 6px 0 #c2b695,0 0 0 3px #d7dfac,0 13px 18px #123a364d
}
.held .die-face {
  background:#f0f1cc
}
.hold-label {
  font-size:7px;
  font-weight:600;
  letter-spacing:.9px;
  color:#6f9d8d;
  white-space:nowrap;
  line-height:1.4
}
.held .hold-label {
  color:#d8dfaa
}
.banned .die-button {
  box-shadow:0 6px 0 #b6978a,0 0 0 2px #d4a388,0 13px 18px #123a364d
}
.banned .die-face {
  background:#f2ddcf
}
.banned .hold-label {
  color:#e4b097
}
.effect-tags {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:23px;
  flex-wrap:wrap;
  margin-top:18px;
  margin-bottom:-18px;
  position:relative;
  z-index:1
}
.effect-tag {
  background:#d6e9ca19;
  border:1px solid #cddcbe30;
  border-radius:5px;
  font-size:9px;
  color:#cbdbc0;
  padding:5px 8px
}
.effect-tag.negative {
  background:#f4c8a31a;
  border-color:#f4c8a334;
  color:#e3baa0
}
.plain-turn {
  font-size:9px;
  letter-spacing:.3px;
  color:#77a396
}
.board-bottom {
  text-align:center;
  position:relative;
  z-index:1
}
.board-bottom>p {
  font-size:10px;
  color:#9bbdaf;
  min-height:18px;
  margin:3px 0 17px
}
.roll-button {
  background:#ebe8cd;
  color:#375c4c;
  min-width:257px;
  border-radius:11px;
  font-size:13px;
  box-shadow:0 4px 0 #c4c4a7;
  padding:13px 19px;
  gap:12px
}
.roll-button:not(:disabled):hover {
  background:#f4f1d8;
  transform:translateY(-1px)
}
.roll-button:disabled {
  opacity:.55;
  box-shadow:0 2px 0 #a5baa0
}
.roll-button>.die-face {
  width:22px;
  height:22px;
  padding:3px;
  gap:2px;
  border-radius:4px;
  background:transparent;
  box-shadow:none
}
.roll-button small {
  font-size:9px;
  font-weight:500;
  opacity:.65;
  border-left:1px solid #51705742;
  padding-left:12px;
  margin-left:8px
}
.six-dice {
  gap:12px
}
.six-dice .die-face {
  width:61px;
  height:61px;
  padding:10px;
  gap:5px
}
.exclude-button {
  font-size:8px;
  color:#a4beae;
  border:1px solid #88ab9752;
  padding:5px 6px;
  background:none;
  border-radius:5px
}
.exclude-button.selected {
  background:#ead5c3;
  color:#5e6955;
  border-color:#ead5c3
}
.excluded .die-button {
  opacity:.45;
  transform:scale(.9) rotate(var(--tilt))
}
.turn-tools {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:13px
}
.turn-tools>.button {
  font-size:11px;
  min-height:39px;
  padding:11px 13px;
  border-radius:9px
}
.mobile-score-button {
  display:none
}
.inventory {
  margin-top:25px;
  padding:0 3px
}
.inventory-list {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:5px;
  margin-top:14px
}
.inventory-item {
  border:0;
  background:transparent;
  position:relative;
  padding:0;
  text-align:center;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:9px
}
.inventory-item .skill-icon {
  width:43px;
  height:43px;
  font-size:27px;
  border-radius:13px
}
.inventory-item small {
  font-size:8px;
  white-space:nowrap;
  color:#9d91a5;
  letter-spacing:-.3px
}
.inventory-item.used .skill-icon {
  filter:grayscale(1);
  opacity:.4
}
.inventory-item.used small {
  opacity:.5
}
.inventory-item i {
  position:absolute;
  top:29px;
  font-size:7px;
  font-style:normal;
  color:#988c9e;
  background:var(--paper);
  padding:2px 3px;
  border-radius:3px;
  white-space:nowrap
}
.inventory-item:hover .skill-icon {
  transform:translateY(-2px)
}
.game-log {
  margin-top:26px;
  border-top:1px solid var(--line);
  padding:20px 3px 0
}
.game-log .section-heading>span {
  font-size:8px;
  letter-spacing:1.5px;
  color:#b3a7b9
}
.game-log ol {
  list-style:none;
  padding:0;
  margin:12px 0 0
}
.game-log li {
  font-size:10px;
  color:#9b91a1;
  line-height:1.75;
  padding:5px 0;
  display:flex;
  gap:8px
}
.game-log li>span {
  color:#b9a1c7
}
.game-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:27px 0 0;
  margin-top:30px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:#a89cab
}
.game-bottom button {
  font-size:10px;
  color:#a89cab
}
.offline-banner {
  background:#f9e8d9;
  color:#a27b5f;
  border:1px solid #ecd4bf;
  border-radius:10px;
  padding:12px 16px;
  font-size:12px;
  margin-bottom:16px
}
.score-panel {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  position:sticky;
  top:20px;
  box-shadow:0 6px 18px #44302703
}
.score-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:23px 22px 17px
}
.score-heading .eyebrow {
  font-size:8px;
  letter-spacing:1.5px
}
.score-heading h2 {
  font-size:20px;
  margin-top:7px
}
.score-heading-icon {
  color:#b8a0c7;
  font-size:27px;
  line-height:1
}
.score-table {
  padding:0 15px
}
.score-row {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  min-height:35px;
  align-items:stretch;
  border-bottom:1px solid #f0ece7;
  font-size:11px
}
.score-row>span,.score-row>strong {
  display:flex;
  align-items:center;
  padding:7px 6px
}
.score-row>span:not(:first-child),.score-row>strong {
  justify-content:center
}
.score-labels {
  min-height:36px;
  border-bottom:1px solid var(--line);
  color:#a598ae;
  font-size:9px
}
.score-labels>span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  display:block;
  line-height:20px;
  text-align:center
}
.score-labels>span:first-child {
  text-align:left
}
.score-labels small {
  font-size:7px;
  margin-left:4px;
  opacity:.7
}
.current-column {
  background:#f4eff96b
}
.score-labels .current-column {
  color:#906fa9
}
.category-label {
  gap:8px;
  white-space:nowrap;
  font-size:10px
}
.category-label>.die-face {
  width:18px;
  height:18px;
  padding:3px;
  gap:2px;
  border-radius:4px;
  background:#eee9f0;
  box-shadow:none;
  flex-shrink:0
}
.category-label .pip {
  background:#b5a4c2
}
.category-symbol {
  font-size:17px;
  font-style:normal;
  color:#b09cbf;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  line-height:1
}
.score-cell {
  font-variant-numeric:tabular-nums;
  font-size:12px
}
.score-cell b {
  font-weight:650;
  color:#72657e
}
.empty-score {
  font-size:16px;
  color:#cec4d3
}
.score-choice {
  border:1px solid transparent;
  background:#eee6f7;
  color:#9870b5;
  width:100%;
  border-radius:5px;
  padding:3px 5px;
  font-size:12px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  font-variant-numeric:tabular-nums;
  min-height:25px
}
.score-choice small {
  font-size:9px;
  opacity:.5
}
.score-choice:hover {
  border-color:#b19acd;
  background:#e7d9f4
}
.score-choice.zero {
  color:#b5a4bd;
  background:#f2eef4
}
.score-choice.selected {
  background:#8b6eaa;
  color:white;
  border-color:#8b6eaa
}
.selected-row>.category-label {
  color:#8b6eaa;
  font-weight:700
}
.bonus-row {
  border-bottom:0;
  margin-top:4px;
  padding-top:6px;
  font-size:10px;
  color:#aa96b8
}
.bonus-row>span:first-child {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  font-size:10px
}
.bonus-row small {
  font-size:8px;
  color:#b7aabd
}
.bonus-row>span:not(:first-child) {
  gap:4px;
  font-size:12px;
  color:#a289b2
}
.bonus-value {
  font-size:10px;
  border-bottom:1px dashed #ded3e6;
  margin-bottom:6px;
  padding-bottom:7px;
  color:#b4a0bf
}
.bonus-value i {
  font-style:normal;
  margin-left:7px
}
.total-row {
  border-bottom:0;
  min-height:53px;
  margin-top:6px
}
.total-row>span {
  font-size:9px;
  font-weight:750;
  letter-spacing:1px;
  color:#8b789a
}
.total-row>strong {
  font-size:24px;
  font-variant-numeric:tabular-nums;
  color:#886a9f
}
.total-row>strong:last-child {
  color:#ad927b
}
.score-submit {
  border-top:1px solid var(--line);
  background:#fbf9f5;
  padding:16px;
  text-align:center
}
.score-submit p {
  font-size:10px;
  color:#b1a3b7;
  line-height:1.7;
  word-break:keep-all
}
.score-submit p b,.score-submit p strong {
  color:#9278a6
}
.score-submit p small {
  font-size:9px;
  display:block;
  color:#c2967d
}
.score-submit button {
  margin-top:12px;
  min-height:40px;
  font-size:11px
}
.locked-score {
  color:#c6967e;
  font-size:17px
}
.score-close {
  display:none
}
.result-card {
  text-align:center;
  padding:37px 25px;
  background:#ede5f5;
  border:1px solid #d8c8e7;
  border-radius:19px
}
.result-card>.eyebrow {
  justify-content:center;
  font-size:8px;
  color:#a78ab9;
  margin-top:20px
}
.result-sparkles {
  color:#b692c7;
  letter-spacing:8px
}
.trophy {
  font-size:75px;
  color:#ac8fc0;
  margin-top:15px
}
.result-card h2 {
  font-size:27px;
  color:#7e5b96;
  line-height:1.4
}
.result-card p {
  font-size:12px;
  color:#a189af;
  margin-top:14px
}
.result-card .button {
  margin-top:26px
}
.result-card>small {
  display:block;
  margin-top:15px;
  color:#a389b2
}
dialog {
  border:1px solid #e6deeb;
  border-radius:22px;
  max-width:560px;
  width:calc(100% - 32px);
  max-height:85dvh;
  overflow:auto;
  padding:34px;
  background:var(--white);
  color:var(--ink);
  box-shadow:0 30px 100px #29213533
}
dialog::backdrop {
  background:#2b233b66;
  backdrop-filter:blur(5px)
}
.modal-close {
  position:absolute;
  right:17px;
  top:16px;
  font-size:23px;
  z-index:2;
  background:var(--white)
}
dialog>.eyebrow {
  margin-top:7px;
  font-size:9px
}
dialog h2 {
  font-size:27px;
  margin:18px 0 15px;
  line-height:1.4
}
dialog>p {
  font-size:13px;
  color:#8d7f96
}
dialog h3 {
  font-size:15px;
  margin-top:27px;
  margin-bottom:16px
}
.rule-steps {
  margin-top:24px;
  padding:18px;
  background:#f5effa;
  border-radius:13px;
  display:flex;
  flex-direction:column;
  gap:18px
}
.rule-steps p {
  font-size:11px;
  color:#9a87a8
}
.rule-steps b {
  display:block;
  font-size:12px;
  color:#8a6c9f;
  margin-bottom:5px
}
.rule-scores {
  font-size:11px
}
.rule-scores>div {
  display:grid;
  grid-template-columns:95px 1fr;
  border-bottom:1px solid #eee8f1;
  padding:10px 0;
  gap:10px
}
.rule-scores b {
  font-weight:600;
  color:#94829f
}
.rule-scores span {
  color:#a799af;
  line-height:1.6
}
.rule-skill {
  display:flex;
  gap:14px;
  align-items:center;
  margin:15px 0
}
.rule-skill p {
  font-size:11px;
  color:#a595b0
}
.rule-skill b {
  display:block;
  font-size:12px;
  color:#9275a5;
  margin-bottom:3px
}
.rule-skill small {
  font-size:9px;
  font-weight:400;
  color:#b4a5bd;
  margin-left:7px
}
.rule-note {
  background:#f8f4ed;
  border-radius:13px;
  padding:19px;
  margin:24px 0
}
.rule-note>b {
  font-size:12px;
  color:#a48e75
}
.rule-note ul {
  padding-left:16px;
  margin:10px 0 0;
  font-size:11px;
  line-height:1.85;
  color:#aa9a87
}
.rule-note li {
  margin-bottom:8px
}
.modal-actions {
  display:flex;
  gap:12px;
  justify-content:flex-end;
  margin-top:25px
}
.modal-actions .button {
  font-size:12px
}
.large.skill-icon {
  width:58px;
  height:58px;
  font-size:35px;
  margin-top:7px
}
.copy-input {
  font-size:13px;
  margin:16px 0
}
.loading-screen {
  min-height:90vh;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:20px;
  font-size:13px;
  color:#a18dac
}
.loader {
  width:28px;
  height:28px;
  border:3px solid #e2d6ec;
  border-top-color:#8e6cad;
  border-radius:50%;
  animation:spin 1s linear infinite
}
#toast {
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translate(-50%,15px);
  background:#3b3347;
  color:#f8f1fd;
  border:1px solid #665b72;
  padding:14px 21px;
  border-radius:12px;
  font-size:12px;
  max-width:calc(100% - 32px);
  width:max-content;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s,transform .2s;
  text-align:center;
  line-height:1.6;
  box-shadow:0 6px 30px #26202f26
}
#toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
.rolling .die-item:not(.held) .die-button {
  animation:tumble .45s ease-in-out infinite;
  animation-delay:var(--delay)
}
.rolling .die-item:not(.held) .die-face {
  filter:blur(.6px)
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
@keyframes breathing {
  50% {
    opacity:.25
  }
}
@keyframes tumble {
  0% {
    transform:translateY(0) rotate(var(--tilt))
  }
  25% {
    transform:translateY(-16px) rotate(45deg)
  }
  55% {
    transform:translateY(-5px) rotate(130deg)
  }
  80% {
    transform:translateY(-10px) rotate(250deg)
  }
  100% {
    transform:translateY(0) rotate(360deg)
  }
}
@media(min-width:1400px) {
  .lobby {
    padding-top:84px
  }
  .lobby-copy h1 {
    font-size:65px
  }
  .table-illustration {
    margin-top:12px;
    height:260px
  }
  .lobby-bottom {
    margin-top:47px
  }
}
@media(max-width:1080px) {
  .site-header {
    padding:0 28px;
    height:84px
  }
  .lobby {
    column-gap:40px;
    padding:45px 28px 0;
    grid-template-columns:minmax(0,1fr) minmax(320px,.9fr)
  }
  .lobby-copy h1 {
    font-size:49px;
    letter-spacing:-3px
  }
  .heading-spark {
    font-size:30px
  }
  .table-illustration {
    transform:scale(.87);
    transform-origin:left top;
    height:225px
  }
  .lobby-panel {
    padding:27px 25px 18px
  }
  .game-layout {
    padding:25px 25px
  }
  .game-main {
    grid-template-columns:minmax(0,1fr) 300px;
    gap:18px
  }
  .game-title-row h1 {
    font-size:23px
  }
  .player-card {
    padding:13px 11px;
    gap:8px
  }
  .avatar {
    width:31px;
    height:31px;
    font-size:20px;
    border-radius:10px
  }
  .player-info>span {
    font-size:11px
  }
  .player-info>small {
    font-size:8px
  }
  .player-card>strong {
    font-size:22px
  }
  .skill-selection {
    padding:19px
  }
  .skill-grid {
    gap:7px
  }
  .skill-card {
    padding:11px 8px;
    gap:7px
  }
  .skill-card .skill-icon {
    width:30px;
    height:32px;
    font-size:23px;
    border-radius:9px
  }
  .skill-card-copy b {
    font-size:11px
  }
  .skill-card-copy small {
    font-size:8px
  }
  .skill-check {
    display:none
  }
  .dice-area {
    gap:12px
  }
  .die-button .die-face {
    width:59px;
    height:59px;
    padding:10px;
    gap:5px;
    border-radius:12px
  }
  .die-button {
    border-radius:12px
  }
  .six-dice {
    gap:10px
  }
  .six-dice .die-face {
    width:48px;
    height:48px;
    padding:8px;
    gap:4px
  }
  .board {
    padding:20px 18px 22px
  }
  .hold-label {
    font-size:6px
  }
  .section-heading h2 {
    font-size:16px
  }
  .skill-footer {
    gap:10px
  }
  .skill-footer>.text-button {
    font-size:9px
  }
  .skill-footer>span {
    font-size:9px
  }
  .inventory-item small {
    font-size:7px
  }
  .inventory-item .skill-icon {
    width:38px;
    height:38px;
    font-size:24px
  }
  .score-heading {
    padding:22px 18px 16px
  }
  .score-table {
    padding:0 11px
  }
  .score-row {
    grid-template-columns:1.4fr 1fr 1fr
  }
}
@media(max-width:800px) {
  .header-note {
    display:none
  }
  .lobby {
    max-width:600px;
    grid-template-columns:1fr;
    padding:37px 24px 0;
    gap:0
  }
  .lobby-copy {
    text-align:center
  }
  .lobby-copy>.eyebrow {
    justify-content:center;
    font-size:9px
  }
  .lobby-copy h1 {
    font-size:48px;
    margin:22px 0 17px
  }
  .hero-description {
    font-size:13px;
    line-height:1.8
  }
  .hero-tags {
    justify-content:center
  }
  .table-illustration {
    transform:scale(.88);
    transform-origin:center top;
    height:210px;
    width:420px;
    max-width:100%;
    margin:17px auto -8px;
    text-align:left
  }
  .lobby-panel {
    margin:0 auto;
    max-width:440px;
    width:100%;
    padding:25px 25px 17px
  }
  .lobby-bottom {
    margin-top:35px;
    gap:18px;
    grid-template-columns:1fr;
    padding:24px 10px
  }
  .lobby-bottom>div {
    gap:14px
  }
  .lobby-bottom p {
    flex-direction:row;
    align-items:center;
    gap:12px
  }
  .lobby-bottom p b {
    min-width:105px
  }
  .site-footer {
    margin:0 24px;
    padding:20px 0;
    font-size:9px
  }
  .site-header {
    height:77px;
    padding:0 24px
  }
  .brand {
    font-size:17px
  }
  .brand-mark {
    width:35px;
    height:35px;
    border-radius:11px
  }
  .brand small {
    font-size:7px
  }
  .header-actions {
    gap:17px
  }
  .header-actions .text-button {
    font-size:11px;
    gap:6px
  }
  .game-layout {
    padding:24px;
    max-width:660px
  }
  .game-main {
    grid-template-columns:1fr;
    gap:24px
  }
  .score-panel {
    position:relative;
    top:0
  }
  .score-table {
    padding:0 20px
  }
  .score-row {
    grid-template-columns:1.6fr 1fr 1fr;
    min-height:36px
  }
  .score-heading {
    padding:24px 23px 17px
  }
  .score-heading h2 {
    font-size:21px
  }
  .score-labels {
    font-size:11px
  }
  .category-label {
    font-size:12px
  }
  .score-row .category-label>.die-face {
    width:21px;
    height:21px;
    padding:3px;
    gap:2px
  }
  .score-cell {
    font-size:14px
  }
  .score-choice {
    font-size:14px;
    min-height:28px
  }
  .bonus-row {
    font-size:11px
  }
  .total-row {
    min-height:58px
  }
  .score-submit {
    padding:20px
  }
  .score-submit p {
    font-size:12px
  }
  .score-submit .button {
    min-height:45px;
    font-size:13px
  }
  .player-card {
    padding:16px;
    gap:12px
  }
  .avatar {
    width:37px;
    height:37px;
    font-size:24px
  }
  .player-info>span {
    font-size:13px
  }
  .player-info>small {
    font-size:9px
  }
  .player-card>strong {
    font-size:26px
  }
  .section-heading h2 {
    font-size:19px
  }
  .skill-selection {
    padding:23px
  }
  .skill-card {
    min-height:84px;
    padding:13px 12px;
    gap:12px
  }
  .skill-card .skill-icon {
    width:35px;
    height:35px;
    font-size:25px;
    border-radius:11px
  }
  .skill-card-copy b {
    font-size:12px
  }
  .skill-card-copy small {
    font-size:10px
  }
  .skill-footer>span {
    font-size:10px
  }
  .skill-footer>.text-button {
    font-size:11px
  }
  .skill-footer>.button {
    font-size:12px;
    padding:11px 16px
  }
  .board {
    padding:23px 23px 26px
  }
  .dice-area {
    gap:20px;
    padding:37px 0 22px
  }
  .die-button .die-face {
    width:72px;
    height:72px;
    padding:12px;
    gap:6px;
    border-radius:15px
  }
  .die-button {
    border-radius:15px
  }
  .hold-label {
    font-size:7px
  }
  .six-dice {
    gap:16px
  }
  .six-dice .die-face {
    width:59px;
    height:59px;
    padding:10px;
    gap:5px
  }
  .board-bottom>p {
    font-size:11px
  }
  .mobile-score-button {
    display:flex;
    flex:1
  }
  .turn-tools {
    gap:10px
  }
  .inventory-item .skill-icon {
    width:45px;
    height:45px;
    font-size:27px
  }
  .inventory-item small {
    font-size:9px
  }
  .game-log li {
    font-size:11px
  }
  .game-title-row h1 {
    font-size:24px
  }
  .game-bottom {
    font-size:9px
  }
  .connection {
    font-size:9px
  }
  .score-panel.mobile-open {
    position:fixed;
    inset:auto 0 0;
    top:auto;
    z-index:40;
    border-radius:22px 22px 0 0;
    max-height:92dvh;
    overflow:auto;
    box-shadow:0 -10px 0 100vmax #2b233b66;
    padding-bottom:env(safe-area-inset-bottom)
  }
  .mobile-open .score-close {
    display:flex
  }
  .mobile-open .score-heading-icon {
    display:none
  }
  .mobile-open .score-submit {
    position:sticky;
    bottom:0;
    box-shadow:0 -5px 20px #4731480d
  }
  .waiting-wrap {
    padding-top:40px
  }
}
@media(max-width:520px) {
  .site-header {
    padding:0 18px;
    height:72px;
    gap:8px
  }
  .brand {
    font-size:15px;
    gap:9px
  }
  .brand-mark {
    width:33px;
    height:33px;
    border-radius:10px
  }
  .brand-mark .die-face {
    width:23px;
    height:23px;
    gap:2px
  }
  .brand small {
    font-size:6px;
    letter-spacing:2px
  }
  .header-actions {
    gap:12px
  }
  .header-actions .text-button {
    font-size:10px;
    gap:3px
  }
  .header-actions .icon-button {
    width:29px;
    height:29px;
    font-size:16px
  }
  .connection {
    font-size:8px;
    gap:5px
  }
  .connection i {
    width:4px;
    height:4px
  }
  .lobby {
    padding:32px 20px 0
  }
  .lobby-copy>.eyebrow {
    font-size:8px;
    letter-spacing:1.2px
  }
  .lobby-copy h1 {
    font-size:42px;
    letter-spacing:-2.7px;
    margin-top:20px
  }
  .heading-spark {
    font-size:28px;
    margin:2px 0 0 7px
  }
  .hero-description {
    font-size:12px
  }
  .hero-tags {
    margin-top:17px
  }
  .hero-tags span {
    font-size:9px;
    padding:6px 9px
  }
  .table-illustration {
    transform:scale(.77);
    transform-origin:45% top;
    margin:17px auto -27px;
    height:198px;
    width:365px
  }
  .die-c {
    left:250px
  }
  .table-caption {
    left:61px
  }
  .lobby-panel {
    padding:25px 23px 17px;
    border-radius:20px
  }
  .lobby-panel h2 {
    font-size:25px
  }
  .lobby-panel input {
    font-size:13px
  }
  .lobby-panel>.muted {
    font-size:11px
  }
  .lobby-bottom {
    padding:25px 4px;
    gap:17px
  }
  .lobby-bottom p b {
    font-size:11px;
    min-width:100px
  }
  .lobby-bottom p>span {
    font-size:10px
  }
  .site-footer {
    margin:0 20px;
    font-size:8px;
    gap:12px
  }
  .site-footer>span:first-child {
    font-size:7px;
    letter-spacing:1.3px
  }
  .game-layout {
    padding:22px 16px
  }
  .game-title-row {
    margin-bottom:18px;
    gap:10px
  }
  .game-title-row .eyebrow {
    font-size:7px;
    letter-spacing:1.3px
  }
  .game-title-row h1 {
    font-size:20px;
    margin-top:8px;
    letter-spacing:-.7px
  }
  .round-badge {
    padding:10px 12px;
    gap:8px;
    border-radius:10px;
    flex-shrink:0
  }
  .round-badge>span {
    font-size:6px;
    letter-spacing:1px
  }
  .round-badge strong {
    font-size:19px
  }
  .round-badge small {
    font-size:9px!important
  }
  .players-bar {
    gap:11px;
    margin-bottom:16px
  }
  .player-card {
    padding:12px 10px;
    gap:7px;
    border-radius:12px
  }
  .avatar {
    width:29px;
    height:29px;
    border-radius:9px;
    font-size:20px
  }
  .player-info>span {
    font-size:11px
  }
  .player-info>small {
    font-size:7px
  }
  .player-info>span small {
    font-size:7px
  }
  .player-card>strong {
    font-size:22px;
    gap:2px
  }
  .player-card>strong small {
    font-size:8px
  }
  .versus {
    font-size:6px;
    top:25px
  }
  .skill-selection {
    padding:18px 15px;
    margin-bottom:16px;
    border-radius:15px
  }
  .section-heading h2 {
    font-size:16px;
    margin-top:7px;
    letter-spacing:-.55px
  }
  .section-heading .eyebrow {
    font-size:7px;
    letter-spacing:1.3px
  }
  .phase-badge {
    font-size:8px!important;
    padding:6px 7px
  }
  .skill-selection>.muted {
    font-size:10px;
    margin-top:10px
  }
  .ready-status {
    gap:10px;
    margin:13px 0 15px
  }
  .ready-status>span {
    font-size:9px
  }
  .skill-grid {
    gap:8px
  }
  .skill-card {
    padding:11px 9px;
    gap:8px;
    min-height:94px;
    align-items:flex-start
  }
  .skill-card .skill-icon {
    width:28px;
    height:30px;
    font-size:23px;
    border-radius:9px
  }
  .skill-card-copy {
    gap:6px
  }
  .skill-card-copy b {
    font-size:11px;
    line-height:1.5
  }
  .skill-card-copy small {
    font-size:9px;
    line-height:1.6
  }
  .skill-footer {
    gap:11px;
    flex-wrap:wrap;
    margin-top:16px;
    padding-top:13px
  }
  .skill-footer>span {
    font-size:9px
  }
  .skill-footer>.text-button {
    font-size:9px
  }
  .skill-footer>.button {
    font-size:10px;
    padding:10px 11px;
    min-height:36px;
    gap:10px
  }
  .skill-hint {
    font-size:9px
  }
  .board {
    padding:20px 16px 22px;
    border-radius:16px
  }
  .board:before {
    inset:8px;
    border-radius:11px
  }
  .board-top {
    font-size:9px
  }
  .roll-count {
    font-size:8px
  }
  .roll-count b {
    font-size:13px
  }
  .dice-area {
    gap:14px;
    padding:35px 0 19px
  }
  .die-button .die-face {
    width:49px;
    height:49px;
    padding:8px;
    gap:4px;
    border-radius:11px
  }
  .die-button {
    border-radius:11px;
    box-shadow:0 5px 0 #c4b89e,0 10px 14px #123a364d
  }
  .die-item {
    gap:12px
  }
  .hold-label {
    font-size:5px;
    letter-spacing:.45px
  }
  .six-dice {
    gap:10px
  }
  .six-dice .die-face {
    width:42px;
    height:42px;
    padding:7px;
    gap:3px
  }
  .six-dice .hold-label {
    font-size:5px
  }
  .exclude-button {
    font-size:6px;
    padding:4px 3px;
    white-space:nowrap
  }
  .board-bottom>p {
    font-size:9px;
    line-height:1.8;
    min-height:17px;
    margin-bottom:16px;
    padding:0 3px
  }
  .effect-tag {
    font-size:8px;
    padding:4px 6px
  }
  .plain-turn {
    font-size:8px
  }
  .roll-button {
    min-width:230px;
    font-size:12px;
    min-height:46px;
    padding:12px 16px
  }
  .roll-button small {
    font-size:8px
  }
  .turn-tools>.button {
    font-size:10px;
    min-height:42px
  }
  .turn-tools .mobile-score-button {
    width:100%;
    flex:auto
  }
  .inventory {
    margin-top:23px
  }
  .inventory .section-heading h3,.game-log h3 {
    font-size:12px
  }
  .inventory .section-heading>span {
    font-size:9px
  }
  .inventory-list {
    gap:3px;
    margin-top:14px
  }
  .inventory-item .skill-icon {
    width:35px;
    height:36px;
    font-size:24px;
    border-radius:11px
  }
  .inventory-item small {
    font-size:7px;
    letter-spacing:-.4px
  }
  .inventory-item {
    gap:8px
  }
  .inventory-item i {
    font-size:6px;
    top:24px
  }
  .game-log {
    margin-top:23px;
    padding-top:19px
  }
  .game-log li {
    font-size:10px
  }
  .game-bottom {
    flex-wrap:wrap;
    gap:10px;
    justify-content:space-between;
    margin-top:24px;
    padding-top:16px
  }
  .game-bottom>span {
    order:3;
    width:100%;
    text-align:center;
    margin:8px 0;
    font-size:9px
  }
  .game-bottom button {
    font-size:9px
  }
  .score-heading {
    padding:22px 20px 16px
  }
  .score-heading h2 {
    font-size:20px
  }
  .score-table {
    padding:0 16px
  }
  .score-row {
    min-height:35px;
    grid-template-columns:1.6fr 1fr 1fr
  }
  .score-cell {
    font-size:13px
  }
  .category-label {
    font-size:11px
  }
  .score-choice {
    font-size:13px
  }
  .score-row .category-label>.die-face {
    width:19px;
    height:19px
  }
  .score-labels {
    font-size:10px
  }
  .score-submit {
    padding:17px
  }
  .score-submit p {
    font-size:11px
  }
  .score-submit .button {
    font-size:12px
  }
  .score-panel.mobile-open .score-heading {
    padding:18px 20px 12px
  }
  .score-panel.mobile-open .score-row {
    min-height:31px
  }
  .score-panel.mobile-open .score-row>span {
    padding-top:5px;
    padding-bottom:5px
  }
  .score-panel.mobile-open .score-heading .eyebrow {
    display:none
  }
  .score-panel.mobile-open .score-heading h2 {
    margin-top:0
  }
  .waiting-wrap {
    padding:30px 20px
  }
  .waiting-card {
    padding:30px 25px;
    border-radius:20px
  }
  .waiting-card h1 {
    font-size:27px
  }
  .waiting-tip {
    font-size:10px
  }
  .waiting-card>.eyebrow {
    font-size:8px
  }
  .waiting-card>.muted {
    font-size:11px
  }
  .waiting-dice {
    margin:31px auto 26px;
    gap:25px
  }
  .waiting-dice>.die-face {
    width:62px;
    height:62px;
    padding:10px;
    gap:5px
  }
  .invite-code strong {
    font-size:29px
  }
  .result-card {
    padding:30px 20px
  }
  .result-card h2 {
    font-size:24px
  }
  .result-card p {
    font-size:11px
  }
  dialog {
    padding:30px 23px 24px;
    border-radius:19px
  }
  dialog h2 {
    font-size:24px;
    margin-top:16px
  }
  dialog>p {
    font-size:12px
  }
  .rule-scores>div {
    grid-template-columns:88px 1fr;
    font-size:10px
  }
  .rule-note {
    padding:16px
  }
  .modal-actions {
    gap:8px
  }
  .modal-actions .button {
    font-size:11px;
    padding:12px 15px
  }
  #toast {
    bottom:18px;
    font-size:11px;
    padding:12px 16px
  }
}
@media(max-width:360px) {
  .header-actions {
    gap:8px
  }
  .header-actions .icon-button {
    display:none
  }
  .lobby-copy h1 {
    font-size:37px
  }
  .table-illustration {
    transform:scale(.7);
    transform-origin:26% top;
    margin-bottom:-45px
  }
  .dice-area {
    gap:11px
  }
  .die-button .die-face {
    width:45px;
    height:45px;
    padding:7px;
    gap:4px
  }
  .six-dice {
    gap:8px
  }
  .six-dice .die-face {
    width:38px;
    height:38px;
    padding:6px;
    gap:3px
  }
  .game-title-row h1 {
    font-size:18px
  }
  .skill-footer {
    gap:8px
  }
  .skill-footer>span {
    font-size:8px
  }
  .skill-card-copy b {
    font-size:10px
  }
  .skill-card-copy small {
    font-size:8px
  }
  .skill-card {
    padding:10px 7px;
    gap:6px
  }
  .skill-card .skill-icon {
    width:24px;
    height:26px;
    font-size:21px
  }
  .player-info>small {
    font-size:6px
  }
  .player-card>strong {
    font-size:20px
  }
  .inventory-item small {
    font-size:6px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
.resume-button {
  margin-top:17px;
  font-size:11px;
  min-height:40px
}
.lobby-copy h1>span:not(.heading-spark) {
  color:var(--purple)
}
@media(max-width:520px) {
  .skill-card-copy small {
    font-size:10px
  }
  .skill-card-copy b {
    font-size:12px
  }
  .skill-selection>.muted {
    font-size:11px
  }
  .board-bottom>p {
    font-size:10px
  }
  .exclude-button {
    min-height:30px;
    font-size:7px
  }
  .ready-status>span {
    font-size:10px
  }
  .player-info>span {
    font-size:12px
  }
  .hold-label {
    font-size:6px
  }
}
