/* Hamamza Bonanza · Responsive arcade interface · UTF-8 */
:root {
  color-scheme: dark;
  --ink: #fff5fd;
  --muted: #c9b5d5;
  --surface: #2a193d;
  --edge: #745087;
  --pink: #ffa2cc;
  --lime: #d7f18a;
  font-family: "all-round-gothic", "noka", "Trebuchet MS", system-ui, sans-serif;
  color: var(--ink);
  background: #160e28;
  font-size: 15px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-width: 320px; min-height: 100vh;
  background:
    radial-gradient(ellipse at 52% -20%, #704181 0, transparent 46%),
    radial-gradient(ellipse at 100% 44%, #422449 0, transparent 40%),
    radial-gradient(ellipse at -15% 80%, #3a3252 0, transparent 36%), #160e28;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .16; background-image: radial-gradient(#fff 0.55px, transparent 0.55px);
  background-size: 18px 18px; mask-image: linear-gradient(#0008, transparent 90%);
}
button, select { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:focus-visible, select:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.ambient { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .23; pointer-events: none; z-index: 0; }
.ambient-one { width: 400px; height: 400px; top: 30%; left: -300px; background: #eb5cac; }
.ambient-two { width: 300px; height: 300px; bottom: 2%; right: -220px; background: #a2bf57; }
.app-shell { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: 12px clamp(10px, 1.3vw, 25px) 24px; }
.topbar { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: "noka", "all-round-gothic", sans-serif; line-height: .9; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--lime); color: #291936; font-size: 29px; transform: rotate(-9deg); box-shadow: 0 3px 0 #8a9f53, 0 0 22px #d7f18a20; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 21px; letter-spacing: .015em; }
.brand small { margin-top: 5px; color: var(--pink); font-size: 10px; letter-spacing: .3em; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.fiction-badge { padding: 8px 12px; border: 1px solid #78824b; border-radius: 999px; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.icon-button { border: 1px solid var(--edge); background: #362248; color: #fff; border-radius: 10px; padding: 8px 11px; font-weight: 850; }
.icon-button span { margin-left: 4px; font-size: 12px; font-weight: 650; }
.icon-button:hover, .auto-button:hover:not(:disabled) { border-color: #df9cc9; background: #4c315e; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(258px, 19vw, 286px); gap: clamp(10px, 1vw, 16px); align-items: stretch; }
.machine { min-width: 0; display: flex; flex-direction: column; }
.machine-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 79px; margin: 0 2px 9px; }
.machine-title-block { flex: 1 1 auto; min-width: 0; }
.eyebrow { font-family: "exo", "all-round-gothic", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .15em; color: var(--lime); }
.machine-head .eyebrow span { color: var(--pink); margin: 0 4px; }
.machine-head h1 {
  margin: 4px 0 0; font-family: "noka", "all-round-gothic", system-ui, sans-serif;
  font-weight: 900; font-size: clamp(30px, 3.4vw, 53px); line-height: .96; letter-spacing: -.055em;
  text-shadow: 0 4px 0 #5e2a65; white-space: nowrap;
}
.machine-head h1 em { font-style: normal; color: var(--pink); }
.machine-head-note { flex: 0 1 260px; text-align: right; }
.machine-head-note p { margin: 0 0 7px; color: #e1cde9; font-size: 12px; font-weight: 700; }
.machine-meta { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.machine-meta span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border: 1px solid #705179; background: #342044ad; border-radius: 999px; color: #e0d1e7; white-space: nowrap; font-size: 10px; font-weight: 750; }
.machine-meta span:first-child { color: #e9f7af; border-color: #84915d; }
.board-frame {
  position: relative; isolation: isolate; padding: 8px; border: 2px solid #e8a2ca; border-radius: 21px;
  background: linear-gradient(135deg, #e8a2c9, #a45a9f 38%, #663b81 80%, #493266);
  box-shadow: 0 7px 0 #46244e, 0 16px 24px #0a041b80, inset 0 2px 1px #ffe8f3a6;
}
.board-top, .board-bottom {
  height: 24px; display: flex; align-items: center; gap: 7px; padding: 0 9px;
  font-family: "exo", "all-round-gothic", sans-serif; font-size: 10px; font-weight: 900; letter-spacing: .11em;
}
.board-top { color: #2b1b33; }
.board-dot { display: inline-block; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #ddf892; box-shadow: 0 0 11px #edffb8; animation: led 2.5s ease-in-out infinite; }
.board-deco { margin-left: auto; color: #ffeff8; }
.board-bottom { justify-content: space-between; color: #ffe0f1; }
.grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(4px, .6vw, 8px); padding: clamp(5px, .7vw, 9px);
  border: 2px solid #ffbfe2; border-radius: 15px; background: #291738;
  box-shadow: inset 0 7px 16px #13091ec9;
}
.tile {
  min-width: 0; height: clamp(78px, 11.6vh, 124px); position: relative; display: grid; place-items: center;
  overflow: hidden; border-radius: 13px; border: 1px solid #8b638e;
  background: radial-gradient(ellipse at 50% 25%, color-mix(in srgb, var(--symbol-shell) 33%, #77588f), #483057 76%, #322045);
  box-shadow: inset 0 2px 0 #fff2, 0 3px 0 #1e1029; transform: translateZ(0);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.tile::before { content: ""; position: absolute; inset: 7% 15% 15%; border-radius: 50%; background: #fff2; filter: blur(14px); opacity: .35; }
.tile .symbol-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; z-index: 1; display: block; user-select: none; transition: transform .2s ease; }
.tile:hover:not(.spinning) .symbol-art { transform: translateY(-3px) scale(1.045) rotate(-2deg); }
.tile-name {
  position: absolute; bottom: 1px; left: 3px; right: 3px; z-index: 2; text-align: center;
  padding: 3px 1px 2px; border-radius: 5px; color: #fff4fd; font-size: 9px; font-weight: 850;
  letter-spacing: .01em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(90deg, transparent, #24152dba 14%, #24152dd1 86%, transparent);
}
.tile.win { border-color: var(--lime); background: radial-gradient(ellipse at 45% 40%, #8f8249, #5c3d67 77%); box-shadow: inset 0 0 0 2px #dff299, 0 0 19px #ddf59075; animation: winPulse .7s ease both; }
.tile.win .symbol-art { transform: scale(1.035); }
.tile.win::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 2px solid var(--lime); border-radius: inherit; box-shadow: inset 0 0 12px #dff29985; pointer-events: none; }
.tile.spinning .symbol-art { animation: wobble .24s linear infinite; }
.tile.spinning .tile-name { opacity: .3; }
.result {
  display: flex; align-items: center; gap: 11px; margin: 13px 2px 0; min-height: 47px; padding: 9px 13px;
  border-radius: 12px; border: 1px solid #77527b; background: #2b1b3e; color: #f4e7f7;
  font-size: 13px; font-weight: 750; line-height: 1.35;
}
.result-icon { flex: 0 0 auto; color: var(--lime); font-size: 22px; }
.result.positive { color: #ebfbb3; background: #344039; border-color: #b4d079; box-shadow: 0 0 22px #bcde5830; }
.result.positive .result-icon { animation: pop .45s ease both; }
.result.negative { color: #e5d1e9; }
.control-panel { align-self: start; overflow: hidden; margin-top: 0; border: 1px solid #724b7b; border-radius: 18px; background: var(--surface); box-shadow: 0 12px 28px #0b061a8c; }
.balance-card { display: flex; justify-content: space-between; align-items: end; gap: 8px; padding: 13px 16px 12px; color: #273323; background: linear-gradient(120deg, #e5f9a9, #b0d478 64%, #a0c86f); }
.small-label { font-family: "exo", "all-round-gothic", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.balance-value { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-family: "exo", "all-round-gothic", sans-serif; font-weight: 900; font-size: 30px; line-height: 1.1; letter-spacing: -.035em; }
.coin-symbol { font-size: 26px; color: #435a2c; }
.coin-label { padding-bottom: 2px; font-size: 10px; font-weight: 750; white-space: nowrap; opacity: .76; }
.panel-inner { padding: 14px 15px 13px; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 8px; }
.helper-label { color: #bca6c9; font-size: 11px; font-weight: 700; }
.bet-options { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin-bottom: 12px; }
.bet-option { border: 1px solid #705080; border-radius: 9px; background: #38244c; color: #f4e3f7; padding: 9px 2px; font-family: "exo", sans-serif; font-size: 15px; font-weight: 850; transition: transform .15s, background .15s; }
.bet-option:hover:not(:disabled) { background: #574069; transform: translateY(-2px); }
.bet-option.active { border-color: #ffe3f1; background: #f5a6d0; color: #311736; box-shadow: 0 3px 0 #94567b; }
.roll-button {
  display: flex; align-items: center; justify-content: space-around; gap: 4px; width: 100%;
  padding: 12px 10px 10px; border: 0; border-bottom: 4px solid #b54e8a; border-radius: 12px;
  color: #35162b; background: linear-gradient(180deg, #ffc1df, #f588c2 48%, #ea6aab);
  box-shadow: 0 5px 16px #ee80b04d; font-family: "noka", "all-round-gothic", sans-serif;
  font-size: 21px; font-weight: 900; letter-spacing: .04em; transition: filter .16s, transform .16s;
}
.roll-button:hover:not(:disabled) { filter: brightness(1.1); }
.roll-button:active:not(:disabled) { transform: translateY(3px); border-bottom-width: 1px; }
.roll-button.is-rolling .roll-spark { animation: spin .55s linear infinite; }
.roll-spark { font-size: 20px; }
.auto-section { margin-top: 15px; }
.auto-controls { display: grid; grid-template-columns: 87px minmax(0, 1fr); gap: 7px; }
.auto-controls select, .auto-button { min-width: 0; padding: 9px 8px; border: 1px solid #72537f; border-radius: 9px; background: #3b2850; color: #fff0fa; font-size: 12px; font-weight: 750; }
.auto-controls select { appearance: none; padding-right: 18px; background-image: linear-gradient(45deg, transparent 50%, #ddc8e6 50%), linear-gradient(135deg, #ddc8e6 50%, transparent 50%); background-position: calc(100% - 12px) 51%, calc(100% - 7px) 51%; background-repeat: no-repeat; background-size: 5px 5px; }
.auto-button { background: #503660; }
.auto-button.running { background: var(--lime); border-color: #e6f5a8; color: #2e342c; }
.divider { height: 1px; margin: 13px 0 10px; background: #5d406c; }
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #c6afd0; font-size: 12px; margin: 8px 0; }
.stat-row strong { color: white; font-family: "exo", sans-serif; font-size: 13px; font-weight: 850; }
.stat-row strong.up { color: var(--lime); }
.stat-row strong.down { color: #ffa2c8; }
.reset-button { display: flex; justify-content: space-between; width: 100%; margin-top: 13px; padding: 11px 0 0; border: 0; border-top: 1px solid #5d406c; background: none; color: #c7b1d2; text-align: left; font-size: 12px; font-weight: 700; }
.reset-button:hover { color: white; }
.panel-foot { padding: 10px 15px; background: #221430; color: #bba5c7; font-size: 10px; line-height: 1.45; }
.crew-section { margin: 24px 0 22px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.section-head h2, .dialog-top h2 { margin: 3px 0 0; font-family: "noka", "all-round-gothic", sans-serif; font-size: 24px; letter-spacing: -.025em; }
.text-button { padding: 5px 1px; border: 0; background: none; color: #ffc0e0; font-size: 12px; font-weight: 800; }
.text-button:hover { text-decoration: underline; }
.text-button span { font-size: 15px; }
.crew-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 9px; }
.crew-card { display: grid; grid-template-columns: 74px minmax(0,1fr); align-items: center; gap: 7px; padding: 7px; min-width: 0; border: 1px solid #684976; border-radius: 13px; background: linear-gradient(135deg, #352148, #291c3d); transition: border-color .2s, transform .2s; }
.crew-card:hover { transform: translateY(-3px); border-color: #dda5ce; }
.crew-art { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; background: radial-gradient(ellipse at 50% 25%, #6e507d, #403050); }
.crew-art { overflow: hidden; }
.crew-art .symbol-art { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; user-select: none; }
.crew-info { min-width: 0; }
.crew-card strong { display: block; overflow-wrap: anywhere; line-height: 1.2; font-size: 12px; }
.crew-card .role { display: block; color: #cab3d5; font-size: 10px; line-height: 1.3; }
.crew-card .tier { display: block; margin-top: 5px; color: var(--lime); font-family: "exo", sans-serif; font-size: 11px; font-weight: 900; }
footer { border-top: 1px solid #51355d; padding: 17px; color: #a793b1; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
footer span { margin: 0 6px; color: var(--lime); }
.rules-dialog { width: min(740px, calc(100% - 24px)); max-height: min(90vh, 840px); overflow: auto; padding: 24px; border: 2px solid #ba7cad; border-radius: 20px; background: #2c1c3e; color: #fff2fc; box-shadow: 0 20px 90px #0e071ce0; }
.rules-dialog::backdrop { background: #10071ee0; backdrop-filter: blur(5px); }
.dialog-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.dialog-close { padding: 3px 10px; border: 1px solid #8e6b97; border-radius: 10px; background: #50335e; color: #fff; font-size: 24px; line-height: 1; }
.rules-dialog p { color: #e3cee9; line-height: 1.5; }
.table-wrap { overflow-x: auto; border: 1px solid #745481; border-radius: 11px; }
.rules-dialog table { width: 100%; min-width: 590px; border-collapse: collapse; text-align: right; }
.rules-dialog th:first-child, .rules-dialog td:first-child { text-align: left; }
.rules-dialog th, .rules-dialog td { padding: 9px 10px; border-bottom: 1px solid #51385e; font-size: 13px; }
.rules-dialog th { background: #493354; color: #e9eeac; font-size: 12px; }
.rules-dialog tr:last-child td { border-bottom: 0; }
.rules-dialog td:first-child { font-weight: 750; }
.rules-note { font-size: 12px; }
.rules-warning { padding: 12px 14px; border-radius: 10px; background: #38483a; color: #e2f8b9; font-size: 12px; line-height: 1.45; }
.win-burst { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; border-radius: inherit; }
.win-burst i { --dx: 0px; --dy: -90px; --rot: 1turn; position: absolute; top: 52%; left: 50%; width: 7px; height: 11px; border-radius: 2px; background: var(--pink); animation: confetti .85s ease-out both; }
.win-burst i:nth-child(3n) { background: var(--lime); }
.win-burst i:nth-child(4n) { background: #c4b5fd; }
@keyframes led { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes wobble { 0%,100% { transform: translateY(-5px) rotate(-6deg); } 50% { transform: translateY(5px) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.65); } 65% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes winPulse { 0% { filter: brightness(1.5); } 100% { filter: brightness(1); } }
@keyframes confetti { 0% { transform: translate(-50%,0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx),var(--dy)) rotate(var(--rot)) scale(.7); opacity: 0; } }
@media (min-width: 1340px) {
  .crew-card { grid-template-columns: 81px minmax(0,1fr); }
}
@media (max-width: 1270px) {
  .crew-card { grid-template-columns: 1fr; text-align: center; }
  .crew-art { max-width: 96px; margin: auto; width: 100%; }
  .crew-info { min-width: 0; }
  .machine-head-note { flex-basis: 180px; }
}
@media (max-width: 1090px) {
  .game-layout { grid-template-columns: minmax(0, 1fr) 252px; gap: 10px; }
  .machine-head { gap: 9px; }
  .machine-head-note { flex-basis: 150px; }
  .machine-head h1 { font-size: clamp(28px, 3.15vw, 40px); }
  .machine-meta span:last-child { display: none; }
  .tile { height: clamp(70px, 10.6vh, 109px); }
}
@media (max-width: 800px) {
  .game-layout { grid-template-columns: 1fr; }
  .machine-head { min-height: 66px; }
  .machine-head h1 { font-size: clamp(33px, 6vw, 51px); }
  .machine-head-note { flex-basis: 245px; }
  .tile { height: clamp(65px, 11vh, 118px); }
  .control-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.7fr); }
  .balance-card { display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; }
  .panel-inner { grid-column: 2; grid-row: 1 / span 2; }
  .panel-foot { grid-column: 1; }
  .crew-section { margin-top: 23px; }
}
@media (max-width: 620px) {
  .app-shell { padding: 10px 12px 22px; }
  .topbar { height: 48px; margin-bottom: 8px; }
  .fiction-badge { display: none; }
  .machine-head { align-items: start; gap: 8px; }
  .machine-head h1 { font-size: clamp(28px, 6.5vw, 42px); }
  .machine-head-note { flex-basis: 145px; padding-top: 8px; }
  .machine-head-note p { font-size: 10px; }
  .machine-meta span { padding: 4px 6px; font-size: 9px; }
  .machine-meta span:last-child { display: none; }
  .board-frame { padding: 6px; border-radius: 16px; }
  .grid { gap: 4px; padding: 5px; border-radius: 11px; }
  .tile { height: clamp(57px, 10vh, 92px); border-radius: 9px; }
  .tile-name { font-size: 8px; padding: 2px 0; }
  .board-top, .board-bottom { padding: 0 5px; font-size: 9px; }
  .result { margin-top: 10px; }
  .crew-list { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
  .crew-card { padding: 6px; }
  .control-panel { display: block; }
  .balance-card { flex-direction: row; text-align: left; justify-content: space-between; align-items: end; }
  .panel-inner, .panel-foot { display: block; }
}
@media (max-width: 400px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand strong { font-size: 17px; }
  .icon-button span { display: none; }
  .machine-head { min-height: 74px; }
  .machine-head h1 { font-size: 27px; white-space: normal; }
  .machine-head .eyebrow { font-size: 8px; }
  .machine-head-note { flex-basis: 124px; }
  .tile-name { font-size: 7px; }
  .crew-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-height: 760px) and (min-width: 801px) {
  .tile { height: clamp(63px, 10.1vh, 90px); }
  .machine-head { min-height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Yapımcı kimliği: oyun arayüzünü büyütmeyen kompakt, bağlantılı etiketler */
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; }
.footer-identity { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-label { color: #cbb8d5; font-size: 9px; letter-spacing: .11em; font-weight: 800; }
.footer-credits { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 9px; letter-spacing: .015em; font-size: 12px; }
.footer-author { color: #f6d9ed; font-weight: 800; }
.footer-separator { color: #8b739b; font-weight: 700; }
.footer-handle { display: inline-flex; gap: 4px; align-items: center; padding: 6px 10px; border: 1px solid #775385; border-radius: 999px; color: #e2f4a8; background: #352445; font-weight: 850; text-decoration: none; transition: border-color .18s, background .18s; }
.footer-handle:hover { border-color: var(--lime); background: #473457; }
.footer-handle:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.site-footer p { margin: 0; color: #a995b2; font-size: 10px; letter-spacing: .04em; }
@media (max-width: 720px) {
  .site-footer { justify-content: center; gap: 9px; padding: 15px 4px; text-align: center; }
  .footer-identity { justify-content: center; gap: 5px 12px; }
  .site-footer p { width: 100%; line-height: 1.4; }
}

/* Panik: art arda net bakiye düşüşünde sabit, kırmızı uyarı. */
.loss-warning[hidden] { display: none !important; }
.loss-warning { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: #fff0f1; background: #611f31; border-block: 1px solid #ff8a94; }
.loss-warning img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.loss-warning strong, .loss-warning span { display: block; }
.loss-warning strong { font-size: 13px; line-height: 1.2; color: #ffe1e4; }
.loss-warning span { font-size: 11px; line-height: 1.4; margin-top: 3px; }
.balance-card.balance-alert { color: #fff0f1; background: linear-gradient(120deg, #8d2e40, #612334); }
.balance-card.balance-alert .coin-symbol { color: #ffc1c7; }
@media (min-width: 621px) and (max-width: 800px) {
  .control-panel:has(.loss-warning:not([hidden])) .loss-warning { grid-column: 1; grid-row: 2; }
  .control-panel:has(.loss-warning:not([hidden])) .panel-inner { grid-row: 1 / span 3; }
  .control-panel:has(.loss-warning:not([hidden])) .panel-foot { grid-row: 3; }
}

/* Kare karakter portreleri ve sahne öncelikli ara sekanslar */
@media (min-width: 801px) { .tile { height: clamp(65px, 11.5vh, 132px); } }
@media (min-width: 801px) and (max-height: 760px) { .tile { height: clamp(58px, 10vh, 90px); } }
@media (max-width: 800px) { .tile { height: auto; aspect-ratio: 1; } }
.scene-dialog { position: fixed; width: min(800px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; color: #fff; background: #151024; border: 2px solid #c69cdb; border-radius: 20px; overflow: auto; isolation: isolate; box-shadow: 0 0 80px #000b; text-align: center; }
.scene-dialog::backdrop { background: #090510e8; backdrop-filter: blur(5px); }
.scene-content { position: relative; z-index: 2; padding: clamp(14px, 3vw, 28px); }
.scene-kicker { font-size: 11px; letter-spacing: .14em; font-weight: 800; color: #f2d2ff; }
.scene-portraits { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px auto; }
.scene-portraits img { width: min(42%, 260px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid #ffffff55; box-shadow: 0 8px 36px #000a; }
.scene-portraits img:only-child { width: min(70%, 300px); }
.scene-dialog[open] .scene-portraits img { animation: sceneEnter .55s cubic-bezier(.2,.7,.2,1) both; }
.scene-content h2 { font-size: clamp(25px, 5vw, 48px); margin: 10px 0 4px; line-height: 1.05; overflow-wrap: anywhere; text-shadow: 0 3px 12px #000; }
.scene-content p { margin: 8px 0 15px; font-size: clamp(12px, 2.6vw, 16px); }
.scene-track { height: 5px; background: #fff2; border-radius: 10px; overflow: hidden; margin: 12px auto; max-width: 420px; }
#sceneProgress { height: 100%; width: 0; background: #e4f7a3; transition: width .05s linear; }
.scene-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.scene-actions button { border-radius: 9px; border: 1px solid #ffffff55; padding: 8px 13px; color: white; background: #282039; font-weight: 750; font-size: 12px; }
.scene-actions button[hidden] { display: none; }
.scene-effects { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.scene-effects i { position: absolute; left: calc(7% + var(--i) * 7.6%); bottom: -15%; width: 28px; height: 28px; border-radius: 50%; opacity: 0; background: #fff7; }
.scene-dialog[data-effect="alarm"] { background: radial-gradient(ellipse at center, #752236, #210c16); border-color: #ff667d; }
.scene-dialog[data-effect="alarm"] .scene-content h2 { color: #ffb5bd; }
.scene-dialog[data-effect="air"] { background: radial-gradient(ellipse at center, #656145, #151e24); }
.scene-plane { display: none; position: absolute; left: -20%; top: 8%; z-index: 3; color: #fff0bd; font-size: 64px; pointer-events: none; }
.scene-dialog[data-effect="air"][open] .scene-plane { display: block; animation: flyover 2.6s ease-in-out both; }
.scene-dialog[data-effect="air"][open] .scene-effects i { top: calc(15% + mod(var(--i), 4) * 20%); bottom: auto; background: radial-gradient(circle, #ffedb3, #ff7b36 45%, transparent 72%); animation: blast 1.1s calc(var(--i) * 120ms + 650ms) both; }
.scene-dialog[data-effect="air"][open] .scene-content { animation: sceneShake .35s 1.2s 3; }
.scene-dialog[data-effect="blackout"] { background: #07070a; border-color: #706879; }
.scene-cracks { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; fill: none; stroke: #e6dce7; stroke-width: 1.6; }
.scene-dialog[data-effect="blackout"][open] .scene-cracks { display: block; animation: crack 3.2s both; }
.scene-dialog[data-effect="blackout"][open] .scene-portraits { animation: blackout 3.5s both; }
.scene-dialog[data-effect="radiation"] { background: radial-gradient(circle, #335416, #09190b); border-color: #9ff44b; }
.scene-dialog[data-effect="radiation"][open] .scene-effects i { background: #aaff5d; box-shadow: 0 0 18px #8dfc36; animation: rise 2.1s calc(var(--i) * 100ms) infinite; }
.scene-dialog[data-effect="foam"] { background: radial-gradient(circle, #6a9ca5, #253c54); }
.scene-dialog[data-effect="foam"][open] .scene-effects i { width: 48px; height: 48px; border: 2px solid #eaffffbd; background: #ecffff80; animation: rise 2.2s calc(var(--i) * 90ms) infinite; }
.scene-dialog[data-effect="glam"] { background: radial-gradient(circle, #7f366c, #261027); border-color: #ffa5e7; }
.scene-dialog[data-effect="glam"][open] .scene-effects i { border-radius: 0; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); background: #ffd9f5; animation: rise 2s calc(var(--i) * 100ms) infinite; }
.scene-dialog[data-effect="tea"] { background: radial-gradient(circle, #775030, #251910); }
.scene-dialog[data-effect="tea"][open] .scene-effects i { background: #fff4; filter: blur(8px); animation: rise 2.2s calc(var(--i) * 120ms) infinite; }
.scene-dialog[data-effect="invasion"][open] .scene-effects i { z-index: 3; width: 55px; height: 55px; border-radius: 8px; background: none; animation: rise 2.4s calc(var(--i) * 100ms) infinite; }
.scene-effects i img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@keyframes sceneEnter { from { opacity: .2; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes flyover { from { left: -20%; transform: rotate(-10deg); } to { left: 110%; transform: rotate(8deg); } }
@keyframes blast { 0% { opacity: 0; transform: scale(.5); } 35% { opacity: .85; transform: scale(6); } 100% { opacity: 0; transform: scale(9); } }
@keyframes sceneShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes crack { 0% { opacity: 0; } 20%,65% { opacity: .8; } 100% { opacity: 0; } }
@keyframes blackout { 0%,15%,90%,100% { filter: brightness(1); } 40%,65% { filter: brightness(.16); } }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) scale(.5); } 25% { opacity: .8; } 100% { opacity: 0; transform: translateY(-70vh) scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .scene-dialog * { animation: none !important; transition: none !important; } .scene-effects, .scene-plane, .scene-cracks { display: none !important; } }

/* Yatay alanı portrelere ayır: 5 × 5 düzeni ve mobil tek sütun korunur. */
@media (min-width: 801px) {
  .board-frame { padding: 6px; }
  .grid { gap: clamp(4px, .4vw, 7px); padding: 5px; }
  .panel-inner { padding-inline: 11px; }
  .tile-name { font-size: clamp(10px, .78vw, 13px); background: linear-gradient(0deg, #170d22ed, #170d2270); }
}

/* KemirCoin ve 25 hücreli kompakt oyun alanı */
.coin-symbol { display: block; width: 38px; height: 38px; flex: 0 0 38px; }
.coin-mini { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.coin-stat { display: inline-flex; align-items: center; gap: 5px; }
.coin-stat .up { color: var(--lime); } .coin-stat .down { color: #ffa2c8; }
.round-insights { margin: 20px 0; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 12px; }
.round-insights > div { min-width: 0; border: 1px solid #684976; border-radius: 12px; background: #291c3d; padding: 12px; }
.round-insights h2 { font-size: 15px; margin: 0 0 10px; }
.match-summary { display: flex; flex-wrap: wrap; gap: 6px; }
.match-chip { display: flex; align-items: center; gap: 5px; border: 1px solid #684976; border-radius: 8px; padding: 4px 6px 4px 4px; font-size: 11px; color: #e5d5ed; }
.match-chip img { width: 28px; height: 28px; border-radius: 5px; }
.match-chip.matched { color: #e1f4ac; border-color: #a3bd71; background: #334036; }
.round-history { margin: 0; padding: 0; list-style: none; font-size: 12px; }
.round-history li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #51385e; }
.round-history li:last-child { border: 0; } .round-history strong { white-space: nowrap; }
.history-up strong { color: var(--lime); } .history-down strong { color: #ffa2c8; }
.section-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 12px; }
.scene-gallery-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 9px; }
.gallery-card { border: 1px solid #80598b; border-radius: 10px; background: #39264c; color: #fff0fa; padding: 6px; font-size: 11px; font-weight: 750; }
.gallery-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 5px; }
.gallery-card:hover { border-color: var(--lime); }
@media (max-width: 800px) { .round-insights { grid-template-columns: 1fr; } }

/* Sinerjiler: bağımsız çekiliş istatistikleri ve karakter ilişkileri. */
.synergy-section { margin: 20px 0; }
.synergy-status,.synergy-note { font-size: 12px; color: var(--muted); margin: 8px 0; }
.synergy-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 9px; }
.synergy-card { display: flex; align-items: center; gap: 10px; padding: 10px; min-width: 0; background: #291c3d; border: 1px solid #684976; border-radius: 12px; }
.synergy-card.synergy-active { border-color: #d7f18a; background: #334036; }
.synergy-portraits { flex-shrink: 0; display: flex; align-items: center; }
.synergy-portraits img { width: 46px; height: 46px; object-fit: cover; border: 1px solid #a78ab5; border-radius: 9px; }
.synergy-portraits img + img { margin-left: -9px; }
.synergy-card strong,.synergy-card span,.synergy-card small { display: block; }
.synergy-card strong { font-size: 12px; } .synergy-card span { color: #ddcce6; font-size: 11px; margin-top: 3px; } .synergy-card small { color: #c7b4cf; font-size: 10px; margin-top: 4px; }
.play-awareness { display: block; margin: 24px 0 16px; padding: 18px; border: 1px solid #737e68; border-radius: 14px; background: #25312c; color: #e5f0e7; }
.play-awareness h2 { margin: 6px 0 8px; font-size: 22px; }
.play-awareness p { font-size: 12px; line-height: 1.6; margin: 6px 0; }
.play-awareness a,.aware-link { color: #d7f18a; text-decoration: underline; }

/* Her yüklemede açılan telif bilgilendirmesi */
.welcome-aware { width: min(580px, calc(100% - 20px)); max-height: calc(100dvh - 20px); overflow: auto; padding: clamp(12px,2.4vw,22px); border: 1px solid #acb993; border-radius: 18px; background: #222e29; color: #f2f0e7; box-shadow: 0 18px 80px #000c; }
.welcome-aware::backdrop { background: #0d1010e8; backdrop-filter: blur(5px); }
.welcome-aware-head { text-align: center; margin-bottom: 12px; }
.welcome-aware-head .eyebrow { color: #c8dca5; }
.welcome-aware-head h2 { font-size: clamp(19px,3.6vw,30px); margin: 5px 0 0; }
.welcome-aware-copy { padding-top: 13px; font-size: 12px; line-height: 1.5; }
.welcome-aware-copy strong { font-size: 16px; color: #e2efc2; }
.welcome-aware-copy p { margin: 5px 0; }
.welcome-aware-copy a { color: #d7f18a; }
.welcome-aware-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.welcome-aware-actions button { padding: 10px 14px; border: 1px solid #9eae8c; border-radius: 9px; background: #34463b; color: #fff; font-weight: 750; font-size: 13px; }
#welcomeContinue { background: #d7e9b0; color: #233428; }

/* Telif bildirimi, giriş ekranında kaydırılabilir ve okunabilir. */
.copyright-notice { margin-top: 10px; padding: 11px 12px; border: 1px solid #8a957d; border-radius: 9px; background: #19241f; color: #e8ede2; }
.copyright-notice strong { font-size: 13px; color: #e2efc2; }
.copyright-notice p { margin: 6px 0; font-size: 12px; line-height: 1.55; }
.copyright-notice a,.footer-license { color: #d7f18a; text-decoration: underline; }
.site-footer p { line-height: 1.6; }

.mode-nav{display:flex;gap:8px;margin:0 0 12px;align-items:stretch}
.mode-nav>a,.mode-nav>.mode-current{display:flex;flex:1;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 10px;padding:10px 12px;min-height:44px;border-radius:10px;border:1px solid #6b4b82;background:#2f2142;color:#f2e5ff;font-weight:800;font-size:14px;text-decoration:none}
.mode-nav small{font-size:11px;color:#d5c4e2;font-weight:600}
.mode-nav>.mode-current{background:#d7f18a;color:#283023;border-color:#d7f18a}
.mode-nav>.mode-current small{color:#35422c}
.mode-nav>a:hover,.mode-nav>a:focus-visible{border-color:#d7f18a}
.score-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}
.balance-card .score-reset{width:auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:8px 10px;border:1px solid #405532;border-radius:8px;background:#314629;color:#f1ffdc;font-size:12px;white-space:nowrap}
.balance-card .score-reset:hover{background:#1d2d18;color:#fff}
.balance-card .score-reset:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:420px){.mode-nav>a,.mode-nav>.mode-current{font-size:12px;flex-direction:column;gap:2px;padding:8px 5px}.mode-nav small{font-size:10px}}
@media(max-width:800px){.balance-card{flex-direction:row;align-items:center;justify-content:space-between;text-align:left}}

/* Bonanza hukuk bildirisi: antrasit, kâğıt beyazı ve tek kırmızı mühür. */
.welcome-aware { width:min(740px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:0; background:#151719; color:#f4f2ed; border:1px solid #585452; border-radius:12px; box-shadow:0 24px 100px #000d; overflow:auto; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; scrollbar-color:#65615e #151719; }
.welcome-aware::backdrop { background:#0a0a0ce6; backdrop-filter:blur(6px); }
.welcome-aware-head.legal-hero { display:grid; grid-template-columns:clamp(136px,27vw,205px) minmax(0,1fr); gap:0; align-items:stretch; margin:0; background:#202123; text-align:left; border-bottom:1px solid #61564c; }
.legal-portrait { position:relative; min-width:0; margin:0; background:#211815; overflow:hidden; }
.legal-portrait img { width:100%; height:100%; min-height:160px; display:block; object-fit:cover; object-position:center; }
.legal-portrait figcaption { position:absolute; left:0; right:0; bottom:0; background:#0b0b0cd9; color:#fff; font:600 10px/1.4 system-ui,sans-serif; text-align:center; padding:5px; }
.legal-hero-copy { min-width:0; padding:clamp(13px,3vw,25px); align-self:center; }
.legal-hero .eyebrow { color:#e5c38c; font:800 10px/1.4 system-ui,sans-serif; letter-spacing:.12em; }
.legal-hero h2 { color:#fff; font:900 clamp(21px,4vw,34px)/1.08 system-ui,sans-serif; margin:8px 0; letter-spacing:-.035em; }
.legal-verdict { display:inline-block; margin:5px 0 0; padding:7px 10px; background:#a81c2d; color:#fff; font:900 clamp(11px,2vw,14px)/1.25 system-ui,sans-serif; letter-spacing:.035em; border:1px solid #ef6672; border-radius:3px; }
.legal-hero-copy p { color:#d5d0c7; font-size:12px; line-height:1.45; margin:8px 0 0; }
.welcome-aware-copy { padding:15px clamp(12px,3vw,22px) 2px; }
.anti-gambling-notice,.rights-warning { margin:0 0 12px; padding:14px 16px; border:1px solid #55514d; background:#202224; border-radius:7px; color:#f2eee7; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; }
.rights-warning { border-left:4px solid #d33e4e; }
.anti-gambling-notice { border-left:4px solid #b18b51; }
.notice-index { display:block; color:#e5c38c; font-size:10px; font-weight:850; letter-spacing:.12em; margin-bottom:5px; }
.rights-warning .rights-headline,.anti-gambling-notice>strong { display:block; color:#fff; font-size:15px; font-weight:950; letter-spacing:.015em; line-height:1.4; margin:0 0 8px; }
.rights-warning .rights-owner { color:#e8c994; font-weight:750; }
.rights-warning p,.anti-gambling-notice p { color:#eeeae4; font-size:13px; line-height:1.6; margin:7px 0; }
.rights-warning .owner-declaration { color:#fff; font-weight:800; border-left:2px solid #d33e4e; padding-left:10px; }
.rights-warning b,.anti-gambling-notice b { font-weight:850; }
.anti-gambling-notice .notice-red { color:#fff; background:#8e1b2b; padding:1px 4px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.anti-gambling-notice .notice-yellow { color:#f0d69f; }
.rights-warning .rights-limit { color:#b9b5af; font-size:11px; }
.rights-warning a { color:#efd5a4; font-size:12px; font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.welcome-aware-actions { display:flex; align-items:center; justify-content:space-between; position:sticky; bottom:0; z-index:1; background:#151719; border-top:1px solid #4b4945; padding:12px clamp(12px,3vw,22px); margin:0; gap:10px; }
.legal-action-note { font-size:11px; color:#c1beb7; line-height:1.4; max-width:230px; }
#welcomeContinue { background:#f4f0e7; color:#1b1c1e; min-height:44px; padding:10px 20px; border-radius:5px; border:1px solid #fff; font-weight:900; white-space:nowrap; }
#welcomeContinue:hover { background:#fff; }
#playAwareness { background:#151719; border-color:#55514d; }
#playAwareness .anti-gambling-notice { margin-bottom:12px; }
#playAwareness .rights-warning { margin-bottom:0; }
@media(max-width:480px) {
  .welcome-aware { width:calc(100% - 16px); max-height:calc(100dvh - 16px); border-radius:9px; }
  .welcome-aware-head.legal-hero { grid-template-columns:clamp(106px,32vw,145px) minmax(0,1fr); }
  .legal-portrait img { min-height:142px; }
  .legal-hero-copy { padding:12px 10px; }
  .legal-hero h2 { font-size:21px; }
  .legal-hero .eyebrow { font-size:9px; }
  .legal-hero-copy p { font-size:11px; }
  .legal-verdict { font-size:10px; padding:6px; }
  .rights-warning,.anti-gambling-notice { padding:11px; }
  .rights-warning p,.anti-gambling-notice p { font-size:12px; }
  .rights-warning .rights-headline,.anti-gambling-notice>strong { font-size:13px; }
  .rights-warning .rights-limit { font-size:11px; }
  .welcome-aware-actions { padding:9px 12px max(9px,env(safe-area-inset-bottom)); }
  .legal-action-note { font-size:10px; }
  #welcomeContinue { padding-inline:12px; }
}

/* MSN Wink esintili tam ekran imza ve istila. İki dialog'un top-layer sırası korunur. */
.intro-wink { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; padding: 0; border: 0; background: transparent; overflow: hidden; color: #fff; }
.intro-wink::backdrop { background: transparent; }
.intro-stage { position: absolute; inset: 0; overflow: hidden; pointer-events: none; isolation: isolate; }
.intro-stamp { position: absolute; z-index: 3; top: 50%; left: 50%; width: min(91vw,1050px); padding: clamp(12px,3.5vw,38px) clamp(7px,2vw,20px); color: #a41e31; text-align: center; background: #f2e6d5; border: clamp(4px,.8vw,10px) double #a41e31; border-radius: 12px; box-shadow: 0 14px 50px #0008,inset 0 0 0 5px #a41e3122; font-family: Impact,"Arial Black",system-ui,sans-serif; transform: translate(-50%,-50%) rotate(-8deg); animation: intro-stamp-hit 4.6s cubic-bezier(.16,.8,.23,1) both; }
.intro-stamp strong { display: block; font-weight: 950; font-size: clamp(28px,8.3vw,104px); letter-spacing: -.045em; line-height: 1.1; white-space: nowrap; }
.intro-stamp-kicker,.intro-stamp-sub { display: block; font: 800 clamp(10px,1.65vw,21px)/1.4 system-ui,sans-serif; letter-spacing: .15em; }
.intro-impact { position: absolute; z-index: 2; inset: 0; background: radial-gradient(ellipse at center,#e0d5b529,transparent 65%); opacity: 0; animation: intro-impact .7s .25s ease-out both; }
.intro-roaches { position: absolute; inset: 0; z-index: 4; }
.intro-roach { position: absolute; top: 50%; left: 50%; width: var(--size); height: auto; max-width: 23vw; filter: drop-shadow(4px 8px 4px #0008); transform-origin: center; opacity: 0; animation: intro-scuttle var(--duration) var(--delay) cubic-bezier(.25,.6,.38,1) both; }
.intro-skip { position: absolute; z-index: 5; right: max(14px,env(safe-area-inset-right)); bottom: max(14px,env(safe-area-inset-bottom)); background: #1a1229e8; border: 1px solid #a99ab9; color: #fff; border-radius: 9px; padding: 10px 14px; font: 700 12px system-ui,sans-serif; }
@keyframes intro-stamp-hit {
  0% { opacity: 0; transform: translate(-50%,-50%) rotate(-15deg) scale(3.4); }
  6% { opacity: 1; transform: translate(-50%,-50%) rotate(-8deg) scale(.92); }
  9% { transform: translate(-50%,-50%) rotate(-6deg) scale(1.035); }
  12%,87% { opacity: 1; transform: translate(-50%,-50%) rotate(-8deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%,-57%) rotate(-11deg) scale(.87); }
}
@keyframes intro-impact { 0% { opacity: 0; transform: scale(.35); } 22% { opacity: .75; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes intro-scuttle {
  0% { opacity: 0; transform: translate(calc(-50% + var(--sx)),calc(-50% + var(--sy))) rotate(var(--r1)) scale(.82); }
  8% { opacity: 1; }
  24% { opacity: 1; transform: translate(calc(-50% + var(--mx)),calc(-50% + var(--my))) rotate(var(--r1)) scale(1); }
  45% { opacity: 1; transform: translate(calc(-50% + var(--mx)),calc(-50% + var(--my))) rotate(var(--r1)) scale(1); }
  72% { opacity: 1; transform: translate(calc(-50% + var(--mx)),calc(-50% + var(--my))) rotate(var(--r1)) scale(1); }
  80% { opacity: 1; transform: translate(calc(-50% + var(--mx)),calc(-50% + var(--my))) rotate(var(--r2)) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--ex)),calc(-50% + var(--ey))) rotate(var(--r2)) scale(.75); }
}
@media(prefers-reduced-motion:reduce) { .intro-stamp { animation: none; } .intro-impact,.intro-roaches { display:none; } }

.board-frame { position: relative; }
.board-watermark { position: absolute; z-index: 4; pointer-events: none; user-select: none; top: 51%; left: 50%; transform: translate(-50%,-50%) rotate(-8deg); color: #fff; opacity: .29; font: 900 clamp(17px,3.2vw,43px)/1 system-ui,sans-serif; letter-spacing: -.04em; white-space: nowrap; text-shadow: 0 2px 5px #000, 0 0 10px #000; }
.intro-wink { height: 100dvh; width: 100dvw; max-height: 100dvh; max-width: 100dvw; }
.intro-stamp { width: min(90vw,1050px); }
.intro-stamp strong { font-size: clamp(21px,7.6vw,104px); }
.intro-roach { max-height: 28dvh; object-fit: contain; }
.intro-skip { min-height: 44px; min-width: 44px; right: max(14px,calc(env(safe-area-inset-right) + 8px)); bottom: max(14px,calc(env(safe-area-inset-bottom) + 8px)); }
@media (max-width:600px) {
  .intro-stamp { width: 87vw; padding: 15px 8px; transform: translate(-50%,-50%) rotate(-6deg); }
  .intro-stamp strong { font-size: clamp(21px,7.8vw,46px); }
  .intro-stamp-kicker,.intro-stamp-sub { font-size: clamp(9px,2.5vw,13px); letter-spacing: .08em; }
  .intro-roach { max-width: 19vw; }
  .board-watermark { font-size: clamp(16px,5.1vw,29px); }
}
@media (max-height:480px) and (orientation:landscape) { .intro-stamp { width: min(78vw,620px); padding: 9px; } .intro-stamp strong { font-size: clamp(24px,6vw,64px); } .intro-roach { max-height: 30dvh; } }

