/* ==========================================================================
   Turkey in Disguise  ·  /turkey-disguise
   A dress-up studio, two canvas games and a gallery you can vote on. Light
   and warm, scoped entirely under .page-turkey so nothing leaks into the
   rest of the site.
   ========================================================================== */

@font-face {
  font-family: "TK Lilita";
  src: url("/assets/turkey/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body.page-turkey {
  --cream: #FFF6E8;
  --cream-2: #FBEBD2;
  --card: #FFFFFF;
  --bark: #3B2416;
  --bark-2: #5A3A24;
  --bark-soft: #6B4A33;
  --pumpkin: #D9622B;
  --pumpkin-ink: #A9461A;
  --cranberry: #A3203A;
  --gold: #E9A93A;
  --sage: #6E8B4E;
  --sage-ink: #4C6634;
  --sky: #CFE6F2;
  --hair: rgba(59, 36, 22, 0.14);
  --shadow: 0 2px 0 rgba(59, 36, 22, 0.08), 0 12px 30px rgba(59, 36, 22, 0.1);
  --radius: 18px;
  --display: "TK Lilita", "Arial Black", "Space Grotesk", system-ui, sans-serif;
  background: var(--cream);
  color: var(--bark);
}

.page-turkey .site-main {
  max-width: none;
  padding: 0;
  background:
    radial-gradient(60% 40% at 85% 0%, rgba(233, 169, 58, 0.22) 0%, transparent 70%),
    radial-gradient(60% 40% at 10% 8%, rgba(207, 230, 242, 0.7) 0%, transparent 70%),
    var(--cream);
}

.page-turkey .site-header {
  background: linear-gradient(100deg, rgba(59, 36, 22, 0.97), rgba(90, 58, 36, 0.95));
  border-bottom-color: rgba(233, 169, 58, 0.35);
}

.page-turkey .site-footer {
  background: var(--bark);
  border-top: 1px solid rgba(233, 169, 58, 0.3);
}

.tk {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  color: var(--bark);
  font-size: 1.02rem;
  line-height: 1.55;
}

.tk :focus-visible {
  outline: 3px solid #2F55A3;
  outline-offset: 2px;
}

.tk-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tk-hp {
  display: none !important;
}

.tk [hidden] {
  display: none !important;
}

/* ---------- Type and buttons ---------- */

.tk-eyebrow {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pumpkin-ink);
}

.tk-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  color: var(--bark);
  letter-spacing: 0.01em;
}

.tk-h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  color: var(--bark);
}

.tk-lede {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: 1.12rem;
  color: var(--bark-2);
}

.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--bark);
  border-radius: 999px;
  background: var(--pumpkin-ink);
  color: #FFFFFF;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--bark);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.tk-btn:hover {
  background: #8F3A14;
  color: #FFFFFF;
}

.tk-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--bark);
}

.tk-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 3px 0 var(--bark);
}

.tk-btn--ghost {
  background: var(--card);
  color: var(--bark);
}

.tk-btn--ghost:hover {
  background: var(--cream-2);
  color: var(--bark);
}

.tk-btn--fb {
  background: #1B4FB8;
}

.tk-btn--fb:hover {
  background: #143E93;
}

.tk-btn--big {
  min-height: 52px;
  padding: 12px 26px;
  font-size: 1.1rem;
}

.tk-fb {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tk-chip {
  min-height: 40px;
  padding: 6px 12px;
  border: 2px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
  color: var(--bark);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.tk-chip:hover {
  border-color: var(--bark);
}

.tk-chip--warn {
  color: var(--cranberry);
  border-color: rgba(163, 32, 58, 0.35);
}

.tk-chip--warn:hover {
  border-color: var(--cranberry);
}

.tk-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--bark);
  border-radius: 50%;
  background: var(--card);
  color: var(--bark);
  cursor: pointer;
  box-shadow: 0 3px 0 var(--bark);
}

.tk-iconbtn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tk-iconbtn svg path:first-child {
  fill: currentColor;
}

.tk-mute__x {
  display: none;
}

.tk-iconbtn[aria-pressed="true"] .tk-mute__x {
  display: inline;
}

.tk-iconbtn[aria-pressed="true"] .tk-mute__wave {
  display: none;
}

.tk-panel {
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.tk-panel__title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--bark);
}

.tk-panel__sub {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--bark-soft);
  margin-left: 6px;
}

.tk-notice {
  margin: 0 0 24px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #FCE3B0;
  color: var(--bark);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.tk-hero {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

.tk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tk-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tk-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--bark-2);
}

.tk-steps li span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bark);
  font-family: var(--display);
  font-size: 1.4rem;
}

.tk-steps li strong {
  color: var(--bark);
}

@media (min-width: 961px) {
  .tk-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 48px;
  }
}

/* ---------- Studio ---------- */

.tk-studio {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-bottom: 56px;
  scroll-margin-top: 90px;
}

@media (min-width: 961px) {
  .tk-studio {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  }
  .tk-tools {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 2px 6px 6px 2px;
    scrollbar-width: thin;
  }
}

.tk-stagewrap {
  display: grid;
  gap: 14px;
}

.tk-stage {
  position: relative;
  border: 3px solid var(--bark);
  border-radius: 24px;
  overflow: hidden;
  background: var(--sky);
  box-shadow: 0 6px 0 var(--bark), 0 18px 40px rgba(59, 36, 22, 0.18);
}

.tk-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.tk-svg [data-op] {
  cursor: grab;
}

.tk-svg [data-op]:active {
  cursor: grabbing;
}

.tk-svg .tk-handle {
  cursor: pointer;
}

.tk-svg .tk-handle[data-handle="spin"] {
  cursor: grab;
}

.tk-stage.is-viewing .tk-svg [data-op] {
  cursor: default;
}

.tk-stage.is-pop #tk-turkey {
  animation: tk-pop 0.45s ease;
  transform-origin: 50% 70%;
  transform-box: view-box;
}

@keyframes tk-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.05) rotate(-2deg); }
  70% { transform: scale(0.98) rotate(1deg); }
  100% { transform: scale(1); }
}

.tk-stage__hud {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  pointer-events: none;
}

.tk-meter {
  max-width: 280px;
  padding: 8px 12px 10px;
  border: 2px solid var(--bark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.tk-meter__label {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bark);
}

.tk-meter__label strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  margin-left: 4px;
}

.tk-meter__bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(59, 36, 22, 0.14);
  overflow: hidden;
}

.tk-meter__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--cranberry);
  transition: width 0.35s ease, background 0.35s ease;
}

.tk-meter[data-tier="iffy"] .tk-meter__bar span {
  background: var(--gold);
}

.tk-meter[data-tier="safe"] .tk-meter__bar span {
  background: var(--sage);
}

.tk-dock {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 2px solid var(--bark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.tk-dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--bark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.tk-dock__btn:hover:not(:disabled) {
  background: var(--cream-2);
}

.tk-dock__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tk-dock__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tk-dock__btn circle {
  fill: currentColor;
  stroke: none;
}

.tk-dock__btn rect {
  fill: none;
}

.tk-edit,
.tk-viewing {
  padding: 14px 16px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.tk-edit__name,
.tk-viewing__title {
  margin: 0 0 10px;
}

.tk-edit__hint,
#tk-viewing-by {
  color: var(--bark-soft);
  font-size: 0.92rem;
}

.tk-edit__row,
.tk-viewing__actions,
.tk-viewing__share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tk-viewing__share {
  margin-top: 10px;
}

/* Tools column. */

.tk-tools {
  display: grid;
  gap: 16px;
}

.tk-verdict {
  border-width: 2px;
  border-color: var(--cranberry);
  background: #FFF1F2;
}

.tk-verdict[data-tier="iffy"] {
  border-color: var(--gold);
  background: #FFF6E0;
}

.tk-verdict[data-tier="safe"] {
  border-color: var(--sage);
  background: #F1F6EA;
}

.tk-verdict__label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bark-soft);
}

.tk-verdict__who {
  margin: 4px 0 6px;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--bark);
}

.tk-verdict__tip {
  margin: 0;
  font-size: 0.95rem;
  color: var(--bark-2);
}

.tk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tk-tabs [role="tab"],
.tk-modes [role="tab"],
.tk-sort [role="tab"] {
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
  color: var(--bark);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.tk-tabs [role="tab"]:hover,
.tk-modes [role="tab"]:hover,
.tk-sort [role="tab"]:hover {
  border-color: var(--bark);
}

.tk-tabs [aria-selected="true"],
.tk-modes [aria-selected="true"],
.tk-sort [aria-pressed="true"] {
  background: var(--bark);
  border-color: var(--bark);
  color: var(--cream);
}

.tk-tray {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}

.tk-item {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 6px;
  border: 2px solid var(--hair);
  border-radius: 14px;
  background: var(--cream);
  color: var(--bark);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.tk-item svg {
  width: 56px;
  height: 56px;
}

.tk-item:hover {
  border-color: var(--bark);
  transform: translateY(-2px);
}

.tk-tray--paint {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.tk-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 12px 6px 6px;
  border: 2px solid var(--hair);
  border-radius: 999px;
  background: var(--cream);
  color: var(--bark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.tk-swatch:hover {
  border-color: var(--bark);
}

.tk-swatch[aria-pressed="true"] {
  border-color: var(--bark);
  background: var(--card);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.tk-swatch__dot {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bark);
}

.tk-tray__note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--bark-soft);
}

.tk-presets,
.tk-keep__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tk-presets .tk-btn,
.tk-keep__row .tk-btn {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 0.92rem;
}

.tk-save {
  display: grid;
  gap: 12px;
}

.tk-save .tk-panel__title {
  margin-bottom: 0;
}

.tk-field {
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
  font-weight: 700;
}

.tk-field input {
  min-height: 46px;
  padding: 10px 12px;
  border: 2px solid rgba(59, 36, 22, 0.35);
  border-radius: 12px;
  background: var(--card);
  color: var(--bark);
  font: inherit;
  font-weight: 400;
}

.tk-field input::placeholder {
  color: #8A715E;
}

.tk-field input:focus {
  border-color: var(--bark);
}

.tk-save__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--bark-soft);
}

.tk-save__status {
  margin: 0;
  font-weight: 700;
  color: var(--sage-ink);
}

.tk-save__status:empty {
  display: none;
}

/* ---------- Arena (games) ---------- */

.tk-arena {
  margin-bottom: 56px;
  padding: 24px;
  border: 3px solid var(--bark);
  border-radius: 28px;
  background: linear-gradient(180deg, #FCEBD0, var(--cream));
  box-shadow: 0 6px 0 var(--bark);
  scroll-margin-top: 90px;
}

.tk-arena__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tk-modes,
.tk-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tk-arena__body {
  display: grid;
  gap: 20px;
  align-items: start;
}

@media (min-width: 1024px) {
  .tk-arena__body {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (min-width: 1180px) {
  .tk-arena__body {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.tk-game {
  position: relative;
}

.tk-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--bark);
  border-radius: 20px;
  background: var(--sky);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.tk-game__overlay {
  position: absolute;
  inset: 0;
  bottom: auto;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(59, 36, 22, 0.42);
}

.tk-game__card {
  max-width: 440px;
  padding: 20px 22px;
  border: 3px solid var(--bark);
  border-radius: 20px;
  background: var(--cream);
  text-align: center;
  box-shadow: 0 5px 0 var(--bark);
}

.tk-game__kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pumpkin-ink);
}

.tk-game__title {
  margin: 2px 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.05;
  color: var(--bark);
}

.tk-game__text {
  margin: 0 0 14px;
  color: var(--bark-2);
}

.tk-game__controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}

.tk-waddle {
  flex: 1;
  max-width: 420px;
  margin-right: auto;
  min-height: 60px;
  background: var(--sage-ink);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.tk-waddle:hover {
  background: #3D5229;
}

.tk-waddle:active {
  background: var(--bark);
}

.tk-arena__side {
  display: grid;
  gap: 16px;
}

.tk-how ul {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 8px;
  color: var(--bark-2);
  font-size: 0.95rem;
}

.tk-best__list {
  margin: 0 0 10px;
  display: grid;
  gap: 8px;
}

.tk-best__list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--cream);
}

.tk-best__list dt {
  font-weight: 700;
}

.tk-best__list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--pumpkin-ink);
}

.tk-best__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--bark-soft);
}

/* ---------- Gallery ---------- */

.tk-gallery__head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}

.tk-gallery__count {
  margin: 4px 0 0;
  color: var(--bark-soft);
  font-size: 0.95rem;
}

.tk-gallery__count:empty {
  display: none;
}

.tk-gallery__lede {
  margin: 8px 0 20px;
  color: var(--bark-2);
}

.tk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.tk-card {
  position: relative;
  display: grid;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tk-card.is-hidden {
  opacity: 0.45;
  outline: 3px dashed var(--cranberry);
  outline-offset: -3px;
}

.tk-card__open {
  display: block;
  padding: 0;
  border: 0;
  background: var(--sky);
  cursor: pointer;
}

.tk-card__open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.tk-card__open:hover img {
  transform: scale(1.03);
}

.tk-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.tk-card__text {
  min-width: 0;
}

.tk-card__title {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--bark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tk-card__title:hover {
  text-decoration: underline;
}

.tk-card__by {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--bark-soft);
  overflow-wrap: anywhere;
}

.tk-card__admin {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  border: 2px solid var(--bark);
  border-radius: 999px;
  background: var(--card);
  color: var(--cranberry);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.tk-votes {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: none;
}

#tk-viewing-vote .tk-votes {
  flex-direction: row;
  gap: 6px;
  margin-right: 4px;
}

.tk-vote-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 32px;
  border: 2px solid var(--hair);
  border-radius: 10px;
  background: var(--card);
  color: var(--bark-soft);
  cursor: pointer;
}

.tk-vote-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tk-vote-btn--down svg {
  transform: rotate(180deg);
}

.tk-vote-btn:hover {
  border-color: var(--bark);
  color: var(--bark);
}

.tk-vote-btn--up[aria-pressed="true"] {
  background: var(--sage-ink);
  border-color: var(--sage-ink);
  color: #FFFFFF;
}

.tk-vote-btn--down[aria-pressed="true"] {
  background: var(--cranberry);
  border-color: var(--cranberry);
  color: #FFFFFF;
}

.tk-score {
  min-width: 2ch;
  font-family: var(--display);
  font-size: 1.1rem;
  text-align: center;
  color: var(--bark);
}

.tk-empty {
  margin: 0;
  padding: 28px;
  border: 2px dashed rgba(59, 36, 22, 0.3);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  color: var(--bark-2);
}

.tk-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* ---------- Toast ---------- */

.tk-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  max-width: min(520px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 18px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  background: var(--bark);
  color: var(--cream);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(59, 36, 22, 0.35);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.tk-toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ---------- Small screens ---------- */

@media (max-width: 960px) {
  .tk-studio {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .tk {
    padding: 24px 16px 64px;
  }
  .tk-arena {
    padding: 16px 12px;
    border-radius: 22px;
  }
  .tk-meter {
    max-width: 210px;
    padding: 6px 10px 8px;
  }
  .tk-meter__label {
    font-size: 0.8rem;
  }
  .tk-dock {
    gap: 2px;
    padding: 4px;
  }
  .tk-dock__btn {
    padding: 6px 9px;
  }
  .tk-dock__btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .tk-game__overlay {
    position: static;
    aspect-ratio: auto;
    padding: 12px 0 0;
    background: none;
  }
  .tk-game__card {
    max-width: none;
  }
  .tk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .tk-card__meta {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
  .tk-votes {
    flex-direction: row;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk *,
  .tk-toast {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .page-turkey .site-header,
  .page-turkey .site-footer,
  .tk-arena,
  .tk-gallery,
  .tk-tools {
    display: none;
  }
}
