:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#1a1a1a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}.PWABadge-toast{position:fixed;right:0;bottom:calc(56px + env(safe-area-inset-bottom));left:0;z-index:150;display:flex;flex-direction:column;gap:.75rem;max-width:480px;margin:0 auto .75rem;padding:.875rem 1rem;box-sizing:border-box;border:1px solid #646cff;border-radius:1rem;background:#2a2a2a;box-shadow:0 6px 20px #00000073;color:#ffffffde;text-align:left}.PWABadge-message{display:flex;flex-direction:column;gap:.25rem;margin:0;font-size:.875rem}.PWABadge-message span{color:#aaa}.PWABadge-buttons{display:flex;gap:.5rem}.PWABadge-toast-button{flex:1;padding:.625rem;border:1px solid #3a3a3a;border-radius:.75rem;background:none;color:inherit;font:inherit;font-size:.9rem}.PWABadge-toast-button--primary{border-color:#646cff;background:#646cff;color:#fff;font-weight:700}.bottom-nav{--nav-bg: #1a1a1a;--nav-border: #333;--nav-color: #888;--nav-active: #646cff;position:fixed;left:0;right:0;bottom:0;z-index:100;display:flex;justify-content:space-around;background:var(--nav-bg);border-top:1px solid var(--nav-border)}.bottom-nav__item{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:56px;padding:6px 0;border:none;border-radius:0;background:none;color:var(--nav-color);font-size:.75rem;-webkit-tap-highlight-color:transparent;transition:color .2s;justify-content:center}.bottom-nav__item:hover{border-color:transparent;color:var(--nav-active)}.bottom-nav__item.is-active{color:var(--nav-active)}.bottom-nav__item.is-active{transform:translateY(-2px)}.bottom-nav__item--plus{background-color:var(--nav-active);padding:.25rem 1rem;border:none;border-radius:3rem}.bottom-nav__item--plus:hover{color:var(--nav-color)}.title-bar{--bar-bg: #1a1a1a;--bar-border: #333;--bar-color: rgba(255, 255, 255, .87);position:sticky;top:0;z-index:100;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);background:var(--bar-bg);color:var(--bar-color)}.title-bar__title{display:flex;align-items:center;justify-content:center;min-height:56px;margin:0;padding:0 1rem;font-size:2rem;font-weight:600;line-height:1.2}.tabs{--tabs-border: #333;--tabs-color: #888;--tabs-active: #646cff;display:flex;border-bottom:1px solid var(--tabs-border)}.tabs__item{flex:1;padding:.75rem 0;border:none;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--tabs-color);font-weight:500;font-size:1rem;-webkit-tap-highlight-color:transparent;transition:color .2s,border-color .2s}.tabs__item:hover{border-color:transparent;color:var(--tabs-active)}.tabs__item.is-active{color:var(--tabs-active);border-bottom-color:var(--tabs-active)}.tabs__list{margin:0;padding:1rem;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem}.add-button{display:block;margin:1rem 1.5rem;padding:.75rem 1rem;font-size:1.125rem;font-weight:700;background-color:#646cff;border:none;border-radius:.5rem;cursor:pointer;position:fixed;z-index:100;left:0;right:0;bottom:3.5rem}.game-item__cover{display:block;width:100%;aspect-ratio:1;border-radius:1rem;object-fit:cover}.game-item__button{display:block;width:100%;padding:0;border:none;border-radius:1rem;background:none}.player-item{--card-bg: #2a2a2a;--card-border: #3a3a3a;--card-color: rgba(255, 255, 255, .87);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;aspect-ratio:1;padding:1rem .5rem;box-sizing:border-box;background:var(--card-bg);border:1px solid var(--card-border);border-radius:1.25rem;box-shadow:0 1px 3px #00000014;color:var(--card-color);width:100%;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .15s;position:relative}.player-item:active{transform:scale(.96)}.player-item__icon{display:block;width:50%;aspect-ratio:1;border-radius:50%;object-fit:cover}.player-item__name{max-width:100%;font-size:1rem;font-weight:700;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.player-item.is-selected{border-color:#646cff;box-shadow:0 0 0 2px #646cff}.player-item:disabled{opacity:.4;cursor:not-allowed}.player-item__order{position:absolute;top:.5rem;right:.5rem;display:flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;border-radius:999px;background:#646cff;color:#fff;font-size:.875rem;font-weight:700}.add-player{--ap-bg: #1a1a1a;--ap-color: rgba(255, 255, 255, .87);--ap-muted: #888;--ap-line: #666;--ap-accent: #646cff;--ap-disabled: #555;position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:var(--ap-bg);color:var(--ap-color)}.add-player__header{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 3.5rem}.add-player__close{position:absolute;right:.5rem;display:flex;padding:.5rem;border:none;background:none;color:inherit}.add-player__close:hover{border-color:transparent}.add-player__close svg{width:28px;height:28px}.add-player__title{margin:0;font-size:1.25rem;font-weight:700}.add-player__body{flex:1;display:flex;flex-direction:column;align-items:center;gap:3rem;padding:3rem 1.5rem 0;overflow-y:auto}.add-player__avatar{display:block;width:50%;aspect-ratio:1;border-radius:50%;object-fit:cover}.add-player__input{width:100%;max-width:260px;padding:.5rem 0;border:none;border-bottom:2px solid var(--ap-line);background:none;color:inherit;font:inherit;font-size:1.125rem;text-align:center;outline:none;transition:border-color .2s}.add-player__input::placeholder{color:var(--ap-muted)}.add-player__input:focus{border-bottom-color:var(--ap-accent)}.add-player__submit{margin:1rem 1.5rem;padding:1rem;border:none;border-radius:1rem;background:var(--ap-accent);color:#fff;font-size:1.125rem;font-weight:700;transition:background-color .2s}.add-player__submit:disabled{background:var(--ap-disabled);cursor:not-allowed}.sheet__backdrop{position:fixed;inset:0;z-index:200;display:flex;align-items:flex-end;background:#00000080;animation:sheet-fade .2s ease-out}.sheet{--sheet-bg: #242424;--sheet-color: rgba(255, 255, 255, .87);--sheet-muted: #888;--sheet-card: #2f2f2f;position:relative;display:flex;flex-direction:column;align-items:center;width:100%;max-height:80vh;overflow-y:auto;box-sizing:border-box;padding:.75rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));background:var(--sheet-bg);color:var(--sheet-color);border-radius:1.5rem 1.5rem 0 0;animation:sheet-up .25s ease-out}.sheet__handle{width:40px;height:5px;margin-bottom:1rem;border-radius:999px;background:var(--sheet-muted);opacity:.5}.sheet__close{position:absolute;top:.75rem;right:.75rem;display:flex;padding:.5rem;border:none;background:none;color:inherit}.sheet__close:hover{border-color:transparent}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes sheet-fade{0%{background:#0000}}.sheet:focus{outline:none}:root{--score-card: #2a2a2a;--score-line: #3a3a3a;--score-muted: #888;--score-accent: #646cff;--score-gold: #e0a020}.score{padding:0 1rem 1rem;text-align:left}.score__round{margin:.5rem 0 1rem;color:var(--score-muted);text-align:center}.score__help{margin:-.5rem 0 1rem;color:var(--score-muted);font-size:.875rem;text-align:center}.score__dealer{margin:0 0 .5rem;text-align:center}.score-table{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25rem;margin:0 0 1rem;padding:0;list-style:none}.score-table__seat{display:flex;align-items:center;gap:.25rem;color:var(--score-muted);font-size:.875rem}.score-table__arrow{margin-right:.15rem;font-size:1.25rem;line-height:1}.score-table__order{display:flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--score-line);color:#fff;font-size:.75rem;font-weight:700}.score-table__name{max-width:5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.score-table__seat.is-dealer{color:var(--score-gold);font-weight:700}.score-table__seat.is-dealer .score-table__order{background:var(--score-gold);color:#1a1a1a}.score__winner,.score__notice{margin-bottom:1rem;padding:.75rem 1rem;border:1px solid var(--score-gold);border-radius:1rem;color:var(--score-gold);font-weight:700;text-align:center}.score__standings{display:flex;flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none}.score__row{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:var(--score-card);border:1px solid var(--score-line);border-radius:1rem}.score__row.is-winner{border-color:var(--score-gold)}.score__rank{width:1.25rem;color:var(--score-muted);font-weight:700;text-align:center}.score-avatar{display:block;width:32px;height:32px;border-radius:50%;object-fit:cover}.score-avatar--big{width:44px;height:44px}.score__info{display:flex;flex:1;flex-direction:column;gap:.35rem;min-width:0}.score__name{font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.score__detail{color:var(--score-muted);font-size:.8rem;line-height:1.25}.score__progress{width:100%;height:6px;accent-color:var(--score-accent)}.score__total{font-size:1.5rem;font-weight:700}.score__total small{color:var(--score-muted);font-size:.8rem;font-weight:400}.score__actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.score-button{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;padding:1rem;border:none;border-radius:1rem;background:var(--score-accent);color:#fff;font-size:1.125rem;font-weight:700}.score-button svg{width:20px;height:20px}.score-button--ghost{background:none;border:1px solid var(--score-line);color:inherit;font-size:1rem;font-weight:500}.score-form{display:flex;flex-direction:column;gap:1rem;width:100%;text-align:left}.score-form__title{margin:0;font-size:1.25rem;text-align:center}.score-form__hint{margin:0;color:var(--score-muted);font-size:.875rem;text-align:center}.score-form__error{margin:0;color:#ff6b6b;text-align:center}.score-pills{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.25rem}.score-pill{display:flex;flex:none;flex-direction:column;align-items:center;gap:.15rem;min-width:4.5rem;padding:.5rem;border:2px solid transparent;border-radius:1rem;background:var(--score-card);color:inherit;font:inherit}.score-pill.is-active{border-color:var(--score-accent)}.score-pill__name{max-width:5rem;font-size:.8rem;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.score-pill__points{color:var(--score-muted);font-size:.75rem}.fk-form__hand{padding:.75rem;border:1px solid #3a3a3a;border-radius:1rem}.fk-form__hand-title{margin:0;font-weight:700}.fk-form__hand-cards{min-height:1.5rem;margin:.5rem 0;color:#888;overflow-wrap:anywhere}.fk-form__hand-actions{display:flex;gap:.5rem}.fk-form__hand-actions button{display:flex;align-items:center;gap:.35rem;padding:.4rem .75rem;border:1px solid #3a3a3a;border-radius:.75rem;background:none;color:inherit;font-size:.875rem}.fk-form__hand-actions button:disabled{opacity:.4}.fk-form__hand-actions svg{width:16px;height:16px}.fk-form__cards{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}.fk-card{display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;padding:0;border:1px solid #3a3a3a;border-radius:.75rem;background:#2a2a2a;color:inherit;font-size:1.25rem;font-weight:700}.fk-card--wide{grid-column:span 2;aspect-ratio:auto;flex-direction:row;gap:.5rem;padding:.75rem;font-size:1rem;color:#e0a020}.fk-card small{color:#888;font-size:.8rem}.fk-card:disabled{opacity:.35;cursor:not-allowed}.p10-form__player{margin:0;padding:.75rem;border:1px solid #3a3a3a;border-radius:1rem}.p10-form__legend{display:flex;align-items:center;gap:.5rem;padding:0 .5rem;font-weight:700}.p10-form__points{color:#646cff}.p10-form__cards{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.p10-stepper{display:flex;flex-direction:column;gap:.25rem}.p10-stepper__label{font-size:.875rem}.p10-stepper__label small{color:#888}.p10-stepper__controls{display:flex;align-items:center;justify-content:space-between}.p10-stepper__controls button{display:flex;padding:.5rem;border:none;border-radius:50%;background:#3a3a3a;color:inherit}.p10-stepper__controls svg{width:18px;height:18px}.p10-stepper__controls output{min-width:1.5rem;font-size:1.125rem;font-weight:700;text-align:center}.p10-form__phase{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;font-size:.9rem}.sj-form__list{display:flex;flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none}.sj-form__row{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid #3a3a3a;border-radius:1rem;background:#2a2a2a}.sj-form__who{display:flex;flex:1;flex-direction:column;min-width:0}.sj-form__name{max-width:100%;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sj-form__sign{padding:.4rem .75rem;border:1px solid #3a3a3a;border-radius:.75rem;background:#1a1a1a;color:inherit;font-size:1.125rem;font-weight:700}.sj-form__row input{width:4.5rem;padding:.5rem;border:1px solid #3a3a3a;border-radius:.75rem;background:#1a1a1a;color:inherit;font-size:1.125rem;font-weight:700;text-align:center}.sj-form__final{min-height:1rem;color:#e0a020;font-size:.8rem}.sj-form__finish{display:flex;padding:.5rem;border:1px solid #3a3a3a;border-radius:.75rem;background:#1a1a1a;color:#888}.sj-form__finish svg{width:20px;height:20px}.sj-form__finish.is-active{border-color:#e0a020;background:#e0a020;color:#1a1a1a}.dk-form__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;max-width:18rem;margin:0 auto;width:100%}.dk-cell{aspect-ratio:1;padding:0;border:2px solid #3a3a3a;border-radius:.75rem;background:#2a2a2a;color:inherit;font-size:1.25rem;font-weight:700}.dk-cell.is-cursor{border-color:#646cff}.dk-cell.is-removed{color:#888;text-decoration:line-through;opacity:.55}.dk-form__score{margin:0;text-align:center}.dk-form__score span{color:#888;font-size:.875rem}.dk-form__keypad{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem}.dk-key{aspect-ratio:1;padding:0;border:1px solid #3a3a3a;border-radius:.75rem;background:#2a2a2a;color:inherit;font-size:1.125rem;font-weight:700}.dk-form__tools{display:flex;gap:.5rem}.dk-form__tools button{display:flex;flex:1;align-items:center;justify-content:center;gap:.35rem;padding:.5rem;border:1px solid #3a3a3a;border-radius:.75rem;background:none;color:inherit;font-size:.875rem}.dk-form__tools button:disabled{opacity:.4}.dk-form__tools svg{width:16px;height:16px}.dk-form__mode{display:flex;padding:.25rem;border-radius:.75rem;background:#2a2a2a}.dk-form__mode button{flex:1;padding:.5rem;border:none;border-radius:.5rem;background:none;color:inherit;font-weight:700}.dk-form__mode button.is-active{background:#646cff;color:#fff}.dk-form__total{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dk-form__total input{width:5rem;padding:.5rem;border:1px solid #3a3a3a;border-radius:.75rem;background:#1a1a1a;color:inherit;font-size:1.25rem;font-weight:700;text-align:center}.pp__rounds{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1rem;font-size:.875rem}.pp__rounds button{display:flex;padding:.35rem;border:none;border-radius:50%;background:var(--pp-line);color:inherit}.pp__rounds button:disabled{opacity:.4;cursor:not-allowed}.pp__rounds svg{width:16px;height:16px}.pp-form__cards{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem}.pp-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;padding:0;border:1px solid #3a3a3a;border-radius:.75rem;background:#2a2a2a;color:inherit;font-size:1.125rem;font-weight:700}.pp-card--papayoo{grid-column:span 5;aspect-ratio:auto;flex-direction:row;gap:.5rem;padding:.75rem;border-color:#ff6b6b;color:#ff6b6b}.pp-card small{font-size:.875rem}.pp-card.is-mine{border-color:#646cff;background:#646cff;color:#fff}.pp-card.is-taken{opacity:.45}.pp-card__owner{position:absolute;right:-4px;bottom:-4px;width:18px;height:18px;border-radius:50%;object-fit:cover}.pp-form__remaining{margin:0;color:#888;text-align:center}.pp__suit,.pp-form__suit{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;color:#888;font-size:.875rem}.pp-form__suit{margin-bottom:0}.pp-suits{display:flex;gap:.5rem}.pp-suit{width:2.5rem;height:2.5rem;padding:0;border:2px solid #3a3a3a;border-radius:.75rem;background:#2a2a2a;color:#ffffffde;font-size:1.5rem;line-height:1}.pp-suit--coeur,.pp-suit--carreau{color:#ff6b6b}.pp-suit.is-active{border-color:#646cff;background:#3a3d7a}.f7-form__panel{display:flex;flex-direction:column;gap:.75rem;margin:0;padding:.75rem;border:1px solid #3a3a3a;border-radius:1rem}.f7-form__panel legend{padding:0 .5rem;font-weight:700}.f7-form__check{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.f7-form__section{display:flex;flex-direction:column;gap:.75rem}.f7-form__section[aria-disabled=true]{opacity:.5}.f7-form__label{color:#888;font-size:.875rem}.f7-form__numbers{display:grid;grid-template-columns:repeat(7,1fr);gap:.4rem}.f7-number{aspect-ratio:1;padding:0;border:1px solid #3a3a3a;border-radius:.6rem;background:#2a2a2a;color:inherit;font-size:1rem;font-weight:700}.f7-number.is-selected{border-color:#646cff;background:#646cff;color:#fff}.f7-number:disabled{opacity:.4;cursor:not-allowed}.f7-form__bonus{display:grid;grid-template-columns:repeat(5,1fr);gap:.4rem}.f7-form__total{margin:0;font-size:1.125rem;font-weight:700;text-align:center}.f7-form__flip{color:#e0a020}.player-sheet__avatar{display:block;width:35%;max-width:140px;aspect-ratio:1;border-radius:50%;object-fit:cover}.player-sheet__name-row{display:flex;align-items:center;justify-content:center;gap:.25rem;max-width:100%;margin:1rem 0 1.5rem;padding-left:2.5rem;box-sizing:border-box}.player-sheet__name{margin:0;font-size:1.5rem;font-weight:700;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.player-sheet__name-input{width:12rem;padding:.25rem 0;border:none;border-bottom:2px solid #646cff;background:none;color:inherit;font:inherit;font-size:1.5rem;font-weight:700;line-height:1.2;text-align:center;outline:none}.player-sheet__icon-button{flex-shrink:0;display:flex;padding:.5rem;border:none;background:none;color:var(--sheet-muted)}.player-sheet__icon-button:hover{border-color:transparent;color:#646cff}.player-sheet__icon-button svg{width:20px;height:20px}.player-sheet__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;width:100%}.player-sheet__stat{display:flex;flex-direction:column;padding:.75rem;border-radius:1rem;background:var(--sheet-card)}.player-sheet__stat-value{font-size:1.5rem;font-weight:700}.player-sheet__stat-label{color:var(--sheet-muted);font-size:.875rem}.player-more_stats{display:block;margin-top:1rem;padding:.75rem 1rem;font-size:1.125rem;font-weight:700;background-color:#646cff;border:none;border-radius:.5rem}.game-sheet__cover{display:block;width:45%;max-width:180px;aspect-ratio:1;border-radius:1rem;object-fit:cover}.game-sheet__name{max-width:100%;margin:1rem 0 .5rem;font-size:1.5rem;font-weight:700;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.game-btn{display:block;margin-top:1rem;padding:.75rem 1rem;font-size:1.125rem;font-weight:700;border:none;border-radius:.5rem}.game-new_game{background:#f5b83d;color:#2a1a00}.game-new_game:hover{background:#e0a020}.game-rules{background:transparent;color:#8a90ff;border:2px solid #646cff}.game-rules:hover{background:#646cff26}.game-more_stats{background:#646cff;color:#fff}.game-sheet__rules{max-height:50vh;overflow-y:auto;text-align:left;line-height:1.5}.game-sheet__rules h2{margin:1rem 0 .25rem;font-size:1.125rem}.game-sheet__rules ul{margin:0;padding-left:1.25rem}.game-sheet__rules table{width:100%;border-collapse:collapse;font-size:.875rem}.game-sheet__rules th,.game-sheet__rules td{padding:.25rem .5rem;border:1px solid rgba(255,255,255,.2);text-align:center}.stats__total{margin:1rem 1rem 0;color:#888;font-size:.9rem;text-align:left}.stat-list,.stat-rows{margin:0;padding:0;list-style:none}.stat-list{display:flex;flex-direction:column;gap:.75rem;padding:1rem}.stat-card{background:#2a2a2a;border:1px solid #3a3a3a;border-radius:1rem;text-align:left}.stat-card.is-open{border-color:#646cff}.stat-card__head{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem;border:none;background:none;color:inherit;font:inherit;text-align:left}.stat-card__head:hover{border-color:transparent}.stat-card__icon{flex:none;width:48px;height:48px;border-radius:.75rem;object-fit:cover}.stat-card__icon--round{border-radius:50%}.stat-card__main{display:flex;flex:1;flex-direction:column;gap:.125rem;min-width:0}.stat-card__name{overflow:hidden;font-size:1.0625rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.stat-card__summary{color:#aaa;font-size:.85rem}.stat-card__bar{display:block;height:6px;margin-top:.375rem;overflow:hidden;border-radius:3px;background:#3a3a3a}.stat-card__bar>span{display:block;height:100%;background:#646cff}.stat-card__chevron{flex:none;width:20px;height:20px;color:#888;transition:transform .2s}.is-open .stat-card__chevron{transform:rotate(180deg)}@media(prefers-reduced-motion:reduce){.stat-card__chevron{transition:none}}.stat-card__body{padding:0 .75rem .875rem;border-top:1px solid #3a3a3a}.stat-card__empty{margin:.75rem 0 0;color:#888;font-size:.9rem}.stat-card__subtitle{margin:1rem 0 .25rem;color:#aaa;font-size:.8125rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.stat-lines{margin:.75rem 0 0}.stat-line{display:flex;justify-content:space-between;gap:1rem;padding:.25rem 0;font-size:.9rem}.stat-line dt{color:#aaa}.stat-line dd{margin:0;font-weight:600}.stat-row{display:flex;align-items:center;gap:.625rem;padding:.5rem 0}.stat-row__cover,.stat-row__avatar{flex:none;width:36px;height:36px;object-fit:cover}.stat-row__cover{border-radius:.5rem}.stat-row__avatar{border-radius:50%}.stat-row__rank{flex:none;width:1.25rem;color:#888;font-weight:700;text-align:center}.stat-row__text{display:flex;flex-direction:column;min-width:0}.stat-row__name{font-weight:600}.stat-row__detail{color:#aaa;font-size:.8125rem;line-height:1.35}.confirm{display:flex;flex-direction:column;gap:.75rem;text-align:center}.confirm__title{margin:0;font-size:1.25rem}.confirm__message{margin:0;color:#fff9}.confirm__danger,.confirm__cancel{display:block;width:100%;padding:.875rem;border-radius:1rem;font-size:1rem;font-weight:700}.confirm__danger{border:none;background:#d93636;color:#fff}.confirm__danger:hover{background:#e24848}.confirm__cancel{border:1px solid #3a3a3a;background:none;color:inherit}.auth{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#1a1a1a;color:#ffffffde;text-align:left}.auth__header{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 3.5rem}.auth__title{margin:0;font-size:1.5rem;font-weight:700}.auth__close{position:absolute;right:.5rem;display:flex;padding:.5rem;border:none;background:none;color:inherit}.auth__close:hover{border-color:transparent}.auth__close svg{width:28px;height:28px}.auth__body{flex:1;overflow-y:auto;padding:1rem}.auth__form{display:flex;flex-direction:column;gap:1rem;max-width:420px;margin:0 auto}.auth__field{display:flex;flex-direction:column;gap:.375rem;color:#aaa;font-size:.875rem}.auth__field input{padding:.75rem;border:1px solid #3a3a3a;border-radius:.75rem;background:#2a2a2a;color:#ffffffde;font:inherit;font-size:1rem}.auth__field input:focus-visible{outline:2px solid #646cff;outline-offset:1px}.auth__text,.auth__notice{margin:0;color:#aaa;font-size:.9rem;line-height:1.5}.auth__notice{padding:.75rem;border:1px solid #3a3a3a;border-radius:.75rem;background:#2a2a2a;font-size:.8125rem}.auth__notice--warn{border-color:#ff6b6b;color:#ffb3b3}.auth__error{margin:0;color:#ff6b6b;font-size:.9rem}.auth__button{padding:.875rem;border:none;border-radius:1rem;background:#646cff;color:#fff;font-size:1rem;font-weight:700}.auth__button:disabled{background:#3a3a3a;color:#aaa}.auth__link{padding:.5rem;border:none;background:none;color:#8f95ff;font:inherit;font-size:.9rem}.auth__link:hover{border-color:transparent;text-decoration:underline}.auth__link:disabled{color:#888;text-decoration:none}.profile{display:flex;flex-direction:column;gap:1rem;padding:1rem;text-align:left}.profile__card{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:#2a2a2a;border:1px solid #3a3a3a;border-radius:1rem}.profile__icon{flex:none;width:28px;height:28px;color:#888}.profile__title{margin:0 0 .25rem;font-size:1.125rem}.profile__text{margin:0;color:#888;font-size:.9rem;line-height:1.4}.profile__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin:0}.profile__stats div{padding:.75rem .5rem;background:#2a2a2a;border:1px solid #3a3a3a;border-radius:1rem;text-align:center}.profile__stats dt{color:#888;font-size:.75rem}.profile__stats dd{margin:.25rem 0 0;font-size:1.5rem;font-weight:700}.profile__button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;width:100%;padding:.875rem;border:none;border-radius:1rem;background:#646cff;color:#fff;font-size:1rem;font-weight:700}.profile__button small{font-size:.75rem;font-weight:400;opacity:.85}.profile__button:disabled{background:#3a3a3a;color:#aaa;cursor:not-allowed}.profile__button--ghost{flex-direction:row;gap:.5rem;background:none;border:1px solid #3a3a3a;color:inherit;font-weight:500}.profile__button--ghost svg{width:20px;height:20px}.profile__button-row{display:flex;align-items:center;gap:.5rem}.profile__button-row svg{width:20px;height:20px}.profile__grow{flex:1;min-width:0}.profile__icon--on{color:#8f95ff}.profile__email{overflow-wrap:anywhere;color:inherit}.profile__sync{display:flex;align-items:center;gap:.375rem;margin-top:.5rem}.profile__sync svg{flex:none;width:16px;height:16px}.profile__sync--error{color:#ff6b6b}.profile__spin{animation:profile-spin 1s linear infinite}@keyframes profile-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.profile__spin{animation:none}}.profile__toggle{display:flex;align-items:flex-start;gap:.75rem;padding:0 .25rem}.profile__toggle input{flex:none;width:20px;height:20px;margin-top:.125rem;accent-color:#646cff}.profile__toggle small{display:block;margin-top:.125rem;color:#888;font-size:.8125rem}.profile__dev{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;border:1px dashed #666;border-radius:1rem}.profile__dev .profile__text{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase}.profile__link{padding:.5rem;border:none;background:none;color:#ff6b6b;font:inherit;font-size:.875rem}.profile__link:hover{border-color:transparent;text-decoration:underline}.new-game{--ap-bg: #1a1a1a;--ap-color: rgba(255, 255, 255, .87);--ap-muted: #888;--ap-line: #666;--ap-accent: #646cff;--ap-disabled: #555;position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:var(--ap-bg);color:var(--ap-color)}.new-game__header{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 3.5rem}.new-game__close{position:absolute;right:.5rem;display:flex;padding:.5rem;border:none;background:none;color:inherit}.new-game__close:hover{border-color:transparent}.new-game__close svg{width:28px;height:28px}.new-game__title{margin:0;font-size:1.5rem;font-weight:700}.new-game__back{position:absolute;left:.5rem;display:flex;padding:.5rem;border:none;background:none;color:inherit}.new-game__back:hover{border-color:transparent}.new-game__back svg{width:28px;height:28px}.new-game__body{flex:1;overflow-y:auto}.new-game__hint{margin:.5rem 1rem 0;color:var(--ap-muted);text-align:center}.new-game__submit{margin:1rem 1.5rem;padding:1rem;border:none;border-radius:1rem;background:var(--ap-accent);color:#fff;font-size:1.125rem;font-weight:700;transition:background-color .2s}.new-game__submit:disabled{background:var(--ap-disabled);cursor:not-allowed}.play{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#1a1a1a;color:#ffffffde}.play__header{position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 3.5rem}.play__title{margin:0;font-size:1.5rem;font-weight:700}.play__close,.play__rules{position:absolute;right:.5rem;display:flex;padding:.5rem;border:none;background:none;color:inherit}.play__rules{right:auto;left:.5rem}.play__close:hover,.play__rules:hover{border-color:transparent}.play__close svg,.play__rules svg{width:28px;height:28px}.play__body{flex:1;overflow-y:auto}.play__footer{padding:.75rem 1rem 1rem;border-top:1px solid #3a3a3a}.play__abandon{display:block;width:100%;padding:.875rem;border:none;border-radius:1rem;background:#d93636;color:#fff;font-size:1rem;font-weight:700}.play__abandon:hover{background:#e24848}#root{width:100%;max-width:1280px;margin:0 auto;text-align:center}.page{padding-bottom:calc(56px + env(safe-area-inset-bottom) + 1rem)}.empty-state{margin:25vh auto 0;max-width:280px;padding:0 1.5rem;color:#888;font-size:1rem;line-height:1.5;text-align:center}.resume-list{margin:0;padding:0;list-style:none}.resume-card{display:flex;align-items:center;width:calc(100% - 2rem);margin:1rem;box-sizing:border-box;background:#2a2a2a;border:1px solid #646cff;border-radius:1rem}.resume-card__main{display:flex;flex:1;align-items:center;gap:1rem;min-width:0;padding:.75rem;border:none;background:none;color:inherit;font:inherit;text-align:left}.resume-card__delete{display:flex;padding:.75rem;border:none;background:none;color:#ff6b6b}.resume-card__delete:hover{border-color:transparent}.resume-card__delete svg{width:22px;height:22px}.resume-card__cover{width:56px;height:56px;border-radius:.75rem;object-fit:cover}.resume-card__text{display:flex;flex-direction:column;min-width:0;font-size:.875rem;color:#888}.resume-card__text strong{color:#ffffffde;font-size:1rem}
