.line-game{margin-top:30px;padding:24px;border:1px solid #d8dce1;border-radius:16px;background:#fff;color:#171717;min-width:0}.line-game .line-game-kicker{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#826a27;margin:0 0 9px}.line-game h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(23px,2.3vw,32px);line-height:1.1;letter-spacing:-.7px;margin:0 0 7px}.line-game h4{font-size:17px;margin:0 0 8px}.line-game p{font-size:14px;line-height:1.5;margin:0 0 14px;color:#464c54}.line-game .lg-meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:700;margin-bottom:12px}.line-game .lg-view-title{font-size:13px;font-weight:700;margin:12px 0 4px}.lg-balls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.line-game button{font-family:Arial,Helvetica,sans-serif;cursor:pointer;animation:none!important}.lg-ball{border:1px solid transparent;background:#f4f6f8;border-radius:9px;padding:0 0 5px;color:#171717;min-width:0;font-size:12px}.lg-ball svg{width:100%;height:auto;display:block;border-radius:8px}.lg-ball[aria-pressed=true]{border-color:#141c29;box-shadow:0 0 0 1px #141c29}.lg-ball[data-result=correct]{border-bottom:4px solid #23724e}.lg-ball[data-result=wrong]{border-bottom:4px solid #b73b30}.lg-choice{display:flex;gap:10px;margin:14px 0}.line-game .lg-choice button,.line-game .lg-next,.line-game .lg-reset{padding:11px 18px;min-height:44px;border-radius:8px;border:1px solid #141c29;background:#fff;color:#171717;font-size:14px;font-weight:700;flex:1}.line-game .lg-choice button:hover,.line-game .lg-next:hover,.line-game .lg-reset:hover{background:#fff0a6}.line-game button:disabled{cursor:default;opacity:.5}.line-game .lg-choice button[data-picked=true]{background:#f2d645;opacity:1}.lg-reveal{border-top:1px solid #dde0e5;padding-top:14px;margin-top:12px}.lg-reveal[hidden]{display:none}.line-game .lg-feedback{font-weight:700;font-size:16px;color:#171717}.lg-side{width:100%;max-height:225px;display:block}.line-game .lg-explanation{margin:5px 0 12px}.line-game .lg-rule{font-size:12px;color:#62666e;margin:14px 0 0;border-top:1px solid #e4e6e8;padding-top:12px}.line-game .lg-rule a{animation:none!important;color:#171717!important}.line-game .lg-next,.line-game .lg-reset{background:#172f5c;color:white;width:100%}.line-game .lg-next:hover,.line-game .lg-reset:hover{color:#171717}.line-game .lg-summary{font-size:18px;font-weight:700;color:#172f5c}.line-game svg text{font-family:Arial,Helvetica,sans-serif}.line-game svg{overflow:visible}@media(max-width:600px){.line-game{padding:18px}.line-game .lg-meta{font-size:12px}.lg-ball{font-size:11px}.lg-choice{gap:8px}.line-game .lg-choice button{padding:10px}}

.story .profile{border-top:0;border-bottom:0;padding-top:0;padding-bottom:20px;margin-top:25px}
.story{row-gap:0}
@media(max-width:850px){.story .profile{flex-wrap:wrap;gap:18px 30px}}

.line-game .lg-results{border-collapse:collapse;width:100%;font-size:13px;margin:16px 0 20px;text-align:left}.lg-results th,.lg-results td{padding:8px 6px;border-bottom:1px solid #dce1e6}.lg-results thead{background:#f1f5f8}.lg-answer-poster{display:block;width:100%;height:auto;border-radius:12px;margin:12px 0 18px}

.line-game-preview {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 32px;
  padding: 3px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}
.line-game-preview img {
  display: block;
  width: clamp(34px, 4.8vw, 60px);
  height: auto;
  border: 1px solid #d8dce1;
  border-radius: 4px;
}
.line-game-preview:hover img {
  border-color: #f2d329;
}
.line-game-preview:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.knowledge-card-game {
  display: grid;
  justify-items: stretch;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  gap: 6px;
}
.knowledge-card-game img {
  width: 100%;
  border-radius: 6px;
}
.knowledge-card-game-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px 8px;
  line-height: 1.3;
}
.knowledge-card-game-action {
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.line-game-dialog {
  box-sizing: border-box;
  width: min(720px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid #d8dce1;
  border-radius: 16px;
  background: #fff;
  color: #171717;
  overflow: auto;
  overscroll-behavior: contain;
}
.line-game-dialog::backdrop {
  background: #081725c9;
}
.line-game-dialog-controls {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid #d8dce1;
  background: #fff;
}
.line-game-dialog .line-game {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.line-game-banner {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  margin: 0 0 16px;
  border-radius: 8px;
}
.line-game-dialog .lg-ball svg {
  max-height: min(23dvh, 128px);
}
@media (pointer: coarse) {
  .line-game-preview {
    min-height: 44px;
  }
}
