﻿/* Who Am I? uses a bright scouting-card identity, separate from the other games. */
body.identity-mode main{background:radial-gradient(ellipse at 85% 5%,#14c5ba88,transparent 55%),radial-gradient(ellipse at 0 95%,#00618f77,transparent 60%),#008d9b;overflow-x:clip}
#identity-view{--id-ink:#12323b;--id-lime:#ddff69;--id-cream:#fff8df;max-width:900px;padding:22px 0 30px;color:var(--id-cream)}
.identity-heading{display:flex;align-items:center;justify-content:center;gap:22px;margin:0 0 16px}
#identity-heading{margin:0;font-family:var(--display);font-size:78px;font-weight:800;line-height:.95;letter-spacing:-1px;transform:rotate(-2deg);color:var(--id-cream);-webkit-text-stroke:3px var(--id-ink);paint-order:stroke fill;text-shadow:0 5px 0 var(--id-ink)}
#identity-heading span{color:var(--id-lime)}
#identity-rules{width:44px;height:44px;border:2px solid var(--id-ink);border-radius:50%;background:var(--id-cream);color:var(--id-ink);font-family:var(--display);font-size:25px;box-shadow:0 3px 0 var(--id-ink)}
.identity-controls{display:flex;flex-direction:column;align-items:center;gap:9px;margin:0 0 18px}
.identity-controls fieldset{display:flex;gap:4px;border:2px solid var(--id-ink);background:#075f6f;padding:4px;margin:0;border-radius:8px}
.identity-controls legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.identity-controls button{min-width:88px;min-height:44px;border:0;border-radius:4px;background:transparent;color:var(--id-cream);font-family:var(--display);font-size:22px;font-weight:800;text-transform:uppercase}
.identity-controls button[aria-pressed=true]{background:var(--id-lime);color:var(--id-ink)}
#identity-date{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
#identity-notice{font-size:14px;text-align:center}#identity-notice:empty{display:none}
#identity-retry{display:block;margin:16px auto;min-height:44px;border:0;border-radius:8px;background:var(--id-lime);color:var(--id-ink);padding:10px 20px;font-family:var(--display);font-size:23px}
.identity-dossier{display:grid;grid-template-columns:190px minmax(0,1fr);gap:25px;align-items:center}
.identity-badge{margin:0;transform:rotate(-3deg);text-align:center;min-width:0}
#identity-portrait{height:220px;position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden;border:4px solid var(--id-ink);border-radius:16px 16px 44px 16px;background:var(--id-lime);box-shadow:0 7px 0 var(--id-ink)}
#identity-portrait:before{content:'';position:absolute;z-index:-1;inset:14px;border-radius:6px 6px 32px 6px;background:#12323b13}
#identity-portrait strong{font-family:var(--display);font-size:180px;line-height:1;font-style:italic;color:var(--id-ink);transform:rotate(5deg)}
#identity-portrait img{width:100%;height:100%;object-fit:cover}
#identity-name{display:inline-block;max-width:100%;margin-top:13px;padding:7px 14px;background:#ffb77d;color:var(--id-ink);border:2px solid var(--id-ink);border-radius:4px;font-family:var(--display);font-size:23px;font-weight:800;line-height:1;overflow-wrap:anywhere}
#identity-clues{display:grid;gap:10px;list-style:none;margin:0;padding:0;min-width:0}
#identity-clues li{position:relative;padding:13px 17px;background:var(--id-cream);color:var(--id-ink);border:2px solid var(--id-ink);border-radius:6px 18px 6px 6px;box-shadow:0 4px 0 var(--id-ink);min-width:0}
#identity-clues li.identity-clue-locked{background:#076474;color:#d5f2e9;box-shadow:none;border-color:#0d4a57;padding-block:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.identity-clue-label{display:block;font-family:var(--display);font-size:17px;line-height:1;letter-spacing:.4px;color:#b44825}
.identity-clue-locked .identity-clue-label{color:#bce6db}
.identity-clue-locked>span{font-size:12px}
#identity-clues p{font-size:15px;line-height:1.4;margin:6px 0 0}
#identity-clues a{display:inline-block;padding-top:5px;font-size:10px;font-weight:600;color:#176a6d}
.identity-clue-photos{display:flex;gap:6px;float:right;margin-left:8px}
.identity-clue-photos img{height:32px;width:32px;object-fit:cover;border-radius:6px;background:#d3e1d0}
.identity-clue-photos img+img{object-fit:contain;padding:3px}
.identity-clue-photos .identity-clue-team-logo{object-fit:contain;padding:3px}
.identity-clue-open a+a{margin-left:14px}
.identity-clue-actions{display:flex;justify-content:flex-end;align-items:center;gap:13px;margin:16px 0 18px}
#identity-next-clue{min-height:44px;padding:10px 18px;background:#ffb77d;color:var(--id-ink);border:2px solid var(--id-ink);border-radius:6px 14px 6px 6px;box-shadow:0 3px 0 var(--id-ink);font-family:var(--display);font-size:22px;font-weight:800}
#identity-next-clue:disabled{background:#73b6ad;box-shadow:none;color:#194c52;cursor:default}
#identity-clue-count{font-size:12px;font-weight:600}
.identity-guess-label{display:flex;justify-content:space-between;gap:12px;margin:0 2px 8px;font-size:12px;font-weight:600}
#identity-form{display:flex;gap:12px;align-items:flex-start}
.identity-search-wrap{position:relative;flex:1;min-width:0}
#identity-search{display:block;width:100%;height:50px;background:var(--id-cream);border:3px solid var(--id-ink);border-radius:8px;padding:10px 17px;color:var(--id-ink);font-family:var(--font);font-size:16px;box-shadow:0 4px 0 var(--id-ink)}
.identity-search-wrap:has(#identity-selected-photo img) #identity-search{padding-left:54px}
#identity-selected-photo{position:absolute;z-index:1;top:8px;left:10px;pointer-events:none}
#identity-selected-photo img{width:32px;height:32px;object-fit:cover;border-radius:50%;background:#c1d2c2}
#identity-submit,#identity-share,.identity-modal-share{min-height:50px;border:3px solid var(--id-ink,#12323b);border-radius:8px;background:var(--id-lime,#ddff69);color:var(--id-ink,#12323b);padding:10px 23px;font-family:var(--display);font-size:25px;font-weight:800;line-height:1;box-shadow:0 4px 0 var(--id-ink,#12323b);text-transform:uppercase}
#identity-submit:disabled{background:#88bab0;color:#426b6c;cursor:default}
#identity-suggestions{position:absolute;z-index:12;top:calc(100% + 7px);left:0;right:0;max-height:260px;overflow:auto;margin:0;padding:6px;list-style:none;background:var(--id-cream);border:2px solid var(--id-ink);border-radius:8px;box-shadow:0 6px 0 #12323b77}
#identity-suggestions li{display:flex;gap:10px;align-items:center;min-height:44px;padding:6px 9px;border-radius:4px;cursor:pointer;color:var(--id-ink);font-size:15px;font-weight:600}
#identity-suggestions li[aria-selected=true],#identity-suggestions li:hover{background:#d9ecc3}
#identity-suggestions img{width:32px;height:32px;object-fit:cover;border-radius:50%;background:#c4d8cb}
#identity-guesses{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:15px}
#identity-guesses:empty{display:none}
.identity-guess{display:flex;align-items:center;gap:7px;padding:5px 10px 5px 5px;background:#075f6f;border:2px solid #12323b;border-radius:24px;font-size:12px;font-weight:600}
.identity-guess img{width:28px;height:28px;object-fit:cover;border-radius:50%}
.identity-guess.correct{background:var(--id-lime);color:var(--id-ink)}
.identity-guess .guess-mark{flex-shrink:0;font-size:22px;font-weight:800;line-height:1}
.identity-guess:not(.correct) .guess-mark{display:grid;place-items:center;width:30px;height:30px;color:#ff697b;font-size:34px;font-weight:800;line-height:1}
#identity-result{text-align:center;margin:22px 0 0}
#identity-result-title{font-family:var(--display);font-size:55px;line-height:.95;color:var(--id-lime);margin:0 0 10px;-webkit-text-stroke:2px var(--id-ink);paint-order:stroke fill;text-shadow:0 4px 0 var(--id-ink)}
#identity-result-score{font-size:14px;font-weight:600;margin-bottom:16px}
.identity-back{display:block;margin:24px auto 0;min-height:44px;padding:10px 18px;border:0;background:none;color:#e9fff0;font-family:var(--font);font-size:12px;text-decoration:underline;text-underline-offset:4px}
#identity-view :focus-visible{outline:3px solid #ffcc9a;outline-offset:4px}
#identity-view button:not(:disabled){transition:filter .18s,transform .18s}
#identity-view button:hover:not(:disabled){filter:brightness(1.08)}
#info-dialog[data-theme^=identity]{--id-ink:#12323b;--id-lime:#ddff69;background:#008d9b;color:#fff8df;border:4px solid #12323b;border-radius:12px 36px 12px 12px;text-align:center;max-width:570px;padding:30px 34px}
#info-dialog[data-theme^=identity] #dialog-heading{white-space:pre-line;font-family:var(--display);font-size:76px;line-height:.82;letter-spacing:-1px;color:#ddff69;-webkit-text-stroke:3px #12323b;paint-order:stroke fill;text-shadow:0 5px 0 #12323b;margin:12px 0 22px;transform:rotate(-3deg)}
#info-dialog[data-theme^=identity] .dialog-close{color:#fff8df}
.identity-win-photo{height:160px;width:150px;object-fit:cover;border:4px solid #12323b;border-radius:12px 12px 36px 12px;box-shadow:0 6px 0 #12323b;animation:identity-reveal .4s ease-out}
.identity-win-name{display:block;margin:16px 0 0;font-family:var(--display);font-size:40px;line-height:1;color:#fff8df}
.identity-modal-close{display:block;min-height:44px;margin:13px auto 0;padding:10px 16px;background:none;border:0;color:#fff8df;font-family:var(--font);font-size:13px;text-decoration:underline}
.identity-rules-steps{padding-left:20px;text-align:left;font-size:15px;line-height:1.5;margin:0 0 22px}
.identity-rules-steps li{margin:12px 0}
#info-dialog[data-theme^=identity] p{font-size:13px;line-height:1.5}
@keyframes identity-reveal{from{transform:scale(.8) rotate(-8deg)}to{transform:scale(1) rotate(0)}}




.identity-tile-play{background:#ddff69;color:#12323b}
.shell-footer-games{flex-wrap:wrap}
@media(min-width:1100px){.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#identity-view{max-width:680px}.identity-dossier{grid-template-columns:140px minmax(0,1fr);gap:18px}#identity-portrait{height:180px}#identity-heading{font-size:65px}}
@media(max-width:480px){#identity-view{width:calc(100% - 32px);padding-top:20px}#identity-heading{font-size:54px;-webkit-text-stroke-width:2px;text-shadow:0 4px 0 #12323b}.identity-heading{gap:17px;margin-bottom:16px}.identity-controls button{min-width:80px;font-size:21px}.identity-dossier{grid-template-columns:78px minmax(0,1fr);align-items:start;gap:12px}#identity-portrait{height:112px;border-width:3px;border-radius:10px 10px 28px 10px}#identity-portrait strong{font-size:100px}#identity-name{padding:5px;font-size:15px;line-height:1.05;margin-top:9px}#identity-clues{gap:8px}#identity-clues li{padding:10px 11px}#identity-clues li.identity-clue-locked{align-items:flex-start;flex-direction:column;gap:5px;padding-block:8px}.identity-clue-label{font-size:15px}#identity-clues p{font-size:13px;line-height:1.4}.identity-clue-photos{float:none;margin:7px 0 0}.identity-clue-photos img{height:28px;width:28px}.identity-clue-actions{margin:14px 0 16px;gap:11px}#identity-next-clue{font-size:20px;padding-inline:14px}#identity-form{flex-direction:column;gap:10px}.identity-search-wrap{width:100%}#identity-search{height:46px}#identity-selected-photo{top:7px}#identity-submit{min-height:46px;align-self:center;font-size:23px;min-width:180px}#identity-result-title{font-size:43px}#identity-share{font-size:23px;padding-inline:16px}#info-dialog[data-theme^=identity]{padding:25px 22px}#info-dialog[data-theme^=identity] #dialog-heading{font-size:65px}.identity-win-photo{height:140px;width:130px}.site-header .subnav .shell-tab{padding:11px 5px;font-size:14px}.shell-footer-games{justify-content:flex-start;column-gap:22px;row-gap:2px}}
@media(max-width:350px){#identity-heading{font-size:47px}.identity-dossier{grid-template-columns:65px minmax(0,1fr);gap:10px}#identity-portrait{height:98px}#identity-portrait strong{font-size:87px}#identity-name{font-size:13px}.site-header .subnav .shell-tab{font-size:13px;padding-inline:3px}}
@media(prefers-reduced-motion:reduce){#identity-view *,#info-dialog[data-theme^=identity] *{animation:none!important;transition:none!important}}
/* Clues read as collectible scouting cards, with a different accent for each reveal. */
#identity-clues{gap:12px}
#identity-clues li{--clue-accent:#ffb77d;--clue-paper:#fff8df;border-width:3px;border-radius:9px 28px 10px 18px;padding:12px 16px;background:var(--clue-paper);box-shadow:0 5px 0 #12323b;transition:transform .18s;isolation:isolate}
#identity-clues li:is([data-kind=international],[data-kind=connections]){--clue-accent:#75ebd0;--clue-paper:#e3fff1;border-radius:22px 9px 24px 9px}
#identity-clues li[data-kind=achievement]{--clue-accent:#ddff69;--clue-paper:#f1ffcb;border-radius:9px 24px 10px 22px}
#identity-clues li[data-kind=nationality]{--clue-accent:#a8caff;--clue-paper:#edf3ff}
#identity-clues li.identity-clue-open:before{content:'';position:absolute;inset:5px;z-index:-1;border-radius:inherit;background:radial-gradient(circle at 100% 0,var(--clue-accent),transparent 65%);opacity:.35;pointer-events:none}
#identity-clues li.identity-clue-open:hover{transform:translateY(-2px)}
#identity-clues .identity-clue-label{display:flex;align-items:center;gap:9px;color:#12323b;font-size:18px;letter-spacing:.3px;min-width:0}
.identity-clue-number{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:2px solid #12323b;border-radius:7px 11px 6px 9px;background:var(--clue-accent);font-size:20px;box-shadow:0 2px 0 #12323b;transform:rotate(-5deg)}
.identity-clue-icon{display:grid;place-items:center;margin-left:auto;width:28px;height:28px;color:#295e5c;flex-shrink:0}
.identity-clue-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#identity-clues p{font-size:15px;line-height:1.45;margin-top:8px}
#identity-clues a{font-size:10px;min-height:24px;padding-top:5px;color:#1b5954;font-weight:600}
#identity-clues li.identity-clue-locked{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:9px 13px;border:2px solid #0c5361;background:#076474;box-shadow:0 3px 0 #075363;border-radius:9px 19px 9px 13px;gap:8px}
#identity-clues .identity-clue-locked .identity-clue-label{font-size:16px;color:#bde8df;gap:8px}
.identity-clue-locked .identity-clue-number{width:25px;height:25px;border-color:#276d77;background:#0c5361;color:#a2d5d0;font-size:17px;box-shadow:none;transform:none}
.identity-clue-locked .identity-clue-icon{display:none}
.identity-clue-locked>span{font-size:11px;white-space:nowrap;opacity:.8}
.identity-clue-open.is-revealing{animation:identity-clue-arrive .35s ease-out both}
@keyframes identity-clue-arrive{from{opacity:.45;transform:translateY(8px) rotate(-1deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
/* A new winning guess opens a full-viewport player reveal, not a small notice. */
html.identity-victory-open{overflow:hidden}
#identity-win-dialog{--id-ink:#12323b;--id-lime:#ddff69;position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow-y:auto;overflow-x:hidden;color:#fff8df;background:radial-gradient(ellipse at 50% 45%,#43ddc6 0,#00999f 45%,#006b87 100%);box-sizing:border-box;isolation:isolate}
#identity-win-dialog[open]{display:grid;place-items:center}
#identity-win-dialog::backdrop{background:#07303be8}
#identity-win-dialog:before{content:'';position:fixed;inset:17% 10%;z-index:-1;pointer-events:none;border-radius:50%;background:#ddff6921;filter:blur(32px)}
.identity-win-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:13px;width:min(680px,100%);padding:25px 24px 28px;box-sizing:border-box;text-align:center}
#identity-win-close{position:fixed;z-index:4;top:16px;right:18px;width:44px;height:44px;background:#fff8df;color:#12323b;border:2px solid #12323b;border-radius:50%;font-size:30px;line-height:1;box-shadow:0 3px 0 #12323b}
.identity-win-medal{display:grid;place-items:center;width:62px;height:62px;background:#ddff69;border:3px solid #12323b;border-radius:18px 23px 16px 23px;transform:rotate(-8deg);box-shadow:0 4px 0 #12323b}
.identity-win-medal svg{width:42px;height:42px;fill:none;stroke:#12323b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#identity-win-title{margin:0 0 5px;font-family:var(--display);font-size:clamp(76px,10vw,118px);line-height:.78;font-weight:800;letter-spacing:-1px;white-space:normal;color:#fff8df;transform:rotate(-4deg);-webkit-text-stroke:4px #12323b;paint-order:stroke fill;text-shadow:0 7px 0 #12323b;animation:identity-win-title .45s cubic-bezier(.2,1.4,.45,1) both}
#identity-win-title span{color:#ddff69}
.identity-win-player{display:flex;flex-direction:column;align-items:center;margin:7px 0 0}
#identity-win-portrait{height:210px;width:190px;background:#ddff69;padding:6px;border:4px solid #12323b;border-radius:17px 25px 40px 17px;box-shadow:0 7px 0 #12323b;transform:rotate(3deg);animation:identity-win-player .5s cubic-bezier(.2,1.4,.45,1) both}
#identity-win-portrait img{height:100%;width:100%;object-fit:cover;border-radius:8px 14px 28px 8px}
#identity-win-player-name{position:relative;max-width:100%;display:block;margin-top:-10px;padding:7px 22px 10px;background:#ffb77d;color:#12323b;border:3px solid #12323b;border-radius:8px 13px 8px 11px;font-family:var(--display);font-size:43px;line-height:1;box-shadow:0 4px 0 #12323b;transform:rotate(-3deg);overflow-wrap:anywhere}
.identity-win-stats{display:flex;gap:14px;margin:5px 0 2px}
.identity-win-stats>div{display:flex;align-items:center;gap:8px;padding:7px 15px;background:#075d6f;border:2px solid #12323b;border-radius:10px;color:#fff8df;min-height:44px}
.identity-win-stats strong{font-family:var(--display);font-size:30px;line-height:1;color:#ddff69}
.identity-win-stats span{font-family:var(--font);font-size:10px;font-weight:800;letter-spacing:.5px}
.identity-win-actions{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%}
#identity-win-share{min-height:55px;background:#ddff69;color:#12323b;border:3px solid #12323b;border-radius:14px 8px 15px 8px;padding:13px 28px;font-family:var(--display);font-size:28px;font-weight:800;line-height:1;text-transform:uppercase;box-shadow:0 5px 0 #12323b;transition:transform .18s}
#identity-win-share:hover{transform:translateY(-2px)}
#identity-win-return{min-height:44px;padding:8px 18px;background:transparent;border:0;color:#fff8df;font-family:var(--font);font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
#identity-win-dialog :focus-visible{outline:3px solid #fff8df;outline-offset:5px}
#identity-win-confetti{position:fixed;z-index:2;inset:0;overflow:hidden;pointer-events:none}
#identity-win-confetti i{position:absolute;top:-30px;left:var(--x);width:12px;height:17px;border-radius:3px;background:var(--color);animation:identity-confetti var(--duration) ease-in var(--delay) both}
#identity-win-confetti i:nth-child(3n){width:14px;height:14px;border-radius:50%}
#identity-win-confetti i:nth-child(5n){width:19px;height:19px;clip-path:polygon(50% 0,61% 35%,100% 38%,70% 60%,80% 100%,50% 77%,20% 100%,30% 60%,0 38%,39% 35%);border-radius:0}
@keyframes identity-confetti{0%{opacity:0;transform:translate3d(0,-25px,0) rotate(0)}10%,75%{opacity:1}100%{opacity:0;transform:translate3d(var(--drift),110vh,0) rotate(var(--spin))}}
@keyframes identity-win-title{from{opacity:0;transform:scale(.65) rotate(-8deg)}to{opacity:1;transform:scale(1) rotate(-4deg)}}
@keyframes identity-win-player{from{opacity:0;transform:translateY(25px) scale(.8) rotate(-5deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(3deg)}}
@media(max-width:480px){#identity-clues{gap:11px}#identity-clues li{padding:10px 11px;border-width:2px;border-radius:7px 22px 8px 14px}#identity-clues .identity-clue-label{font-size:16px;gap:7px}.identity-clue-number{width:27px;height:27px;font-size:18px}.identity-clue-icon{width:23px;height:23px}.identity-clue-icon svg{height:21px;width:21px}#identity-clues p{font-size:13px;line-height:1.4;margin-top:8px}#identity-clues li.identity-clue-locked{padding:8px 9px}#identity-clues .identity-clue-locked .identity-clue-label{font-size:14px;gap:6px}.identity-clue-locked .identity-clue-number{width:22px;height:22px;font-size:15px}.identity-clue-locked>span{font-size:10px}.identity-win-content{gap:11px;padding:28px 17px 18px}.identity-win-medal{width:46px;height:46px;border-radius:14px 18px 12px 18px}.identity-win-medal svg{width:31px;height:31px}#identity-win-title{font-size:85px;-webkit-text-stroke-width:3px;text-shadow:0 5px 0 #12323b}#identity-win-portrait{height:164px;width:148px;border-width:3px;padding:5px}#identity-win-player-name{font-size:36px;padding:7px 18px}.identity-win-stats{gap:9px}.identity-win-stats>div{padding:7px 10px;gap:6px}.identity-win-stats strong{font-size:27px}.identity-win-stats span{font-size:9px}#identity-win-share{font-size:25px;min-height:50px;padding:12px 22px}}
@media(max-width:350px){#identity-clues .identity-clue-locked .identity-clue-label{font-size:13px;gap:5px}.identity-clue-locked>span{font-size:9px}#identity-win-title{font-size:72px}}
@media(max-height:700px){.identity-win-content{gap:8px;padding-top:16px;padding-bottom:12px}.identity-win-medal{width:39px;height:39px;border-radius:11px}.identity-win-medal svg{width:27px;height:27px}#identity-win-title{font-size:65px;line-height:.8;-webkit-text-stroke-width:3px;text-shadow:0 4px 0 #12323b}#identity-win-portrait{height:116px;width:108px;padding:4px;border-width:3px}#identity-win-player-name{font-size:30px;padding:6px 14px}.identity-win-player{margin-top:4px}.identity-win-stats{margin-block:2px}.identity-win-stats>div{padding:5px 9px;min-height:38px}.identity-win-stats strong{font-size:25px}#identity-win-share{font-size:23px;min-height:46px;padding:10px 20px}#identity-win-return{min-height:44px}}
@media(prefers-reduced-motion:reduce){#identity-clues *,#identity-win-dialog *{animation:none!important;transition:none!important}#identity-win-confetti{display:none}}
/* Rules use the same scouting cards without exposing a daily clue or player. */
#info-dialog[data-theme=identity-rules]{width:min(530px,calc(100% - 30px));max-height:calc(100dvh - 28px);padding:25px 30px 20px;border-radius:18px 38px 17px 24px;background:radial-gradient(ellipse at 90% 0,#2ac4ad88,transparent 65%),#008d9b;overflow:auto}
#info-dialog[data-theme=identity-rules]>.eyebrow{display:none}
#info-dialog[data-theme=identity-rules] #dialog-heading{font-size:70px;margin:8px 0 23px}
#info-dialog[data-theme=identity-rules] .dialog-close{width:40px;height:40px;top:12px;right:12px;border:2px solid #12323b;border-radius:50%;background:#fff8df;color:#12323b;font-size:26px;line-height:1}
.identity-rules-art{display:flex;align-items:center;justify-content:center;gap:19px;max-width:310px;margin:0 auto 22px}
.identity-rules-mystery{display:grid;place-items:center;width:79px;height:101px;flex-shrink:0;background:#ddff69;color:#12323b;border:3px solid #12323b;border-radius:11px 15px 25px 10px;box-shadow:0 5px 0 #12323b;transform:rotate(-7deg);font-family:var(--display);font-size:85px;line-height:1}
.identity-rules-cards{display:grid;gap:7px;min-width:0;flex:1}
.identity-rules-cards>span{display:flex;align-items:center;gap:9px;min-height:34px;padding:5px 10px;background:#fff8df;color:#12323b;border:2px solid #12323b;border-radius:6px 13px 5px 8px;box-shadow:0 3px 0 #12323b;transform:rotate(3deg)}
.identity-rules-cards>span[data-kind=teammate]{background:#d6ffed;transform:rotate(-2deg)}
.identity-rules-cards>span[data-kind=alias]{background:#f1ffcb;transform:rotate(2deg)}
.identity-rules-cards svg{height:21px;width:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.identity-rules-cards strong{font-family:var(--display);font-size:16px;line-height:1;white-space:nowrap}
#info-dialog[data-theme=identity-rules] .identity-rules-steps{counter-reset:identity-rule;list-style:none;padding:0;margin:0 0 21px;text-align:left;display:grid;gap:14px}
#info-dialog[data-theme=identity-rules] .identity-rules-steps li{position:relative;counter-increment:identity-rule;display:grid;gap:4px;margin:0;padding-left:43px;min-height:35px}
.identity-rules-steps li:before{content:counter(identity-rule);position:absolute;left:0;top:1px;display:grid;place-items:center;width:29px;height:29px;background:#ffb77d;color:#12323b;border:2px solid #12323b;border-radius:7px 11px 6px 9px;font-family:var(--display);font-size:21px;line-height:1;transform:rotate(-5deg);box-shadow:0 2px 0 #12323b}
.identity-rules-steps li:nth-child(2):before{background:#9cf1d7;transform:rotate(4deg)}
.identity-rules-steps li:nth-child(3):before{background:#ddff69}
.identity-rules-steps li>strong{font-family:var(--display);font-size:23px;line-height:1;color:#fff8df;font-weight:800}
.identity-rules-steps li>span{font-family:var(--font);font-size:13px;line-height:1.4;color:#e2fff3}
#info-dialog[data-theme=identity-rules] .identity-rules-play{width:min(275px,100%);min-height:54px;border-radius:13px 7px 15px 8px;transform:rotate(-2deg);font-size:28px;margin:0 auto 3px}
#info-dialog[data-theme=identity-rules] .identity-rules-note{font-size:11px;line-height:1.4;margin:15px 0 0;color:#d7f5e8}
.identity-rules-sources{margin:9px 0 0;color:#c4eee1;font-size:11px;text-align:center}
.identity-rules-sources summary{display:inline-block;cursor:pointer;min-height:28px;padding:5px;text-decoration:underline;text-underline-offset:3px}
#info-dialog[data-theme=identity-rules] .identity-rules-sources p{font-size:11px;margin:4px 0 0;line-height:1.4}
#info-dialog[data-theme=identity-rules] :focus-visible{outline:3px solid #ddff69;outline-offset:4px}
@media(max-width:480px){#info-dialog[data-theme=identity-rules]{padding:23px 20px 16px}#info-dialog[data-theme=identity-rules] #dialog-heading{font-size:64px;margin-bottom:22px}.identity-rules-art{gap:15px;margin-bottom:19px;max-width:275px}.identity-rules-mystery{width:67px;height:91px;font-size:75px}.identity-rules-cards>span{padding:5px 8px;gap:7px}.identity-rules-cards strong{font-size:15px}#info-dialog[data-theme=identity-rules] .identity-rules-steps{gap:13px;margin-bottom:19px}.identity-rules-steps li>strong{font-size:22px}.identity-rules-steps li>span{font-size:12px}#info-dialog[data-theme=identity-rules] .identity-rules-play{font-size:26px;min-height:50px}}
@media(max-height:700px){#info-dialog[data-theme=identity-rules]{padding-top:15px;padding-bottom:12px}#info-dialog[data-theme=identity-rules] #dialog-heading{font-size:50px;margin:5px 0 15px}.identity-rules-art{margin-bottom:14px;gap:14px}.identity-rules-mystery{width:59px;height:77px;font-size:65px}.identity-rules-cards{gap:5px}.identity-rules-cards>span{min-height:27px;padding-block:3px}.identity-rules-cards svg{width:18px;height:18px}.identity-rules-cards strong{font-size:14px}#info-dialog[data-theme=identity-rules] .identity-rules-steps{gap:10px;margin-bottom:15px}.identity-rules-steps li>strong{font-size:20px}.identity-rules-steps li>span{font-size:12px}#info-dialog[data-theme=identity-rules] .identity-rules-play{min-height:46px;font-size:24px}#info-dialog[data-theme=identity-rules] .identity-rules-note{margin-top:11px;font-size:10px}.identity-rules-sources{margin-top:4px}}
@media(max-height:700px){#info-dialog[data-theme=identity-rules]{padding-top:12px;padding-bottom:10px}#info-dialog[data-theme=identity-rules] #dialog-heading{font-size:44px;margin-bottom:12px}.identity-rules-art{margin-bottom:12px}.identity-rules-mystery{height:68px;width:55px;font-size:59px}.identity-rules-cards{gap:4px}.identity-rules-cards>span{min-height:25px;padding-block:2px}#info-dialog[data-theme=identity-rules] .identity-rules-steps{gap:9px;margin-bottom:13px}}
#info-dialog[data-theme=identity-rules] .dialog-close{width:44px;height:44px;z-index:2}

@media(max-width:600px){
  #identity-heading,#identity-result-title{-webkit-text-stroke:1px #12323b;text-shadow:0 2px 0 #12323b}
  #info-dialog[data-theme^=identity] #dialog-heading{-webkit-text-stroke:1.5px #12323b;text-shadow:0 2px 0 #12323b}
  #identity-win-title{-webkit-text-stroke:2px #12323b;text-shadow:0 3px 0 #12323b}
}

.identity-clue-asof { display: block; margin-top: .65rem; font-size: .68rem; font-weight: 600; opacity: .72; }
