.nn-create{max-width:800px;margin:auto;padding-bottom:70px}.nn-mode-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:18px 0}.nn-mode-tabs button{min-height:48px;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);font-size:12px}.nn-mode-tabs button[aria-pressed=true]{background:#234e42;border-color:#d5b46d;color:#f3d28e}.nn-create .form-section{margin-top:14px}.nn-create .form-section h2{font-size:16px;margin:0 0 18px}.nn-create .form-grid{margin-top:15px;gap:16px}.nn-create .form-grid select{width:100%;min-height:42px}.nn-special-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nn-special-options small{color:var(--gold);margin-left:auto}.nn-squeeze-option{margin-top:22px}.nn-create .create-summary{z-index:25}.game-choice.niuniu{opacity:1!important}.game-choice.niuniu .art-coming-symbol{color:#f2cf80}
html.on-niuniu-table,html.on-niuniu-table body{overflow:hidden;overscroll-behavior:none;background:#071f1c}.nn-scene{--felt:#246552;--felt-edge:#123b32;--nn-gold:#eacb88;position:relative;isolation:isolate;display:flex;flex-direction:column;width:100%;max-width:680px;height:100dvh;margin:auto;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);overflow:hidden;color:#e9eee1;background:radial-gradient(ellipse at 50% 38%,var(--felt),var(--felt-edge));box-shadow:0 0 80px #0006;font-family:system-ui,-apple-system,"PingFang SC",sans-serif}.nn-scene::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.13;background:repeating-linear-gradient(38deg,#cde5cf22 0 1px,transparent 1px 3px),repeating-linear-gradient(118deg,#001e1c44 0 1px,transparent 1px 4px);pointer-events:none}.nn-scene button{font:inherit;color:inherit;cursor:pointer}.nn-scene button:disabled{cursor:default}.nn-scene svg{width:20px;height:20px}.nn-header{height:48px;min-height:48px;display:flex;align-items:center;gap:7px;padding:0 8px;background:#071e20ad;border-bottom:1px solid #a5c4aa1c}.nn-header>button{border:0;background:none;color:var(--nn-gold);width:36px;height:40px;display:grid;place-items:center}.nn-header>div{display:grid;gap:2px;flex:1}.nn-header b{font-size:14px;font-weight:600}.nn-header span{font-size:10px;color:#a3bcb0}.nn-rule-bar{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 12px;height:27px;min-height:27px;font-size:10px;color:#bbd2c0}.nn-rule-bar small{font-size:9px;color:#92bea9}.nn-stage{position:relative;flex:1;min-height:0;margin:0 8px}.nn-felt-ring{position:absolute;inset:3% 7%;border:1px solid #e5d09624;border-radius:45% / 12%;pointer-events:none;box-shadow:inset 0 0 40px #061e1a22}.nn-seat{position:absolute;top:calc((var(--row) + .5)*100%/var(--rows));transform:translateY(-50%);width:43%;height:min(48px,calc(100%/var(--rows) - 2px));display:flex;align-items:center;gap:5px;padding:0;border:0;background:none;text-align:left}.nn-seat.nn-left{left:0}.nn-seat.nn-right{right:0;flex-direction:row-reverse;text-align:right}.nn-portrait{position:relative;flex-shrink:0;width:clamp(22px,4.2dvh,34px);height:clamp(22px,4.2dvh,34px);border:1px solid #bdd3b66b;border-radius:5px;background:#113c34;box-shadow:0 3px 7px #04292344}.nn-portrait img,.nn-portrait .avatar-fallback,.nn-self-avatar img,.nn-self-avatar .avatar-fallback{display:grid;place-items:center;object-fit:cover;width:100%;height:100%;border-radius:4px;color:#ebd598;font-size:10px;overflow:hidden}.nn-banker{position:absolute;top:-4px;left:-4px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;background:#e8bc5a;color:#502e0c;border:1px solid #fff0b4;font-size:9px;z-index:2}.is-banker .nn-portrait{border-color:#f3d07c;box-shadow:0 0 0 2px #e9be5d33}.nn-online{position:absolute;right:0;bottom:0;width:5px;height:5px;border-radius:50%;background:#657a72;box-shadow:0 0 0 1px #16392f}.nn-online.online{background:#7cdba2}.nn-person{display:grid;min-width:0;flex:0 1 42px;gap:2px;line-height:1.1}.nn-person>b{font-size:9px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:44px}.nn-person>strong{font-size:11px;color:#f2d48f;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.nn-seat-hand{display:flex;position:relative;min-width:0;flex:1;max-width:72px;padding-bottom:10px;justify-content:flex-start}.nn-right .nn-seat-hand{justify-content:flex-end}.nn-seat-state{position:absolute;left:0;right:0;bottom:-1px;font-size:8px;line-height:10px;white-space:nowrap;color:#b8cbb5;text-align:center;overflow:hidden;text-overflow:ellipsis}.nn-seat .nn-card{width:19px;height:26px;border-radius:2px;padding:2px;margin-left:-7px;box-shadow:0 1px 2px #00191066;flex-shrink:0}.nn-seat .nn-card:first-child{margin-left:0}.nn-seat .nn-card b{font-size:11px;line-height:11px}.nn-seat .nn-card small{font-size:9px;line-height:9px}.nn-seat .nn-card em{display:none}.nn-seat .nn-back span{font-size:9px}.nn-seat.nn-empty{width:49px;max-height:38px;min-height:20px;display:flex;justify-content:center;gap:4px;border:1px solid #a9cbb33d;border-radius:5px;background:#093b2e1f;color:#b8cdb788}.nn-empty span{font-size:14px}.nn-empty small{font-size:8px}.nn-empty:disabled{opacity:.52}.nn-net{font:inherit;font-weight:650;text-shadow:0 1px 2px #082419}.nn-person>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis}.nn-bubble{position:absolute;top:-21px;left:5px;z-index:6;max-width:210px;min-width:100px;padding:5px 8px;border-radius:7px;background:#082721ee;color:#e8ecda;font-size:10px;line-height:1.4;box-shadow:0 2px 6px #0004;white-space:normal;pointer-events:none}.nn-right .nn-bubble{right:5px;left:auto}.nn-center{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:24%;display:grid;justify-items:center;gap:8px;text-align:center;pointer-events:none}.nn-brand{display:grid;opacity:.42;color:#063a2b;text-shadow:0 1px #8bb98d55;justify-items:center}.nn-brand>span{font:44px/1 Georgia,serif}.nn-brand>b{font-size:28px;letter-spacing:5px;margin-left:5px}.nn-brand>small{font-size:8px;letter-spacing:3px}.nn-phase{font-size:12px;color:#eed897;white-space:nowrap}.nn-clock{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid #c9b87980;border-radius:50%;font:500 23px/1 ui-monospace,monospace;color:#f4dfab;background:#0b362c55;box-shadow:0 0 0 4px #c0b17b12}.nn-clock.urgent{color:#f6b58e;border-color:#e8aa73}.nn-center-note{font-size:9px;line-height:1.5;color:#c3cfa9;max-width:100%}.nn-bank{font-size:9px;color:#eccd8a}.nn-self{position:relative;flex:none;padding:7px 12px 8px;background:linear-gradient(#0b302733,#07231dc4);border-top:1px solid #c2d2aa26}.nn-self-meta{display:flex;align-items:center;gap:7px;min-height:32px;margin-bottom:6px}.nn-self-avatar{width:30px;height:30px;position:relative;border:1px solid #c9b67988;border-radius:5px;flex-shrink:0}.nn-self-meta>div{display:grid;gap:2px;min-width:0}.nn-self-meta b{font-size:11px;max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nn-self-meta small{font-size:9px;color:#aac5b2}.nn-self-meta>strong{display:grid;gap:2px;font-size:15px;margin-left:4px}.nn-self-meta>strong small{font-size:8px;font-weight:400}.nn-self-meta>.nn-auto{display:flex;align-items:center;justify-content:center;gap:3px;margin-left:auto;background:none;border:0;min-height:32px;font-size:10px;color:#c9d4b5}.nn-auto svg{width:14px;height:14px}.nn-auto[aria-pressed=true]{color:#f4d586}.nn-own-cards{position:relative;display:flex;gap:5px;justify-content:center;align-items:center;height:clamp(58px,10dvh,86px);margin:1px 0 8px}.nn-own-card{display:block;position:relative;border:0;background:none;padding:0;width:min(16%,57px);height:100%;min-width:0;perspective:700px}.nn-card{display:flex;position:relative;flex-direction:column;width:100%;height:100%;padding:4px 5px;border-radius:5px;background:linear-gradient(125deg,#fffef5,#e9ecdd);color:#1b2c2c;box-shadow:0 3px 6px #021e2159;text-align:left;overflow:hidden}.nn-card b{font:bold 23px/1 Georgia,serif;z-index:1}.nn-card small{font-size:17px;line-height:1.2;z-index:1}.nn-card em{position:absolute;font-style:normal;font-size:30px;right:4px;bottom:3px;line-height:1}.nn-suit-1,.nn-suit-3{color:#bf3c43}.nn-suit-4{color:#bf5b30}.nn-suit-5,.nn-suit-7{color:#267c9d}.nn-suit-6,.nn-suit-8{color:#a47719}.nn-wild{color:#8053a8;background:linear-gradient(130deg,#f9edff,#e4d9f0)}.nn-wild b{font:700 17px/1.4 system-ui}.nn-wild small{font-size:9px}.nn-back{background:repeating-linear-gradient(45deg,#164e50,#164e50 3px,#1b5959 3px,#1b5959 5px);border:2px solid #d2d9c2;padding:3px;display:grid;place-items:center}.nn-back::after{content:"";position:absolute;inset:3px;border:1px solid #adc6aa66;border-radius:2px}.nn-back span{color:#c1cba882;font:24px Georgia,serif}.nn-own-card>small{position:absolute;bottom:4px;left:0;right:0;font-size:8px;color:#f5df9b;z-index:2;text-shadow:0 1px 2px #002}.nn-no-hand{font-size:12px;letter-spacing:1px;color:#93b5a1}.nn-own-result{position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);display:flex;gap:10px;align-items:center;border:1px solid #e7c48066;padding:4px 13px;border-radius:6px;background:#103f35ee;font-size:17px;font-weight:650;color:#f4d68c;text-shadow:0 1px #282017;white-space:nowrap}.nn-own-result b{font-size:15px}.nn-actions{display:flex;gap:8px;justify-content:center;min-height:36px;align-items:center}.nn-actions>button{flex:1;max-width:210px;min-height:36px;border-radius:5px;font-size:14px;font-weight:600}.nn-gold{background:linear-gradient(#f3d692,#dfb467);border:1px solid #fae3ab!important;color:#4b391e!important;box-shadow:inset 0 0 0 2px #deb869,0 2px 3px #09271e66}.nn-secondary{background:#2d5b50;border:1px solid #c5d4af55;color:#e3e6cb}.nn-actions>button:disabled{opacity:.45}.nn-actions>span{font-size:11px;color:#c6d5bc}.nn-footer{display:flex;align-items:center;justify-content:space-around;height:43px;min-height:43px;border-top:1px solid #bdc9ab28;background:#09291fd6;padding:0 5px}.nn-footer>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:45px;max-width:24%;height:40px;background:none;border:0;color:#c9cc9c;font-size:8px;overflow:hidden}.nn-footer>button span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nn-footer svg{width:17px;height:17px;flex:none}.nn-sync-notice{position:absolute;top:75px;left:15%;right:15%;padding:8px;background:#593f20ee;border:1px solid #bba56a;border-radius:6px;color:#ffe4aa;font-size:11px;text-align:center;z-index:8}.nn-coin{position:absolute;z-index:9;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;border:2px solid #ffdf84;color:#a7761c;background:linear-gradient(135deg,#fff0a2,#e9b13c);box-shadow:0 1px 3px #001a;pointer-events:none;font-style:normal}.nn-rules{font-size:13px;line-height:1.85;color:#bdc9c6}.nn-rules h3{color:#efcf8b;font-size:15px}.nn-rule-types{display:grid;grid-template-columns:1fr 1fr;gap:6px}.nn-rule-types>span{display:flex;justify-content:space-between;padding:7px;background:#153a31;border-radius:5px;color:#e2d1a8}.nn-rule-types .is-off{opacity:.4}.nn-hand-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nn-hand-results article{padding:12px;border:1px solid var(--line);border-radius:8px;background:#102e2b}.nn-hand-results article>div:first-child{display:flex;justify-content:space-between;gap:7px;font-size:12px}.nn-hand-results article>p{font-size:10px;line-height:1.6;color:#d5ceaa;margin:9px 0 0}.nn-result-cards{display:flex;gap:3px;margin-top:12px}.nn-result-cards .nn-card{width:20%;height:58px;padding:3px}.nn-result-cards .nn-card b{font-size:17px}.nn-result-cards .nn-card small{font-size:12px}.nn-result-cards .nn-card em{font-size:17px}.nn-phrase-list{display:grid;gap:8px}.nn-phrase-list button{background:#153c32;border:1px solid #a6c3ac33;color:#e3ddbd;text-align:left;min-height:40px;padding:8px 12px;border-radius:6px;font-size:13px}.nn-squeeze-board{width:150px;height:210px;position:relative;touch-action:none;margin:24px auto;cursor:grab;perspective:800px}.nn-squeeze-board>.nn-card{position:absolute;inset:0}.nn-squeeze-board .nn-card b{font-size:42px}.nn-squeeze-board .nn-card small{font-size:30px}.nn-squeeze-board .nn-card em{font-size:80px}.nn-squeeze-cover{position:absolute;inset:0;transform-origin:left center;z-index:2;pointer-events:none;backface-visibility:hidden}.nn-squeeze-cover .nn-back{border-width:4px}.nn-squeeze-board.is-open .nn-squeeze-cover{transform:rotateY(-110deg);opacity:0;transition:transform .3s,opacity .3s}.nn-menu{display:grid;grid-template-columns:1fr 1fr;gap:10px}.nn-menu button{min-height:44px;background:#173c32;border:1px solid #d2cda744;border-radius:6px;color:#e5d5aa;font-size:12px}
@media(max-width:360px){.nn-seat{gap:3px;width:44%}.nn-person{flex-basis:30px}.nn-person>b{max-width:32px;font-size:8px}.nn-seat .nn-card{width:16px;margin-left:-6px;height:24px}.nn-seat-hand{max-width:57px}.nn-seat .nn-card b{font-size:10px}.nn-portrait{width:23px;height:23px}.nn-self{padding:5px 9px 6px}.nn-own-cards{margin-bottom:5px}.nn-header{height:43px;min-height:43px}.nn-center{width:23%}.nn-brand>b{font-size:22px}.nn-phase{font-size:10px}.nn-hand-results{grid-template-columns:1fr}.nn-mode-tabs button{font-size:10px}.nn-special-options{gap:12px 7px}.nn-special-options label{font-size:11px}}
@media(max-height:650px){.nn-brand{display:none}.nn-center{gap:5px}.nn-seat{height:min(32px,calc(100%/var(--rows) - 1px))}.nn-portrait{width:22px;height:22px}.nn-person{gap:1px}.nn-person>b{font-size:8px}.nn-person>strong{font-size:10px}.nn-seat .nn-card{height:22px}.nn-seat-hand{padding-bottom:7px}.nn-seat-state{font-size:7px;line-height:8px}.nn-self-meta{min-height:26px;margin-bottom:3px}.nn-self-avatar{width:24px;height:24px}.nn-own-cards{height:55px}.nn-card b{font-size:18px}.nn-card small{font-size:12px}.nn-card em{font-size:24px}.nn-actions{min-height:31px}.nn-actions>button{min-height:31px;font-size:12px}.nn-footer{height:37px;min-height:37px}.nn-footer>button{height:36px}.nn-footer svg{height:14px}.nn-rule-bar{height:23px;min-height:23px}}
@media(min-width:560px) and (max-height:600px){.nn-scene{max-width:1100px;display:grid;grid-template-columns:minmax(0,1fr) clamp(205px,31vw,260px);grid-template-rows:43px 23px minmax(0,1fr) 37px}.nn-header,.nn-rule-bar{grid-column:1/-1}.nn-stage{grid-column:1;grid-row:3;margin:0 12px}.nn-self{grid-column:2;grid-row:3;align-self:stretch;display:flex;flex-direction:column;justify-content:center;border-top:0;border-left:1px solid #b8c9ab33}.nn-own-cards{height:69px;margin:20px 0}.nn-self-meta{flex-wrap:wrap}.nn-actions{flex-wrap:wrap;flex:none}.nn-actions>button{flex:1 1 42%;max-width:none;min-height:36px}.nn-footer{grid-row:4;grid-column:1/-1}.nn-center .nn-brand{display:grid}.nn-seat{width:43%}}
@media(prefers-reduced-motion:reduce){.nn-scene *{scroll-behavior:auto!important}}
[data-table-felt=blue] .nn-scene{--felt:#276881;--felt-edge:#123847}[data-table-felt=charcoal] .nn-scene{--felt:#515d5c;--felt-edge:#252f30}[data-table-felt=plum] .nn-scene{--felt:#70476c;--felt-edge:#392836}

@media(min-width:560px) and (max-height:600px){.nn-seat .nn-card{height:18px}.nn-seat-hand{padding-bottom:7px}.nn-seat .nn-card b{font-size:9px;line-height:9px}.nn-seat .nn-card small{font-size:8px;line-height:8px}}
@media(min-width:560px) and (max-height:360px){.nn-seat .nn-card{height:14px;padding:1px}.nn-seat .nn-card b{font-size:8px;line-height:8px}.nn-seat .nn-card small{font-size:6px;line-height:6px}.nn-seat-hand{padding-bottom:5px}.nn-seat-state{font-size:6px;line-height:6px}.nn-portrait{width:18px;height:18px}.nn-person>strong{font-size:9px}.nn-person>b{font-size:7px}.nn-center .nn-brand{display:none}}
@media(min-height:700px){.nn-scene[data-capacity="6"] .nn-portrait{width:34px;height:34px}.nn-scene[data-capacity="6"] .nn-person{flex-basis:32px}.nn-scene[data-capacity="6"] .nn-seat .nn-card{height:37px;width:23px;margin-left:-11px}.nn-scene[data-capacity="6"] .nn-seat .nn-card:first-child{margin-left:0}.nn-scene[data-capacity="6"] .nn-seat-hand{max-width:76px}.nn-scene[data-capacity="6"] .nn-seat .nn-card b{font-size:14px;line-height:15px}.nn-scene[data-capacity="6"] .nn-seat .nn-card small{font-size:12px;line-height:12px}}

.hide-hand-name .nn-scene .nn-hand-name{display:none}.hide-table-chat .nn-bubble{display:none}.four-color-cards .nn-suit-2{color:#208359}.four-color-cards .nn-suit-3{color:#2679ae}

/* Reference timing, with the current table's card and gold styling. */
.nn-effects{position:fixed;inset:0;z-index:45;overflow:hidden;pointer-events:none;perspective:700px}.nn-effect-card{position:absolute;perspective:700px}.nn-effect-turn{position:relative;width:100%;height:100%;transform-style:preserve-3d}.nn-effect-turn>.nn-card{position:absolute;inset:0;width:100%;height:100%;margin:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}.nn-effect-face{transform:rotateY(180deg)}.nn-effect-back{transform:rotateY(0deg)}.nn-effects .nn-mini .nn-card{padding:1px 2px;border-radius:2px}.nn-effects .nn-mini .nn-card b{font-size:10px}.nn-effects .nn-mini .nn-card small{font-size:7px}.nn-effects .nn-mini .nn-card em{font-size:10px;right:1px;bottom:1px}.nn-effects .nn-mini .nn-back{border-width:1px}.nn-effects .nn-mini .nn-back span{font-size:11px}.nn-effects .nn-coin{width:16px;height:16px;font-size:10px}.nn-own-card:has(.nn-bull-group){margin-right:7px}.nn-seat-hand>.nn-bull-group{margin-right:3px}
/* Scores stay readable at every table capacity. */
.nn-person{flex:0 0 clamp(40px,13vw,64px);min-width:0;container-type:inline-size}
.nn-person>strong{display:block;max-width:none;overflow:visible;text-overflow:clip;font-size:clamp(4px,calc(100cqw / var(--digits,4) * 1.55),11px);letter-spacing:-.1px;white-space:nowrap}
.nn-seat-state:has(.nn-hand-name){overflow:visible;bottom:-5px;display:flex;align-items:center;justify-content:center;gap:3px;z-index:4;line-height:1.3}
.nn-hand-name{display:inline-block!important;color:#fff0af;font-size:clamp(10px,2.7vw,14px);font-weight:900;font-style:italic;letter-spacing:.4px;text-shadow:0 2px 1px #6a3707,1px 0 #865314,-1px 0 #865314,0 0 8px #ffc9488c;white-space:nowrap;filter:drop-shadow(0 1px 2px #001b12)}
.nn-hand-name[data-rank="10"]{color:#ffe36d;text-shadow:0 2px #8c3b0c,0 0 12px #ffd95a}
.nn-hand-name[data-rank^="1"]:not([data-rank="1"]):not([data-rank="10"]),.nn-hand-name[data-rank="20"]{color:#fff2b7;text-shadow:0 2px #933b0d,0 0 5px #fd9f2e,0 0 13px #ffc325}
.nn-own-result .nn-hand-name{font-size:22px}
.nn-net{font-size:10px;text-shadow:0 1px 2px #042c24}
.nn-rub-overlay.nn-squeeze-board{position:fixed;left:50%;bottom:25%;width:125px;height:177.5px;margin:0;transform:translateX(-50%);z-index:60;perspective:none;touch-action:none;transition:opacity .1s;filter:drop-shadow(0 5px 12px #0008)}
.nn-rub-overlay .nn-squeeze-cover{transform-origin:0 100%;backface-visibility:visible}
.nn-rub-overlay .nn-card{width:100%;height:100%}
.nn-rub-overlay .nn-card b{font-size:34px}.nn-rub-overlay .nn-card small{font-size:25px}.nn-rub-overlay .nn-card em{font-size:67px}
@media(max-width:360px){.nn-person{flex-basis:43px}.nn-seat{gap:2px}.nn-seat-hand{min-width:0}.nn-hand-name{font-size:10px;letter-spacing:0}.nn-net{font-size:8px}.nn-seat-state:has(.nn-hand-name){bottom:-3px}}
@media(max-height:500px) and (orientation:landscape){.nn-person{flex-basis:52px}.nn-hand-name{font-size:8px}.nn-seat-state:has(.nn-hand-name){bottom:-5px}.nn-net{font-size:7px}.nn-rub-overlay.nn-squeeze-board{bottom:22%;width:100px;height:142px}}
@media(prefers-reduced-motion:reduce){.nn-rub-overlay{transition:none}}
.nn-seat-state:has(.nn-hand-name){bottom:0;line-height:1.15}
.nn-seat-hand:has(.nn-hand-name){padding-bottom:14px}
@media(min-height:700px){.nn-scene[data-capacity="6"] .nn-seat{height:60px}}
@media(max-height:650px){.nn-seat-hand:has(.nn-hand-name){padding-bottom:10px}}
@media(max-height:500px) and (orientation:landscape){.nn-seat-state:has(.nn-hand-name){bottom:0}.nn-seat-hand:has(.nn-hand-name){padding-bottom:8px}}

/* The banker marker stays on the candidate for two full rounds, then contracts. */
.nn-banker-light{position:absolute;box-sizing:border-box;border:3px solid #ffe486;border-radius:8px;background:linear-gradient(135deg,#fff79d22,#fabb2622);box-shadow:0 0 0 1px #b96c17,0 0 14px 4px #ffcf55a8;pointer-events:none}
.nn-banker-burst{border-radius:50%;border-width:2px;background:transparent;box-shadow:0 0 10px #ffe57d}
.nn-selecting-banker .nn-banker{visibility:hidden}

.nn-selecting-banker .is-banker .nn-portrait{border-color:#bdd3b66b;box-shadow:0 3px 7px #04292344}

/* Give each hand most of the seat width; keep profiles in the outer column. */
@media(orientation:portrait),(min-height:601px){
 .nn-seat{display:grid;grid-template-columns:clamp(42px,12vw,58px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:3px;width:45%;height:min(78px,calc(100%/var(--rows) - 3px))}
 .nn-seat.nn-right{grid-template-columns:minmax(0,1fr) clamp(42px,12vw,58px)}
 .nn-portrait{grid-column:1;grid-row:1;align-self:start;justify-self:center;width:clamp(22px,calc(55dvh / var(--nn-rows) - 26px),40px);height:clamp(22px,calc(55dvh / var(--nn-rows) - 26px),40px)}
 .nn-person{grid-column:1;grid-row:1;align-self:end;justify-self:stretch;text-align:center;width:100%;gap:1px}
 .nn-person>b{max-width:100%;font-size:8px;line-height:9px}.nn-person>strong{line-height:11px}
 .nn-seat-hand{grid-column:2;grid-row:1;justify-self:stretch;max-width:none;justify-content:center;padding-bottom:15px}
 .nn-scene[data-capacity="6"] .nn-seat-hand{max-width:none}
 .nn-right .nn-portrait,.nn-right .nn-person{grid-column:2}.nn-right .nn-seat-hand{grid-column:1;justify-content:center}
 .nn-seat .nn-card,.nn-scene[data-capacity="6"] .nn-seat .nn-card{width:clamp(21px,6.9vw,35px);height:clamp(27px,calc(55dvh / var(--nn-rows) - 16px),49px);margin-left:-7px;padding:2px 3px}
 .nn-seat .nn-card:first-child,.nn-scene[data-capacity="6"] .nn-seat .nn-card:first-child{margin-left:0}
 .nn-seat .nn-card b,.nn-scene[data-capacity="6"] .nn-seat .nn-card b{font-size:clamp(12px,3.8vw,17px);line-height:1}
 .nn-seat .nn-card small,.nn-scene[data-capacity="6"] .nn-seat .nn-card small{font-size:clamp(10px,3.1vw,14px);line-height:1}
 .nn-seat.nn-empty{display:flex;justify-self:start}.nn-self-avatar{width:38px;height:38px}
 .nn-own-cards{height:clamp(76px,12dvh,114px);gap:5px;margin-bottom:10px}.nn-own-card{width:min(17.7%,75px)}
 .nn-own-cards .nn-card b{font-size:clamp(24px,7vw,32px)}.nn-own-cards .nn-card small{font-size:clamp(19px,5.5vw,25px)}.nn-own-cards .nn-card em{font-size:clamp(32px,9vw,43px)}
 .nn-center{width:14%}.nn-center-note{font-size:8px}.nn-brand>b{font-size:22px}
}
@media(orientation:portrait) and (max-height:700px){
 .nn-seat{height:min(70px,calc(100%/var(--rows) - 2px))}
 .nn-portrait{width:clamp(16px,calc(45dvh / var(--nn-rows) - 20px),32px);height:clamp(16px,calc(45dvh / var(--nn-rows) - 20px),32px)}
 .nn-person>b{font-size:7px;line-height:8px}.nn-person>strong{line-height:9px}
 .nn-seat .nn-card,.nn-scene[data-capacity="6"] .nn-seat .nn-card{height:clamp(18px,calc(45dvh / var(--nn-rows) - 10px),43px);width:clamp(19px,6.2vw,30px);margin-left:-7px}
 .nn-seat-hand,.nn-seat-hand:has(.nn-hand-name){padding-bottom:11px}.nn-hand-name{font-size:9px}.nn-net{font-size:8px}
 .nn-seat .nn-card b,.nn-scene[data-capacity="6"] .nn-seat .nn-card b{font-size:11px}.nn-seat .nn-card small,.nn-scene[data-capacity="6"] .nn-seat .nn-card small{font-size:8px}
}
@media(orientation:landscape) and (max-height:600px){.nn-own-cards{height:clamp(76px,23dvh,95px);gap:3px;margin:12px 0}.nn-own-card{width:min(18%,65px)}}
@media(orientation:portrait) and (max-height:700px){
 .nn-scene:is([data-capacity="17"],[data-capacity="19"],[data-capacity="21"],[data-capacity="23"]) .nn-portrait{justify-self:start}
 .nn-scene:is([data-capacity="17"],[data-capacity="19"],[data-capacity="21"],[data-capacity="23"]) .nn-person{position:relative;display:block;align-self:stretch;height:100%}
 .nn-scene:is([data-capacity="17"],[data-capacity="19"],[data-capacity="21"],[data-capacity="23"]) .nn-person>b{display:block;margin-left:18px;margin-top:2px}
 .nn-scene:is([data-capacity="17"],[data-capacity="19"],[data-capacity="21"],[data-capacity="23"]) .nn-person>strong{position:absolute;left:0;right:0;bottom:0}
 .nn-scene:is([data-capacity="17"],[data-capacity="19"],[data-capacity="21"],[data-capacity="23"]) .nn-seat .nn-card{padding:1px 2px}
 .nn-scene:is([data-capacity="17"],[data-capacity="19"],[data-capacity="21"],[data-capacity="23"]) .nn-seat .nn-card b{font-size:8px}
 .nn-scene:is([data-capacity="17"],[data-capacity="19"],[data-capacity="21"],[data-capacity="23"]) .nn-seat .nn-card small{font-size:6px}
}
