:root {
  --brand:#0FB5AE;
  --brand-dark:#0A8F8A;
  --brand-soft:#E6F8F7;
  --brand-soft2:#D2F2F0;
  --ink:#0F2A2E;
  --muted:#6B8A8C;
  --line:#D6E7E6;
  --ok:#12A150;
  --ok-soft:#EAFBF1;
  --white:#fff;
  --danger:#C0392B;
  --shadow:0 8px 24px rgba(15,42,46,.08);
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: #F6FBFA;
  color: var(--ink);
  font:
    16px/1.45 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}
.ja {
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    -apple-system,
    sans-serif;
}
.hidden {
  display: none !important;
}
a {
  color: var(--brand-dark);
  cursor: pointer;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
}
.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}
.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: .2px;
}
.brand .dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background:
    linear-gradient(
      135deg,
      var(--brand),
      #3FD6CF);
  display: inline-block;
}
.brand .name {
  font-size: 16px;
}
.topbar .who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.pill {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 12px;
}
.pill.guest {
  background: #FFF4E5;
  color: #B26A00;
}
.tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: -webkit-sticky;
  position: sticky;
  top: 58px;
  z-index: 40;
}
.tabs .wrap {
  display: flex;
  gap: 4px;
  padding: 0 10px;
}
.tab {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--muted);
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
}
.tab.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand);
}
main {
  padding: 18px 0 60px;
}
h2.sec {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 22px 0 10px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.spread {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.center {
  text-align: center;
}
.btn {
  font: inherit;
  padding: 11px 18px;
  border-radius: 11px;
  border: 1px solid var(--line);
  white-space: nowrap;
  background: var(--white);
  color: var(--ink);
}
.btn.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn.primary:active {
  background: var(--brand-dark);
}
.btn.ghost {
  background: transparent;
}
.btn.sm {
  padding: 8px 13px;
  font-size: 13px;
  border-radius: 9px;
}
.btn:disabled {
  opacity: .45;
  cursor: default;
}
.btn.block {
  display: block;
  width: 100%;
}
.hero {
  background:
    linear-gradient(
      120deg,
      var(--brand),
      #37CBC4);
  color: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.hero .pts {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.hero .lbl {
  font-size: 12px;
  opacity: .9;
}
.hero .sub {
  font-size: 13px;
  opacity: .95;
  margin-top: 4px;
}
.cardgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.gcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gcard .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.gcard h3 {
  margin: 0;
  font-size: 17px;
}
.gcard .desc {
  font-size: 12.5px;
  color: var(--muted);
  min-height: 32px;
  line-height: 1.5;
}
.bar {
  height: 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  transition: width .3s;
}
.gcard .meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 700;
  font-size: 11px;
  border-radius: 999px;
  padding: 3px 9px;
}
.gcard.soon {
  opacity: .7;
  border-style: dashed;
}
.gcard.soon .ico {
  background: #F0F4F4;
}
.lb {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lb .lbrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.lb .lbrow:last-child {
  border-bottom: none;
}
.lb .rk {
  width: 26px;
  text-align: center;
  font-weight: 800;
  color: var(--muted);
}
.lb .lbrow.me {
  background: var(--brand-soft);
}
.lb .nm {
  flex: 1;
  font-weight: 600;
}
.lb .pt {
  font-weight: 800;
  color: var(--brand-dark);
}
.lb .rk.g1 {
  color: #E0A100;
}
.lb .rk.g2 {
  color: #9AA7A8;
}
.lb .rk.g3 {
  color: #C08457;
}
.empty {
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.statrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat .v {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-dark);
}
.stat .k {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.prow {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.prow .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}
.prow .body {
  flex: 1;
  min-width: 0;
}
.prow .body h4 {
  margin: 0 0 4px;
  font-size: 15px;
}
.gamehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.gamehead .t {
  font-weight: 800;
  font-size: 16px;
}
.counter {
  font-size: 13px;
  color: var(--muted);
}
.gboard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
#slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-height: 56px;
  padding: 10px;
}
.slot {
  min-width: 42px;
  height: 52px;
  padding: 0 6px;
  border-radius: 10px;
  border: 2px dashed var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot.wide {
  min-width: 64px;
  padding: 4px 8px;
  height: auto;
  min-height: 42px;
}
.slot.correct {
  border-style: solid;
  border-color: var(--ok);
  background: var(--ok-soft);
}
.slot.over {
  border-color: var(--brand);
}
.gap {
  width: 16px;
}
#bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  min-height: 56px;
}
.tile {
  min-width: 44px;
  height: 52px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #F1F6F5;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  white-space: nowrap;
}
.tile.word {
  font-size: 16px;
  height: auto;
  min-height: 44px;
  padding: 10px 14px;
}
.tile.dragging {
  opacity: .22;
}
.slot .tile {
  background: #fff;
  border-color: transparent;
}
.slot.correct .tile {
  background: var(--ok-soft);
}
.dragghost {
  position: fixed;
  z-index: 1200;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  opacity: .97;
}
.gnav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.gnav .btn {
  min-width: 130px;
}
.hintwrap {
  display: flex;
  justify-content: center;
  margin: 6px 0 12px;
}
.hintcard {
  width: 210px;
  height: 140px;
  perspective: 900px;
  cursor: pointer;
}
.hintcard .inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
  transform-style: preserve-3d;
}
.hintcard.open .inner {
  transform: rotateY(180deg);
}
.hintcard .face {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hintcard .front {
  flex-direction: column;
  gap: 4px;
  background:
    linear-gradient(
      180deg,
      #fff,
      var(--brand-soft));
}
.hintcard .front .w {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand-dark);
}
.hintcard .front .s {
  font-size: 11px;
  color: var(--muted);
}
.hintcard .back {
  transform: rotateY(180deg);
  padding: 8px;
  text-align: center;
}
.hintcard .back img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  display: block;
}
.hintcard .back .emoji {
  font-size: 70px;
  line-height: 1;
}
.hintcard .back .noimg {
  font-size: 12.5px;
  color: #555;
  padding: 0 10px;
  line-height: 1.6;
}
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  padding: 12px;
  z-index: 2100;
  pointer-events: none;
}
.sheet .card {
  pointer-events: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .16);
}
.sheet .check {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.sheet h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.sheet .word {
  font-size: 19px;
  font-weight: 800;
  margin: 2px 0 8px;
  line-height: 1.3;
}
.sheet .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ok);
  letter-spacing: .08em;
  margin: 8px 0 2px;
}
.sheet .ex {
  font-size: 15px;
  color: #333;
  line-height: 1.55;
}
.sheet .btns {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
  flex-wrap: wrap;
}
.plus1 {
  display: inline-block;
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  margin-left: 8px;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 42, 46, .45);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal .box {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.modal h1 {
  font-size: 19px;
  margin: 0 0 4px;
}
.modal .lead {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.6;
}
.modal label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 4px;
}
.modal input {
  width: 100%;
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.modal .err {
  color: var(--danger);
  font-size: 12px;
  min-height: 16px;
  margin-top: 8px;
}
.modal .switch {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
footer {
  color: #A9BFBE;
  font-size: 11.5px;
  text-align: center;
  padding: 18px 0 34px;
}
.picaudio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 6px 0 14px;
}
.picplay {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: none;
  font-size: 34px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      var(--brand),
      #3FD6CF);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 181, 174, .35);
}
.picplay:active {
  transform: scale(.96);
}
.picgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.pictile {
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  transition:
    border-color .15s,
    background .15s,
    transform .08s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.pictile:active {
  transform: scale(.97);
}
.pictile .picemoji {
  font-size: clamp(52px, 17vw, 86px);
  line-height: 1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.pictile.ok {
  border-color: var(--ok);
  background: var(--ok-soft);
  box-shadow: 0 0 0 4px rgba(18, 161, 80, .15);
}
.pictile.no {
  border-color: var(--danger);
  background: #FDECEA;
}
.pictile.dim {
  opacity: .45;
}
.pictile.shake {
  animation: picshake .4s;
}
@keyframes picshake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}
.picanswer {
  margin: 16px auto 0;
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
}
.picword {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .5px;
}
.pickana {
  font-size: 16px;
  color: var(--brand-dark);
  margin-top: 2px;
}
.picja {
  font-size: 18px;
  margin-top: 4px;
}
.picsent {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.picsentbtn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  cursor: pointer;
}
.picstrikes {
  min-height: 18px;
  margin: 10px 0 0;
}
.picstrikes.warn {
  color: var(--danger);
  font-weight: 700;
}
.picsentxt {
  font-size: 15px;
  color: #333;
}
.picbig {
  font-size: 64px;
  line-height: 1;
  margin: 4px 0 6px;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.strikes {
  min-height: 18px;
  margin: 8px 0 0;
}
.strikes.warn {
  color: var(--danger);
  font-weight: 700;
}
.slot.reveal {
  border-color: var(--ok);
  background: var(--ok-soft);
}
.audiorow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 12px;
}
.speakbtn {
  border: none;
  background:
    linear-gradient(
      135deg,
      var(--brand),
      #3FD6CF);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 181, 174, .32);
  cursor: pointer;
}
.speakbtn:active {
  transform: scale(.96);
}
.hm-clue {
  text-align: center;
  margin: 6px 0 12px;
}
.hm-emoji {
  font-size: 56px;
  line-height: 1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.hm-hint {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.hm-slots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 12px;
}
.hm-slot {
  width: 42px;
  height: 52px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  text-transform: lowercase;
}
.hm-slot.on {
  border-color: var(--ok);
  background: var(--ok-soft);
  color: var(--ok);
}
.hm-strikes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 6px 0 12px;
  min-height: 22px;
  font-size: 17px;
}
.hm-heart.gone {
  filter: grayscale(1);
  opacity: .5;
}
.hm-keys {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 520px;
  margin: 0 auto;
}
.hm-key {
  font: inherit;
  font-weight: 700;
  padding: 11px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.hm-key:active {
  transform: scale(.96);
}
.hm-key.used {
  opacity: .4;
  background: #F0F4F4;
}
.hm-fail {
  text-align: center;
  color: var(--danger);
  font-weight: 700;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}
.ml-clue {
  text-align: center;
  margin: 6px 0 12px;
}
.ml-emoji {
  font-size: 56px;
  line-height: 1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.ml-hint {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.ml-slots {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 12px;
}
.ml-slot {
  width: 40px;
  height: 50px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  font-weight: 800;
}
.ml-slot.fixed {
  border-color: transparent;
  background: transparent;
  color: var(--brand-dark);
}
.ml-slot.gap {
  border-style: dashed;
}
.ml-slot.gap.ok {
  border-style: solid;
  border-color: var(--ok);
  background: var(--ok-soft);
  color: var(--ok);
}
.ml-slot.reveal {
  border-color: var(--ok);
  background: var(--ok-soft);
}
.ml-strikes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 6px 0 12px;
  min-height: 22px;
  font-size: 17px;
}
.ml-bank {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}
.ml-tile {
  font: inherit;
  font-weight: 800;
  font-size: 20px;
  width: 46px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.ml-tile:active {
  transform: scale(.96);
}
.ml-tile.used {
  opacity: .35;
  background: #F0F4F4;
}
.gc-sent {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin: 10px 0 2px;
}
.gc-ja {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}
.gc-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.gc-opt {
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.gc-opt:active {
  transform: scale(.97);
}
.gc-opt.right {
  border-color: var(--ok);
  background: var(--ok-soft);
  color: var(--ok);
}
.gc-opt.wrong {
  border-color: var(--danger);
  background: #FDECEA;
  color: var(--danger);
}
.gc-why {
  text-align: center;
  font-size: 14px;
  color: var(--brand-dark);
  margin-top: 14px;
  min-height: 20px;
  line-height: 1.6;
}
.gc-opts.two {
  grid-template-columns: 1fr 1fr;
  max-width: 440px;
}
.op-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 560px;
  margin: 8px auto 12px;
}
.op-tile {
  font: inherit;
  border: 3px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 10px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 104px;
}
.op-tile:active {
  transform: scale(.97);
}
.op-tile.sel {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 181, 174, .16);
}
.op-tile.ok {
  border-color: var(--ok);
  background: var(--ok-soft);
}
.op-emoji {
  font-size: 32px;
  line-height: 1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.op-word {
  font-weight: 800;
  font-size: 14px;
}
.op-ja {
  font-size: 11px;
  color: var(--muted);
}
.cb-baskets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0 14px;
}
.cb-basket {
  border: 2px dashed var(--brand);
  border-radius: 14px;
  background: var(--brand-soft);
  padding: 8px;
  min-height: 120px;
  cursor: pointer;
}
.cb-basket:active {
  transform: scale(.99);
}
.cb-bemoji {
  font-size: 24px;
  text-align: center;
}
.cb-bname {
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.cb-bin {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cb-intile {
  background: #fff;
  border: 1px solid var(--ok);
  border-radius: 9px;
  padding: 4px 6px;
  text-align: center;
}
.cb-iw {
  font-weight: 800;
  font-size: 13px;
}
.cb-ija {
  font-size: 11px;
  color: var(--muted);
}
.cb-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 4px 0 8px;
}
.cb-tile {
  font: inherit;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  min-width: 92px;
  text-align: center;
}
.cb-tile:active {
  transform: scale(.97);
}
.cb-tile.sel {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 181, 174, .16);
}
.cb-tw {
  font-weight: 800;
  font-size: 15px;
}
.cb-tja {
  font-size: 11px;
  color: var(--muted);
}
.ld-goal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}
.ld-tag {
  font-size: 11px;
  color: var(--muted);
  background: #F0F4F4;
  border-radius: 999px;
  padding: 3px 9px;
}
.ld-word {
  font-weight: 800;
  font-size: 20px;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.ld-word.end {
  background: #FFF4E5;
  color: #B26A00;
}
.ld-arrow {
  color: var(--muted);
  font-size: 18px;
}
.ld-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 6px 0 14px;
}
.ld-chip {
  font-weight: 800;
  font-size: 17px;
  padding: 7px 14px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid var(--ok);
  color: var(--ok);
}
.ld-chip.next {
  border-style: dashed;
  border-color: var(--line);
  color: var(--muted);
  font-weight: 700;
}
.ld-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 4px 0 8px;
}
.ld-tile {
  font: inherit;
  font-weight: 800;
  font-size: 19px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.ld-tile:active {
  transform: scale(.96);
}
.an-find {
  text-align: center;
  margin: 6px 0 10px;
}
.an-foundrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}
.an-found {
  font-weight: 800;
  font-size: 15px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #F0F4F4;
  color: var(--muted);
  letter-spacing: 1px;
}
.an-found.ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.an-build {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  min-height: 52px;
  align-items: center;
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 8px;
  max-width: 520px;
  margin: 0 auto 12px;
}
.an-chip {
  font-weight: 800;
  font-size: 20px;
  padding: 5px 12px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.an-chip.ghost {
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.an-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 12px;
}
.an-tile {
  font: inherit;
  font-weight: 800;
  font-size: 20px;
  width: 48px;
  height: 52px;
  border-radius: 11px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.an-tile:active {
  transform: scale(.96);
}
.an-tile.used {
  opacity: .32;
  background: #F0F4F4;
}
.an-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 4px;
}
.ws-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 6px 0 12px;
}
.ws-word {
  font-weight: 800;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.ws-word.ok {
  background: var(--ok-soft);
  color: var(--ok);
  text-decoration: line-through;
}
.ws-grid {
  display: grid;
  gap: 4px;
  max-width: 520px;
  margin: 0 auto;
}
.ws-cell {
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-transform: lowercase;
}
.ws-cell.sel {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.ws-cell.ok {
  background: var(--ok-soft);
  border-color: var(--ok);
  color: var(--ok);
}
.wrap {
  max-width: 940px;
}
.hdr {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
}
.hdrin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.blogo {
  font-size: 27px;
  line-height: 1;
}
.btxt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.bname {
  font-weight: 800;
  color: var(--brand-dark);
  font-size: 16px;
  white-space: nowrap;
}
.btag {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}
.hnav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hnavi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 11px;
  white-space: nowrap;
  flex: none;
}
.hnavi .hi {
  font-size: 18px;
  line-height: 1;
}
.hnavi.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}
.hgap {
  width: 6px;
}
.hwho {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  white-space: nowrap;
  flex: none;
}
.hwho .hi {
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 760px) {
  .hdrin {
    height: auto;
    flex-wrap: wrap;
    padding: 9px 0;
    gap: 6px;
    justify-content: center;
  }
  .brand {
    width: 100%;
    justify-content: center;
  }
  .hnav {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 3px;
  }
  .hnav::-webkit-scrollbar {
    display: none;
  }
  .hnavi {
    padding: 7px 8px;
  }
  .btag {
    display: none;
  }
}
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 8px 0 4px;
  flex-wrap: wrap;
}
.wtitle {
  font-size: 22px;
  margin: 0;
  font-weight: 800;
}
.wsub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 5px 0 0;
}
.keepcard {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft2);
  border-radius: 14px;
  padding: 10px 15px;
}
.kemoji {
  font-size: 24px;
  line-height: 1;
}
.ktxt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.ktxt b {
  color: var(--brand-dark);
  font-size: 13px;
}
.ktxt span,
.ktxt i {
  color: var(--brand-dark);
  font-size: 11.5px;
  font-style: normal;
  opacity: .85;
}
.guestbanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    linear-gradient(
      120deg,
      #FFB020,
      #FF8A00);
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gb-txt {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  max-width: 560px;
}
.gb-txt b {
  font-size: 14px;
}
.gb-txt span {
  opacity: .95;
  line-height: 1.5;
}
.guestbanner .btn.primary {
  background: #fff;
  color: #B26A00;
  border-color: #fff;
}
h2.sec {
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 800;
  margin: 24px 0 10px;
}
.gamegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.gcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.gico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.gtitle {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 800;
}
.gdesc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.gclear {
  align-self: flex-start;
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 700;
  font-size: 11px;
  border-radius: 999px;
  padding: 3px 9px;
}
.gcard .btn {
  margin-top: 4px;
}
.homecols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .homecols {
    grid-template-columns: 1fr;
  }
}
.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.whead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.wt {
  font-weight: 800;
  font-size: 13.5px;
}
.wlink {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.statlist {
  margin: 0 0 12px;
}
.srow {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.srow:last-child {
  border-bottom: none;
}
.srow span {
  color: var(--muted);
}
.srow b {
  color: var(--ink);
  font-weight: 800;
}
.lb {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.lb .lbrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.lb .lbrow:last-child {
  border-bottom: none;
}
.lb .rk {
  width: 30px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  flex: none;
}
.lb .nm {
  flex: 1;
  font-weight: 700;
  font-size: 13.5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb .pt {
  font-weight: 800;
  color: var(--brand-dark);
  font-size: 13px;
}
.lb .lbrow.me {
  background: var(--brand-soft);
  border-radius: 10px;
  padding-left: 8px;
  padding-right: 8px;
}
.lb .rk.r1,
.lb .rk.r2,
.lb .rk.r3 {
  font-size: 17px;
}
.empty {
  padding: 16px 0;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}
.ptitle {
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 12px;
}
.usercard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.uavatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  flex: none;
}
.uinfo {
  flex: 1;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}
.uname {
  font-size: 19px;
  font-weight: 800;
}
.usercard .keepcard {
  margin-left: auto;
}
@media (max-width: 640px) {
  .usercard .keepcard {
    margin-left: 0;
    width: 100%;
  }
}
.stats4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 760px) {
  .stats4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.st4 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.st4i {
  font-size: 22px;
  line-height: 1;
}
.st4l {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}
.st4v {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-dark);
}
.ptable {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tprow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.tprow:last-child {
  border-bottom: none;
}
.tprow.thead {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 11.5px;
}
.tprow.me {
  background: #F1FBFA;
}
.tprow.thead .tc {
  color: var(--brand-dark);
}
.tc {
  color: var(--ink);
}
.tc.game {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.tco {
  font-size: 18px;
  flex: none;
}
.tcn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tc.num {
  width: 82px;
  text-align: right;
  font-weight: 700;
  flex: none;
  white-space: nowrap;
}
.tc.last {
  width: 76px;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  flex: none;
  white-space: nowrap;
}
.tc.go {
  flex: none;
  text-align: right;
}
.tc.rk {
  width: 34px;
  text-align: center;
  font-weight: 800;
  color: var(--muted);
  flex: none;
}
.tc.rk.r1,
.tc.rk.r2,
.tc.rk.r3 {
  font-size: 17px;
}
@media (max-width: 600px) {
  .tc.last {
    display: none;
  }
  .tc.num.ans,
  .tc.num.gms {
    display: none;
  }
  .tc.num {
    width: 64px;
    font-size: 11.5px;
    white-space: nowrap;
  }
  .tprow {
    padding: 12px 13px;
  }
  .tprow.thead {
    font-size: 10.5px;
  }
  .tcn {
    font-size: 12.5px;
    white-space: normal;
    line-height: 1.25;
  }
}
.lhead {
  margin-top: 6px;
}
.footbanner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--brand-soft);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--brand-dark);
  font-weight: 700;
  flex-wrap: wrap;
}
