.public-room-actions{display:flex;gap:10px}.public-room-actions button,.public-room-list button{padding:10px;border-radius:8px;background:#dfbd76;color:#292818;border:0}.public-room-list{list-style:none;padding:0;max-height:280px;overflow:auto}.public-room-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #bba16b44}.public-room-list small{display:block;margin-top:6px;color:#b9c8cb}.by-team-columns{display:grid!important;grid-template-columns:1fr 1fr;gap:12px}.by-team-panel{min-width:0;padding:12px;border:1px solid #bc9c5d55;border-radius:12px;background:#0c202cdd}.by-team-panel h2{font-size:19px;color:#edd18e;margin:0 0 8px}.by-team-panel p{font-size:11px;color:#c1ccc8}.by-team-panel>button{padding:9px;background:#dab778;border-radius:7px;color:#202e2d;border:0;margin-bottom:10px;width:100%}.by-team-panel>button:disabled{opacity:.55}.by-team-panel .by-seat{padding:12px 6px;gap:8px}.by-team-panel .by-seat-avatar{width:27px;height:32px;font-size:17px}.by-team-panel .by-seat-info strong{font-size:12px;overflow-wrap:anywhere}.by-team-panel .by-seat-status{font-size:10px}.room-text-chat{position:absolute;z-index:35;right:18px;bottom:58px;width:300px;max-width:calc(100vw - 30px);color:#f1dfb0;background:#10262ff5;border:1px solid #a88c50;border-radius:12px;overflow:hidden;pointer-events:auto}.chat-toggle{width:100%;padding:10px;text-align:left;border:0;background:transparent;color:inherit}.chat-body{padding:10px}.chat-messages{max-height:205px;overflow:auto;overflow-wrap:anywhere;font-size:12px}.chat-messages p{padding:7px;background:#ffffff08;border-radius:7px}.chat-messages strong,.chat-messages span{display:block}.chat-messages strong{color:#dfb96a;margin-bottom:4px}.chat-messages .chat-mine{background:#52745833}.chat-body form{display:flex;gap:6px}.chat-body input{min-width:0;width:100%;background:#071c25;color:#fff;border:1px solid #9c8c63;border-radius:6px;padding:9px}.chat-body button{background:#dfbd76;border:0;border-radius:6px;color:#292818}.hand-organizer{position:absolute;bottom:55px;left:50%;transform:translate(-50%);z-index:24;pointer-events:auto;width:max-content;max-width:calc(100vw - 32px);text-align:center}.hand-organizer>button{padding:9px 15px;background:var(--control-gold-bg);color:var(--control-gold-text);border:1px solid #a88c50;border-radius:8px;border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.hand-organizer-body{background:#102631f5;border:1px solid #a88c50;border-radius:12px;padding:14px;color:#e8dbb8;margin-top:8px;max-width:620px}.hand-organizer header{display:flex;justify-content:space-between;align-items:center;gap:12px}.hand-organizer header button{background:#dbbb77;color:#263126;border:0;border-radius:6px;padding:8px}.hand-organizer p{font-size:11px;max-width:500px}.hand-tile-row{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.hand-tile-row button{position:relative;touch-action:none;user-select:none;background:#fff3d4;color:#18262d;border:2px solid #a99769;border-radius:6px;padding:4px 10px;font-size:22px;cursor:grab}.hand-tile-row span{display:block;min-width:20px;padding:4px}.hand-tile-row span+span{border-top:1px solid #665737}.hand-tile-row button.chosen{border-color:#e8b742;box-shadow:0 0 0 3px #e8b74266}.hand-tile-row i{position:absolute;right:2px;top:2px;width:5px;height:5px;border-radius:50%;background:#42876c}.hand-tile-row button:disabled{opacity:.55}.tile-end-choice{position:absolute;left:50%;top:115px;transform:translate(-50%);pointer-events:auto;background:#102631f2;padding:12px;border:1px solid #b69959;border-radius:12px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:calc(100vw - 20px);width:max-content;z-index:26}.tile-end-choice strong{width:100%;text-align:center;font-size:13px}.tile-end-choice button{padding:10px;background:#dfbd76;color:#243025;border:0;border-radius:7px}.tile-end-choice button:disabled{opacity:.4}.tile-end-choice p{width:100%;font-size:12px;margin:0;text-align:center}@media (max-width:600px){.by-team-columns{grid-template-columns:1fr!important}.room-text-chat{bottom:108px;width:235px}.hand-organizer{bottom:48px}.hand-organizer-body{padding:9px}.hand-tile-row button{font-size:17px;padding:3px}.hand-organizer header{font-size:12px}.tile-end-choice{top:155px}}.room-text-chat{right:16px;bottom:16px;width:48px;border-radius:50%;overflow:visible}.room-text-chat .chat-toggle{width:48px;height:48px;padding:0;display:grid;place-items:center;position:relative;border-radius:50%;background:var(--control-gold-bg);color:var(--control-gold-text);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.room-text-chat .chat-body{position:absolute;bottom:58px;right:0;width:300px;max-width:calc(100vw - 32px);background:#10262ff5;border:1px solid #a88c50;border-radius:12px}.chat-unread{position:absolute;top:-3px;right:-3px;background:#bd473c;color:#fff;min-width:19px;height:19px;border-radius:50%;font-size:11px;display:grid;place-items:center}.direct-play-hint{position:absolute;bottom:55px;left:50%;transform:translate(-50%);background:#122a35de;color:#eee1bd;border-radius:8px;padding:8px 12px;font-size:12px;pointer-events:auto;max-width:calc(100vw - 90px);text-align:center}.direct-play-hint button{background:transparent;color:#edcd87;border:0;margin-left:8px;text-decoration:underline}.opening-draw-notice{position:absolute;top:24px;left:50%;transform:translate(-50%);background:#10262ff2;color:#f1dfb0;border:1px solid #a88c50;border-radius:14px;padding:12px 18px;width:550px;max-width:calc(100vw - 30px);text-align:center;pointer-events:none}.opening-draw-notice strong{font-size:20px}.opening-draw-notice p{font-size:13px;margin:7px 0}.opening-draw-notice>div{display:flex;justify-content:center;gap:20px;font-size:13px}@media (max-width:600px){.opening-draw-notice{top:96px;padding:10px;width:90%}.opening-draw-notice strong{font-size:16px}}.chat-body{max-height:min(68dvh,590px);overflow-y:auto}.chat-entry{padding:8px;background:#ffffff08;border-radius:7px;margin:5px 0;overflow-wrap:anywhere}.chat-entry strong,.chat-entry span{display:block}.chat-entry strong{color:#dfb96a}.chat-entry>button{font-size:11px;padding:5px 9px;margin-top:6px;min-height:32px}.chat-safety-list{font-size:12px;margin-bottom:8px}.chat-safety-list summary{padding:8px 0;cursor:pointer}.chat-safety-list>button{display:block;width:100%;text-align:left;min-height:40px;padding:8px;margin:4px 0}.chat-safety-form h3{margin:8px 0}.chat-safety-form p{font-size:12px;line-height:1.45}.chat-safety-form>button,.chat-safety-form form>button{padding:9px;min-height:42px}.chat-safety-form form{display:grid;gap:9px}.chat-safety-form label{display:grid;gap:5px;font-size:12px}.chat-safety-form select,.chat-safety-form textarea{width:100%;box-sizing:border-box;font:inherit;font-size:16px;border:1px solid #aa976b;border-radius:6px;background:#091f29;color:#fff;padding:8px}.chat-safety-form blockquote{font-size:12px;border-left:3px solid #d7b36f;padding:7px;margin:4px 0;max-height:70px;overflow:auto;overflow-wrap:anywhere}.chat-safety-notice{font-size:12px;line-height:1.45;padding:8px;background:#ffffff12;overflow-wrap:anywhere}.chat-body small{display:block;font-size:10px;line-height:1.5;margin-top:8px}.chat-body a{color:#f0cf8a}.privacy-copy{line-height:1.65;overflow-wrap:anywhere}.privacy-copy h2{font-size:19px;margin-top:24px}.privacy-copy a{color:#efcf87}.privacy-copy button{padding:10px;border-radius:8px;background:#d8bb7b;color:#19312a;border:0;min-height:44px}.privacy-copy details{margin:15px 0;padding:12px;border:1px solid #bba37166;border-radius:8px}.privacy-copy summary{cursor:pointer}.privacy-copy input{padding:10px;width:100%;max-width:250px;font-size:16px;background:#102632;color:#fff;border:1px solid #bba371}.privacy-copy ul{padding-left:20px}.privacy-copy .blocked-player{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}.privacy-copy .danger-button{background:#b34237;color:#fff}.privacy-copy .action-row{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.privacy-link{font-size:12px;border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;padding:8px}.settings-privacy{margin:20px 0;border-top:1px solid #a99f8750;padding-top:12px}.settings-privacy a{color:inherit}.chat-safety-form button:disabled,.privacy-copy button:disabled{opacity:.55}.room-music{position:fixed;z-index:40;right:12px;top:70px;width:min(300px,calc(100vw - 24px));color:#eee;font:12px Segoe UI,sans-serif;background:#202020;border:1px solid #393939;border-radius:14px;box-shadow:0 8px 25px #0005;overflow:hidden}.room-music button{font:inherit;color:inherit;cursor:var(--game-cursor, pointer);background:#303030;border:1px solid #484848;border-radius:8px;padding:7px 9px}.room-music button:disabled{opacity:.35;cursor:default}.room-music button:focus-visible{outline:2px solid #edd69b;outline-offset:2px}.room-music-bar{height:62px;display:flex;align-items:center;justify-content:space-evenly;padding:0 8px;gap:4px}.room-music-bar button{border:0;background:none;display:flex;align-items:center;justify-content:center;padding:6px;width:36px;height:36px;color:#ddd}.room-music-bar button:hover{color:#fff;background:#353535}.room-music-bar .room-music-play{border-radius:50%;width:44px;height:44px;background:#505050;color:#fff}.room-music-bar .room-music-size{width:58px;height:48px;flex-direction:column;gap:2px;font-size:9px}.room-music-bar button[aria-pressed=true]{color:#edd69b}.room-music-content{padding:0 10px 10px;max-height:calc(100vh - 150px);overflow:auto;border-top:1px solid #393939}.room-music p{margin:9px 0}.room-music form{display:grid;gap:8px}.room-music input{box-sizing:border-box;width:100%;min-width:0;background:#323232;border:1px solid #666;border-radius:7px;padding:9px;color:#fff}.room-music-options>button{margin:4px 4px 0 0}.room-youtube{width:100%;min-width:200px;height:200px;margin:8px 0;background:#111}.room-youtube iframe{width:100%;height:200px;border:0}.room-music-note{font-size:11px;line-height:1.4;color:#aaa}.room-music a{color:#ddd}.room-music-content>button{margin-top:8px}.room-music-content>button:last-child{float:right}.room-music-content:after{content:"";display:block;clear:both}.room-music:not(.is-open){width:216px}.room-music-video{padding:0 8px 8px}.room-music-video .room-youtube{margin:0;width:100%;height:200px}.room-music:not(.is-open) .room-music-bar{padding:0 4px;gap:0}.room-music:not(.is-open) .room-music-bar button{flex-shrink:0;width:30px;padding:4px}.room-music:not(.is-open) .room-music-bar .room-music-play{width:40px;height:40px}.room-music:not(.is-open) .room-music-bar .room-music-size{width:52px}.room-music{padding-bottom:16px}.room-music-video .room-youtube,.room-music-video iframe{height:var(--music-video-height,200px)}.room-music .room-music-resize-handle{position:absolute;bottom:0;left:0;width:24px;height:20px;padding:0;border:0;border-radius:0;background:transparent;color:#aaa;cursor:nesw-resize;touch-action:none;transform:scaleX(-1)}.room-music-resize-label{display:flex;align-items:center;gap:10px;padding-top:8px}.room-music-resize-label input{padding:0;accent-color:#edd69b}.room-music .room-music-drag{display:block;width:100%;height:22px;padding:2px;border:0;border-radius:0;background:#292929;color:#bbb;font-size:10px;cursor:grab;touch-action:none;user-select:none}.room-music .room-music-drag:active{cursor:grabbing}.room-music .room-music-toggle{display:block;width:100%;padding:10px 12px;text-align:left;border:0;border-radius:0;background:var(--control-gold-bg);color:var(--control-gold-text);font-weight:600;font-size:14px;border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.room-music-bar[hidden]{display:none}.room-music:not(.is-open) .room-music-drag{height:15px;font-size:9px;padding:0}.room-music .room-music-listen{display:block;margin:7px auto 0;width:calc(100% - 16px);color:#e5c47b}.room-audio-status{padding:0 10px 8px}.room-music-volume{display:flex;align-items:center;gap:8px;margin:12px 0}.room-music-volume input{flex:1;width:0;min-width:0;padding:0;accent-color:#e5c47b}.room-music-volume output{min-width:34px;text-align:right}.room-music-permission{display:flex;gap:10px;align-items:flex-start;padding:12px 10px;margin:12px 0;border:1px solid #796844;border-radius:8px;color:var(--control-gold-text);background:var(--control-gold-bg);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.room-music-permission input{width:18px;height:18px;min-width:18px;margin:0;accent-color:#e8c77a}.room-music-selected-by{color:#e8cc89;font-weight:600;overflow-wrap:anywhere}.room-music.is-open{display:flex;flex-direction:column;max-height:calc(100dvh - 24px)}.room-music.is-open.has-youtube{width:min(340px,calc(100vw - 24px))}.room-music.is-open>.room-music-drag,.room-music.is-open>.room-music-toggle,.room-music.is-open>.room-music-bar,.room-music-video{flex-shrink:0}.room-music-content{min-height:0;overflow-y:auto}.room-music-video .room-youtube,.room-music-video iframe{height:min(var(--music-video-height,260px),max(200px,calc(100dvh - 330px)))}.room-music-video iframe{display:block;min-width:200px;min-height:200px}.room-music-video p{line-height:1.4;margin:7px 0}.room-music-video>button{margin-left:12px}.room-music.is-playing{top:234px}.room-music-header{display:flex;align-items:center;flex-shrink:0;background:var(--control-gold-bg);height:34px;color:var(--control-gold-text)}.room-music .room-music-header .room-music-drag{flex:0 0 28px;width:28px;height:34px;padding:0;background:transparent;font-size:18px;color:var(--control-gold-text)}.room-music .room-music-header .room-music-toggle{flex:1;width:auto;min-width:0;padding:7px 4px;background:transparent;font-size:12px;box-shadow:none}.room-music .room-music-settings-toggle{flex:0 0 34px;height:34px;border:0;border-radius:0;background:transparent;color:var(--control-gold-text);font-size:18px;padding:0}.room-music.is-open.is-compact{width:min(248px,calc(100vw - 24px));padding-bottom:0}.room-music.is-compact .room-music-video{padding:0 5px 5px}.room-music.is-compact .room-youtube,.room-music.is-compact .room-youtube iframe{height:200px}.room-music.is-compact .room-music-video p{font-size:11px;padding:0 3px}.domino-icon{display:inline-block;width:36px;height:36px;flex-shrink:0;vertical-align:middle}.by-option-icon{display:grid;place-items:center;flex:0 0 34px}.by-actions button>.by-option-icon:first-child{width:34px}.by-tools .domino-icon{width:31px;height:31px}.by-player .domino-icon{width:25px;height:28px}.by-menu-rank .domino-icon,.by-caption .domino-icon{width:17px;height:18px}.by-caption>span{padding:0 5px}.by-sub-content>h1 .domino-icon,.by-back .domino-icon{width:30px;height:32px}.settings-layout nav .domino-icon{width:30px;height:32px}.settings-room-icon .domino-icon{width:48px;height:48px}.mobile-settings-button .domino-icon{width:31px;height:31px}.by-ranking-page .by-sub-content{width:min(840px,100%)}.by-ranking-page .by-sub-logo{width:64px}.by-ranking-page .by-sub-content>h1{font-size:20px;margin:10px 0 18px}.by-profile-heading{display:flex;align-items:center;gap:20px}.by-profile-heading .by-profile-avatar{flex-shrink:0;margin:0;width:64px;height:72px;font-size:30px}.by-profile-identity{flex:1;min-width:0}.by-profile-identity .by-section-label{margin-bottom:8px}.by-profile-name-form{display:flex;gap:8px}.by-profile-name-form input{min-width:0;flex:1;padding:10px}.by-ranking-page button:not(.by-back){padding:9px 14px;border:1px solid #ab945166;border-radius:6px;background:var(--control-gold-bg);color:var(--control-gold-text);font-size:12px;border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.by-ranking-page button:not(.by-back):hover:enabled{background:linear-gradient(#fff0c5,#dfb65f)}.by-ranking-page button:disabled{opacity:.5}.by-profile-name-form button{white-space:nowrap}.by-rank-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#102c42,#0a1b2b);border:1px solid;border-radius:10px;padding:20px;margin-top:22px}.by-rank-summary .by-section-label{margin:0 0 6px;font-size:9px}.by-rank-title{font-size:26px}.by-rank-progress{width:55%;font-size:12px;color:#d5e0e7}.by-rank-progress p{margin:0 0 8px}.by-rank-progress span{display:block;color:#99adbc;font-size:11px;margin-top:6px}.by-rank-progress progress{display:block;width:100%;height:7px;accent-color:#e6c47c;border:0;border-radius:9px;overflow:hidden}.by-rank-progress progress::-webkit-progress-bar{background:#051321}.by-rank-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#c29750,#ffe0a0)}.by-ranking-page .by-profile-stats{margin-top:12px}.by-ranking-page .by-profile-stats strong{font-size:29px}.by-ranking-page .by-profile-stats span{font-size:12px}.by-ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:27px}.by-ranking-heading h2{font-size:18px;margin:0;color:#f5deb0}.by-ranking-position{color:#e4c380;font-size:12px;margin:12px 0}.by-ranking-table-wrap{overflow:auto;max-height:340px;margin-top:14px;border:1px solid #62768644;border-radius:8px}.by-ranking-table{border-collapse:collapse;width:100%;min-width:540px;font-size:12px;text-align:center;font-variant-numeric:tabular-nums}.by-ranking-table thead{position:sticky;top:0;z-index:1;background:#0a1b2c;color:#aebdca}.by-ranking-table th,.by-ranking-table td{padding:13px 10px;border-bottom:1px solid #62768630}.by-ranking-table thead th{font-weight:500;font-size:11px}.by-ranking-table tbody th{text-align:left;max-width:200px;overflow-wrap:anywhere;color:#e1eaf0}.by-ranking-table td{color:#c5d2dd}.by-ranking-table td:nth-child(3){text-align:left;white-space:nowrap}.by-ranking-table th:nth-child(2){text-align:left}.by-ranking-table small{display:inline-block;margin-left:7px;color:#f3cf86;font-size:9px}.by-ranking-table tr:last-child>*{border-bottom:0}.by-ranking-self{background:#d5b46512}.by-ranking-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:11px;color:#b6c7d3}.by-rank-rules{margin-top:22px;padding-top:16px;border-top:1px solid #61758840;font-size:12px;color:#e6c58a}.by-rank-rules summary{cursor:var(--game-cursor,pointer)}.by-rank-rules ol{list-style:none;margin:12px 0 0;padding:0;max-width:340px}.by-rank-rules li{display:flex;justify-content:space-between;padding:5px 0;color:#aabfcf}.by-ranking-rules{margin-top:16px}.by-ranking-status{font-size:12px;color:#e9c984;line-height:1.6}.by-menu-rank{display:block;font-size:10px;letter-spacing:.08em;margin:8px 0 0;color:#e1bd7b;text-align:center}.by-seat-rank{font-size:10px;margin-left:7px}@media (max-width:560px){.by-profile-heading{gap:12px}.by-profile-heading .by-profile-avatar{width:44px;height:52px;font-size:24px}.by-profile-name-form{flex-wrap:wrap}.by-profile-name-form input{width:100%;flex-basis:100%}.by-rank-summary{padding:16px;gap:12px;align-items:flex-start;flex-direction:column}.by-rank-progress{width:100%}.by-rank-title{font-size:24px}.by-ranking-page .by-sub-panel{padding:18px}.by-ranking-heading h2{font-size:16px}.by-ranking-page .by-sub-content>h1{font-size:18px;letter-spacing:.1em}}.create-room-dialog{text-align:left}.public-room-details{min-width:0;overflow-wrap:anywhere}.create-room-dialog h2,.create-room-dialog>p{text-align:center}.spectator-option{display:flex;gap:14px;align-items:flex-start;padding:18px 14px;border:1px solid #ab8e55;border-radius:12px;background:var(--control-gold-bg);color:var(--control-gold-text);cursor:var(--game-cursor, pointer);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.spectator-option input,.join-watch input{width:20px!important;min-width:20px;height:20px;accent-color:#dbb56a;margin:2px 0 0}.spectator-option strong,.spectator-option small{display:block}.spectator-option small{color:#5b421d;margin-top:8px;line-height:1.55}.create-room-dialog .spectator-privacy{color:#a8d5bf;font-size:12px;margin:14px 0 20px}.by-join .join-watch{display:flex;gap:10px;align-items:center;margin-top:12px;color:#efd9a9;font-size:12px;letter-spacing:0}.room-invites{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:12px 0}.room-invites button{border:1px solid #c6a96c;border-radius:8px;padding:10px 14px;background:var(--control-gold-bg);color:var(--control-gold-text);cursor:var(--game-cursor, pointer);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.room-invites label{width:100%;font-size:12px}.room-invites input{display:block;width:100%;padding:10px;border:1px solid #a38a53;border-radius:6px;background:#0a1723;color:#fff0cb;margin-top:6px}.invite-status{width:100%;color:#b8dec1;font-size:12px}.lobby-spectators{border:1px solid #9c854b66;background:#10232de0;color:#e6d0a5;border-radius:12px;padding:14px;margin-top:14px}.lobby-spectators p{font-size:13px;color:#c6d0d6}.lobby-spectators ul,.game-spectators ul{display:flex;flex-wrap:wrap;gap:6px 16px;padding:0;margin:8px 0 0;list-style:none;max-height:110px;overflow:auto}.lobby-spectators li,.game-spectators li{font-size:13px}.spectator-cameras{position:absolute;bottom:20px;left:50%;transform:translate(-50%);z-index:15;width:min(640px,calc(100% - 32px));border:1px solid #b8995f;border-radius:14px;padding:12px;color:#f6dfad;background:#102430f5;box-shadow:0 10px 35px #0006}.spectator-cameras>div:first-child{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;padding:0 2px 10px}.spectator-cameras strong{font-size:12px;letter-spacing:.08em}.spectator-cameras span{font-size:11px;color:#b8cbd5}.spectator-camera-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.spectator-camera-buttons button{overflow:hidden;text-overflow:ellipsis;border:1px solid #6b7a80;border-radius:8px;padding:9px 6px;color:var(--control-gold-text);background:var(--control-gold-bg);cursor:var(--game-cursor, pointer);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.spectator-camera-buttons button[aria-pressed=true]{border-color:#795018;background:var(--control-gold-bg);color:var(--control-gold-text);box-shadow:var(--control-gold-selected-shadow)}.spectator-camera-buttons button small{display:block;font-size:10px;margin-top:5px}.spectator-camera-buttons button:focus-visible,.room-invites button:focus-visible{outline:3px solid #ffe4a9;outline-offset:3px}.game-spectators{position:absolute;top:232px;right:24px;z-index:14;width:230px;max-width:calc(100vw - 40px);background:#102430ee;border:1px solid #a88b55;border-radius:10px;padding:10px;color:#e9d4a5;font-size:12px}.game-spectators summary{cursor:var(--game-cursor, pointer)}.game-spectators .room-invites button{width:100%;font-size:12px}.spectator-game .connection-status{bottom:135px}@media (max-width:600px){.spectator-cameras{bottom:12px;padding:10px}.spectator-camera-buttons{gap:5px}.spectator-camera-buttons button{font-size:11px;padding:8px 4px}.public-room-list li{flex-wrap:wrap;gap:12px}}.spectator-overview{border:1px solid #7c8b8d;border-radius:6px;background:var(--control-gold-bg);color:var(--control-gold-text);font-size:11px;padding:4px 10px;cursor:var(--game-cursor, pointer);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.spectator-overview[aria-pressed=true]{background:var(--control-gold-bg);color:var(--control-gold-text);border-color:#795018;box-shadow:var(--control-gold-selected-shadow)}@media (max-width:600px){.spectator-cameras{bottom:72px}.spectator-game .connection-status{bottom:222px}}.music-creation-option{margin:0 0 20px}.spectator-hand{display:flex;flex-direction:column;align-items:center;gap:5px;padding-top:8px}.spectator-hand-tiles{display:flex;justify-content:center;gap:4px;width:100%}.spectator-hand-tile{width:clamp(19px,4.5vw,27px);padding:2px;background:#f3eee0;border:1px solid #c7bfaa;border-radius:4px;box-shadow:0 2px #918b79}.spectator-hand-tile svg{display:block;width:100%;aspect-ratio:1}.spectator-hand-tile svg+svg{border-top:1px solid #3e403b}@media (max-height:500px) and (orientation:landscape){.spectator-cameras{padding:8px}.spectator-cameras>div:first-child{align-items:center;padding-bottom:5px}.spectator-cameras>div:first-child>span{display:none}.spectator-cameras .spectator-overview{min-height:28px;padding:3px 8px}.spectator-camera-buttons button{min-height:32px;padding:4px}.spectator-camera-buttons button small{display:inline;margin-left:5px}.spectator-hand{padding-top:5px;gap:3px}.spectator-hand-tile{width:22px}}.subscription-panel{padding:20px;border:1px solid #d4b87555;border-radius:16px;background:#102631;color:#f8eacd;margin:20px 0;line-height:1.5}.subscription-panel h2{font-size:1.2rem;margin:0 0 10px}.subscription-panel button{min-height:44px;padding:10px 16px;background:#d9bc7d;color:#14242b;border:0;border-radius:10px;font:inherit;cursor:pointer}.subscription-panel button:disabled{opacity:.5;cursor:default}.subscription-panel .subscription-terms{font-size:.85rem;color:#c8d3d7}.subscription-actions{display:flex;gap:10px;flex-wrap:wrap}.subscription-actions button{background:var(--control-gold-bg);color:var(--control-gold-text);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.subscription-links{display:flex;gap:18px;flex-wrap:wrap;font-size:.85rem}.subscription-links a{color:#e6c98b}.subscription-panel details{font-size:.85rem}.subscription-panel summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;color:#e6c98b}.subscription-panel details p{overflow-wrap:anywhere}.menu-subscription-dialog{box-sizing:border-box;width:min(32rem,calc(100% - var(--phone-left,12px) - var(--phone-right,12px)));max-height:calc(100dvh - var(--phone-top,12px) - var(--phone-bottom,12px));margin:auto;padding:14px 20px 18px;overflow:auto;overscroll-behavior:contain;border:1px solid #b8995f;border-radius:16px;background:#102631;color:#f8eacd}.menu-subscription-dialog::backdrop{background:#05121ac9}.menu-subscription-dialog form{display:flex;justify-content:flex-end}.menu-subscription-dialog form button{min-height:44px;padding:0 14px;border:1px solid #b8995f;border-radius:8px;color:#f8eacd;background:transparent}.menu-subscription-dialog .subscription-panel{margin:0;padding:0;border:0}.by-menu{position:relative;isolation:isolate;height:100%;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:22px 32px 18px;color:#fff1cf;background:#050d17;font-family:Segoe UI,sans-serif}.by-scenery{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 50% 5%,#407a8a55,transparent 65%),#07101a}.by-table{position:absolute;width:1400px;height:1100px;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-19deg);border:36px solid #392b21;border-radius:130px;box-shadow:0 0 0 3px #aa8550,inset 0 0 0 3px #bfa265,inset 0 0 120px #000b,0 40px 100px #000;background:repeating-linear-gradient(30deg,#ffffff02 0px,#ffffff02 1px,transparent 1px,transparent 4px),radial-gradient(ellipse,#204657,#0b2535)}.by-table:after{content:"";position:absolute;inset:36px;border:2px solid #ba9a5833;border-radius:60px}.by-table-mark{position:absolute;top:37%;left:39%;font:240px Georgia,serif;color:#cdb6780a}.by-tile{position:absolute;width:90px;filter:drop-shadow(8px 15px 6px #0009)}.by-tile-0{left:18%;top:19%;transform:rotate(30deg)}.by-tile-1{left:25%;top:32%;transform:rotate(-17deg)}.by-tile-2{left:16%;top:58%;transform:rotate(76deg)}.by-tile-3{right:18%;top:25%;transform:rotate(65deg)}.by-tile-4{right:23%;top:55%;transform:rotate(-35deg)}.by-tile-5{right:18%;top:68%;transform:rotate(12deg)}.by-shade{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 42%,#030a1255 15%,#030a12a0 64%,#030a12f5),linear-gradient(90deg,transparent,#030a1260 45%,transparent)}.by-hud{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.by-title{font:700 25px Georgia,serif;color:#e8c377;display:flex;align-items:center;gap:12px}.by-title>span{font:700 10px Segoe UI,sans-serif;letter-spacing:.18em}.by-online{font-size:11px;color:#b8c7cd;display:flex;align-items:center;gap:7px}.by-online i{width:6px;height:6px;border-radius:50%;background:#d3a55a}.by-online i.ready{background:#85d9b5;box-shadow:0 0 9px #85d9b566}.by-main{width:min(340px,100%);display:flex;flex-direction:column;align-items:center;margin:auto 0;padding:12px 0 16px;animation:by-arrive .6s ease-out both}.by-logo{width:clamp(180px,30vh,295px);max-width:90%;display:block;filter:drop-shadow(0 12px 22px #0009)}.by-mode{display:flex;align-items:center;justify-content:center;gap:12px;letter-spacing:.28em;font-size:10px;color:#edcf8c;margin:5px 0 17px}.by-mode>span{width:40px;height:1px;background:linear-gradient(90deg,transparent,#ddbc70)}.by-mode>span:last-child{transform:rotate(180deg)}.by-player{display:flex;align-items:center;gap:9px;margin-bottom:14px;padding:6px 12px;border-bottom:1px solid #c5ac6844;color:#cfb77e;width:76%}.by-player input{width:100%;min-width:0;border:0;background:transparent;color:#f3e5c8;font:14px Segoe UI,sans-serif;text-align:center;padding:5px}.by-pencil{font-size:16px}.by-actions{width:100%;display:flex;flex-direction:column;gap:11px}.by-menu button{font-family:inherit;transition:transform .16s,filter .16s,box-shadow .16s}.by-actions button{position:relative;width:100%;min-height:53px;display:flex;align-items:center;gap:17px;padding:10px 22px;border:1px solid #ffe4a2;border-radius:8px;background:linear-gradient(#ffe8a9,#d2a34c);color:#362710;box-shadow:inset 0 2px #fff3ce,0 5px #886026,0 9px 30px #d2a34c25;font-size:16px;font-weight:750;letter-spacing:.09em;text-align:left}.by-actions button>span:first-child{width:22px;font-size:23px;color:#73511c}.by-actions .by-action-end{margin-left:auto;font-size:23px;color:#73511c}.by-actions .by-play{min-height:66px;font-size:25px}.by-actions .by-play span{color:#73511c;font-size:18px}.by-actions .by-play .by-action-end{opacity:0}.by-actions button:hover{transform:translate(5px);filter:brightness(1.18)}.by-actions button:active{transform:translateY(3px)}.by-menu button:focus-visible,.by-menu input:focus-visible{outline:3px solid #ffe6a0;outline-offset:4px}.by-caption{margin:20px 0 0;color:#a8b6bd;font-size:9px;letter-spacing:.07em;text-align:center}.by-caption span{color:#bd9f60;padding:0 7px;font-size:7px}.by-menu-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;margin-top:6px}.by-remove-ads{min-height:44px;padding:8px 18px;border:1px solid #ffe999;border-radius:9px;background:linear-gradient(#ffed73,#ffce28);color:#302406;box-shadow:inset 0 1px #fff6bd,0 3px #997015;font-size:15px;font-weight:700;cursor:pointer}@media (orientation:landscape) and (max-height:550px){.mobile-app .by-menu-links{grid-column:1 / -1;justify-content:flex-start;margin-top:0}}.by-tools{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.by-tools button{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:65px;border:0;background:transparent;color:#bdc6ca;font-size:10px;padding:5px}.by-tools button span{display:grid;place-items:center;width:39px;height:36px;border:1px solid #8a79534d;border-radius:9px;background:var(--control-gold-bg);box-shadow:var(--control-gold-shadow);font-size:21px;color:var(--control-gold-text);border-color:var(--control-gold-border)}.by-tools button:hover{transform:translateY(-3px);color:#fff0c8}.by-join{width:100%;padding:16px;background:#0a1728ed;border:1px solid #b79853;border-radius:9px;margin-top:15px}.by-join label{font-size:10px;letter-spacing:.1em;display:block;margin-bottom:10px}.by-join>div{display:flex;gap:8px}.by-join input{min-width:0;width:100%;background:#040d17;color:#fff0cf;border:1px solid #5b6974;border-radius:5px;padding:10px;font:13px Segoe UI,sans-serif}.by-join button{background:#dec07b;color:#231c11;border:0;border-radius:5px;font-weight:700;padding:10px}.by-join button:disabled{opacity:.45;cursor:not-allowed}.by-error{color:#ffb4ab;font-size:13px;background:#30191dcc;padding:10px;border-radius:6px}@keyframes by-arrive{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (min-width:1000px){.by-main{width:380px}.by-logo{width:clamp(220px,34vh,340px)}.by-table{width:1550px;height:1100px}}@media (max-width:480px){.by-menu{padding:16px 20px}.by-title>span{font-size:8px}.by-tools{gap:5px}.by-tools button{min-width:48px;font-size:9px}.by-tools button:first-child{max-width:70px}.by-logo{width:clamp(160px,27vh,240px)}}@media (max-height:640px) and (min-width:700px){.by-main{width:320px;padding-top:0}.by-logo{width:150px}.by-mode{margin-bottom:7px}.by-actions button{min-height:44px}.by-actions .by-play{min-height:52px}.by-caption{margin-top:12px}}@media (prefers-reduced-motion:reduce){.by-main{animation:none}.by-menu button{transition:none}}.by-sub-content{width:min(540px,100%);margin:auto 0;padding:15px 0 22px;display:flex;flex-direction:column;align-items:center;animation:by-arrive .5s ease-out both}.by-sub-edition{color:#cbb783;font-size:9px;letter-spacing:.15em}.by-sub-logo{width:100px;filter:drop-shadow(0 6px 12px #0008)}.by-sub-content>h1{display:flex;align-items:center;gap:12px;font-size:23px;letter-spacing:.17em;margin:13px 0 22px;color:#f7df9e;text-shadow:0 3px 8px #000}.by-sub-content>h1>span{color:#c3a469;font-size:22px}.by-sub-panel{width:100%;padding:26px;border:1px solid #a58b5366;border-radius:13px;background:linear-gradient(145deg,#1b3347ef,#091726f5);box-shadow:inset 0 1px #ffffff18,0 5px #02091180,0 20px 50px #0005}.by-back{display:flex;align-items:center;gap:10px;padding:11px 23px;color:var(--control-gold-text);background:var(--control-gold-bg);border:1px solid #ac905966;border-radius:8px;box-shadow:var(--control-gold-shadow);font-weight:600;letter-spacing:.08em;font-size:11px;border-color:var(--control-gold-border)}.by-back>span{font-size:20px;line-height:14px}.by-back:hover{filter:brightness(1.25);transform:translateY(-2px)}.by-section-label,.by-setting legend,.by-setting-label{display:block;font-size:10px;font-weight:600;color:#d8c28d;letter-spacing:.1em;margin-bottom:13px}.by-centered{text-align:center}.by-setting{border:0;padding:0 0 25px;margin:0;min-width:0}.by-quality{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.by-quality button,.by-toggle{border:1px solid #697266;border-radius:7px;background:var(--control-gold-bg);color:var(--control-gold-text);padding:12px 5px;box-shadow:var(--control-gold-shadow);font-size:12px;border-color:var(--control-gold-border)}.by-quality button[aria-pressed=true],.by-toggle[aria-checked=true]{background:var(--control-gold-bg);border-color:#795018;color:var(--control-gold-text);font-weight:700;box-shadow:var(--control-gold-selected-shadow)}.by-setting-label{display:flex;justify-content:space-between;align-items:center}.by-setting-label output{font-size:14px;color:#f3d18d}.by-submenu input[type=range]{width:100%;accent-color:#e2bc6e;cursor:var(--game-cursor, pointer);height:24px}.by-sound-toggle{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #9b895333;padding-top:20px;font-size:13px}.by-toggle{min-width:112px;padding:10px}.by-music-art{display:flex;justify-content:center;margin:0 0 23px}.by-record{display:grid;place-items:center;width:145px;height:145px;border-radius:50%;border:2px solid #6f777c;background:repeating-radial-gradient(circle,#0b1520 0 3px,#27303b 4px,#101c27 5px 7px);box-shadow:0 9px 20px #0009}.by-record>span{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:linear-gradient(#e4c579,#b2873d);color:#233344;border:4px solid #132536;font:700 23px Georgia,serif}.by-music-widget .music-player.panel{background:none;border:0;box-shadow:none;padding:0;backdrop-filter:none}.by-music-widget h4{display:none}.by-music-widget .music-player>div:first-of-type{text-align:center;font-size:14px!important;margin-bottom:22px!important;color:#f0dfb7}.by-music-widget .music-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.by-music-widget .music-controls button{height:46px;border:1px solid #b79b5c77;border-radius:8px;font-size:20px;background:var(--control-gold-bg);box-shadow:var(--control-gold-shadow);color:var(--control-gold-text);border-color:var(--control-gold-border)}.by-music-widget .music-controls button:nth-child(2){background:linear-gradient(#f5d58c,#c89e50);color:#2c2415}.by-music-widget .music-controls input{grid-column:1/-1;min-width:0;margin:10px 0 0}.by-rule-summary{display:flex;justify-content:space-around;gap:10px;padding-bottom:20px;border-bottom:1px solid #b7995733;color:#aebeca;font-size:11px}.by-rule-summary b{color:#f1d28c;font-size:23px;display:block;text-align:center;margin-bottom:4px}.by-rule-list{display:flex;flex-direction:column;gap:21px;padding-top:22px}.by-rule{display:flex;gap:14px}.by-rule>span{flex-shrink:0;width:27px;height:27px;display:grid;place-items:center;background:#af8c4620;border:1px solid #b7984c44;border-radius:5px;color:#d9bc79;font-size:10px}.by-rule h2{font-size:14px;margin:2px 0 7px;color:#f2ddb1}.by-rule p{font-size:13px;line-height:1.65;color:#bcc9d2;margin:0}.by-profile-avatar{display:grid;place-items:center;width:74px;height:80px;margin:0 auto 24px;border:2px solid #e2bd6b;border-radius:15px;background:linear-gradient(#294960,#132b3f);color:#f5d993;font:700 35px Georgia,serif;box-shadow:0 6px #040c16}.by-profile-name{width:100%;background:#071321;border:1px solid #777c68;color:#f5e8c8;border-radius:7px;padding:13px;font:15px Segoe UI,sans-serif}.by-profile-note{font-size:11px;line-height:1.5;color:#aebdc7;margin:10px 0 0}.by-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}.by-profile-stats>div{padding:13px;background:#081827a0;border:1px solid #9b895338;border-radius:8px;text-align:center}.by-profile-stats span{display:block;color:#aebfcb;font-size:10px}.by-profile-stats strong{display:block;color:#ddbf7c;font-size:22px;margin-top:5px}@media (max-width:480px){.by-sub-panel{padding:20px}.by-sub-content>h1{font-size:21px}.by-sub-edition{font-size:8px}}@media (max-height:720px){.by-sub-logo{width:76px}.by-sub-content>h1{margin:10px 0 16px}.by-sub-content{padding-top:8px}}@media (prefers-reduced-motion:reduce){.by-sub-content{animation:none}}:root{--game-cursor: url(/cursors/pointing-hand.svg) 5 2, pointer;--cuba-red: #c0392b;--cuba-blue: #1f3d7a;--cuba-blue-dark: #142752;--cuba-white: #f4f1e8;--wood-dark: #2b1a10;--wood-mid: #4a2c17;--ivory: #f6f0df;--ink: #1a1410;--gold: #d4af37;--panel-bg: rgba(20, 14, 10, .86);--panel-border: rgba(212, 175, 55, .35);font-family:Segoe UI,Helvetica Neue,Arial,sans-serif;color-scheme:dark;--control-gold-bg:linear-gradient(#ffe8a9,#d2a34c);--control-gold-text:#362710;--control-gold-border:#ffe4a2;--control-gold-shadow:inset 0 1px #fff7d8,0 3px 0 #886026;--control-gold-selected-shadow:inset 0 0 0 2px #795018,0 3px 0 #886026}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;width:100%;height:100%;background:radial-gradient(circle at 50% 20%,#241209,#0d0704 75%);color:var(--ivory);overflow:hidden}html,body,#root,canvas,dialog{cursor:var(--game-cursor, pointer)}button{font-family:inherit;cursor:var(--game-cursor, pointer)}.app-root{width:100vw;height:100vh;position:relative}.vignette-overlay{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 46%,transparent 55%,rgba(4,2,1,.5) 100%)}.menu-screen{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;background:radial-gradient(ellipse at 50% -10%,rgba(192,57,43,.25),transparent 60%),radial-gradient(ellipse at 50% 110%,rgba(31,61,122,.3),transparent 60%),linear-gradient(180deg,#1a0f08,#0c0603)}.menu-title{text-align:center}.menu-title h1{margin:0;font-size:3.4rem;letter-spacing:.12em;font-weight:800;color:var(--ivory);text-shadow:0 4px 24px rgba(0,0,0,.6)}.menu-title .flag-stripe{display:inline-flex;height:6px;width:100%;margin-top:10px;border-radius:3px;overflow:hidden}.menu-title .flag-stripe span{flex:1}.menu-title h2{margin:6px 0 0;font-size:1.15rem;font-weight:400;letter-spacing:.4em;color:var(--gold);text-transform:uppercase}.menu-buttons{display:grid;grid-template-columns:repeat(2,minmax(190px,1fr));gap:14px;width:min(520px,90vw)}.menu-buttons button{padding:16px 18px;border-radius:10px;border:1px solid var(--panel-border);background:linear-gradient(180deg,#4a2c17e6,#1e110ae6);color:var(--ivory);font-size:1rem;font-weight:600;letter-spacing:.04em;transition:transform .15s ease,border-color .15s ease,background .15s ease}.menu-buttons button:hover{transform:translateY(-2px);border-color:var(--gold);background:linear-gradient(180deg,#603a1ef2,#28160cf2)}.menu-buttons button.primary{grid-column:1 / -1;background:linear-gradient(180deg,var(--cuba-red),#8e2a1e);border-color:#fff3}.panel{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:14px;padding:20px 24px;backdrop-filter:blur(6px);box-shadow:0 12px 40px #00000080}.field-row{display:flex;gap:10px;align-items:center}.field-row input{flex:1;padding:10px 12px;border-radius:8px;border:1px solid var(--panel-border);background:#00000059;color:var(--ivory);font-size:.95rem}.field-row button{padding:10px 16px;border-radius:8px;border:1px solid var(--panel-border);background:var(--control-gold-bg);color:var(--control-gold-text);font-weight:600;border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.lobby-screen{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}.room-code{font-size:1.6rem;letter-spacing:.15em;font-weight:700;color:var(--gold)}.seats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;width:min(520px,90vw)}.seat-card{border-radius:10px;border:1px solid var(--panel-border);padding:14px;background:#0000004d;display:flex;flex-direction:column;gap:4px}.seat-card.empty{opacity:.45;border-style:dashed}.seat-card .seat-name{font-weight:700}.seat-card .seat-status{font-size:.8rem;opacity:.8}.seat-card .team-tag{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;width:fit-content;padding:2px 8px;border-radius:999px}.team-tag.team-A{background:#c0392b59;color:#ffb3a8}.team-tag.team-B{background:#1f3d7a66;color:#a9c1ff}.hud{position:absolute;inset:0;pointer-events:none;z-index:10}.hud>*{pointer-events:auto}.turn-indicator{position:absolute;top:18px;left:50%;transform:translate(-50%);padding:10px 26px;border-radius:999px;font-weight:700;letter-spacing:.06em;font-size:1rem;border:1px solid var(--panel-border);background:var(--panel-bg)}.turn-indicator.mine{background:linear-gradient(180deg,var(--cuba-red),#8e2a1e);border-color:#ffffff4d}.scoreboard{position:absolute;top:18px;right:18px;display:flex;gap:10px}.scoreboard .team-score{padding:8px 16px;border-radius:10px;text-align:center;min-width:96px}.scoreboard .team-score .label{font-size:.72rem;letter-spacing:.1em;opacity:.85}.scoreboard .team-score .value{font-size:1.4rem;font-weight:800}.tiles-remaining{position:absolute;top:18px;left:18px;padding:8px 14px;border-radius:10px;font-size:.85rem}.my-hand-count{position:absolute;bottom:190px;left:50%;transform:translate(-50%);font-size:.8rem;opacity:.85}.round-banner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;padding:26px 40px;font-size:1.3rem}.round-banner .winner{color:var(--gold);font-size:1.8rem;font-weight:800;margin-bottom:6px}.pass-button{position:absolute;bottom:18px;right:18px;padding:10px 20px;border-radius:10px;border:1px solid var(--panel-border);background:var(--control-gold-bg);color:var(--control-gold-text);font-weight:700;border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.pass-button:disabled{opacity:.35;cursor:not-allowed}.widget-stack{position:absolute;bottom:18px;left:18px;display:flex;flex-direction:column;gap:10px;width:220px}.voice-chat,.music-player{padding:12px 14px;border-radius:10px}.voice-chat h4,.music-player h4{margin:0 0 8px;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}.voice-row{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:.82rem;padding:3px 0}.voice-row .speaking-dot{width:8px;height:8px;border-radius:50%;background:#4caf50;box-shadow:0 0 6px #4caf50}.icon-btn{border:1px solid var(--panel-border);background:var(--control-gold-bg);color:var(--control-gold-text);border-radius:6px;padding:4px 8px;font-size:.8rem;border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.icon-btn.active{background:var(--cuba-red);color:var(--ivory)}.music-controls{display:flex;align-items:center;gap:8px}.connection-status{position:absolute;bottom:8px;left:50%;transform:translate(-50%);font-size:.72rem;opacity:.6}.my-hand-count{bottom:auto;top:58px;left:32px;transform:none}.capicua-celebration{color:#ffe5a0;padding:12px 8px;overflow:hidden}.capicua-title{font-size:clamp(28px,5vw,52px);font-weight:900;letter-spacing:.06em;text-shadow:0 0 24px #eeb84480;animation:capicua-arrive .8s cubic-bezier(.15,.85,.25,1.25) both}.capicua-close{display:flex;align-items:center;justify-content:center;margin:18px auto;max-width:340px}.capicua-close>span{border:1px solid #eac66c;border-radius:50%;padding:8px 13px}.capicua-close>i{height:3px;flex:1;background:#eac66c;transform:scaleX(0);animation:capicua-connect .5s .8s forwards}.capicua-close>strong{background:#fff6df;color:#172735;border:2px solid #d7ac4e;border-radius:10px;padding:12px 18px;box-shadow:0 3px #b5aa91,0 0 22px #f8d68070;animation:capicua-tile .9s ease-out both}.capicua-celebration p{margin:8px 0;font-size:14px}.round-banner{max-height:85vh;overflow:auto;pointer-events:auto}@keyframes capicua-arrive{0%{opacity:0;transform:scale(.45)}to{opacity:1;transform:scale(1)}}@keyframes capicua-tile{0%{opacity:0;transform:translateY(-70px) rotate(-25deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@keyframes capicua-connect{to{transform:scaleX(1)}}@media (prefers-reduced-motion:reduce){.capicua-title,.capicua-close>strong,.capicua-close>i{animation:none;transform:none}}.match-victory{animation:reveal-result .4s 2.1s both}@keyframes reveal-result{0%{opacity:0;transform:translate(-50%,-40%)}to{opacity:1;transform:translate(-50%,-50%)}}@media (prefers-reduced-motion:reduce){.match-victory{animation:none}}.turn-indicator{top:32px;z-index:8;max-width:70vw;text-align:center}.turn-indicator.mine{font-size:1.25rem;box-shadow:0 0 0 4px #e3b55044,0 8px 30px #0008;animation:turn-appear .45s ease-out}.main-pass{right:clamp(40px,7vw,110px);bottom:48px;padding:16px 30px;font-size:17px;pointer-events:auto;z-index:9}@keyframes turn-appear{0%{opacity:0;transform:translate(-50%) scale(.85)}to{opacity:1;transform:translate(-50%) scale(1)}}@media (prefers-reduced-motion:reduce){.turn-indicator.mine{animation:none}}.camera-view-button{position:absolute;right:24px;top:90px;z-index:12;border:1px solid #c6a96c;border-radius:8px;padding:10px 14px;background:var(--control-gold-bg);color:var(--control-gold-text);font-weight:600;box-shadow:var(--control-gold-shadow);border-color:var(--control-gold-border)}.camera-view-button:focus-visible{outline:3px solid #f2cf86;outline-offset:3px}.camera-inspect-button{top:138px;background:var(--control-gold-bg);color:var(--control-gold-text);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.camera-inspect-button[aria-pressed=true]{background:var(--control-gold-bg);color:var(--control-gold-text);border-color:#795018;box-shadow:var(--control-gold-selected-shadow)}.leave-game-open,.leave-game-confirm,.leave-game-keep{font:600 13px Segoe UI,sans-serif;border-radius:8px;padding:12px 17px;cursor:var(--game-cursor, pointer)}.leave-game-open,.leave-game-confirm{background:linear-gradient(#ffe4a2,#c69b4b);border:1px solid #ffdda0;color:#322611;box-shadow:inset 0 1px #fff1c9,0 3px #735426,0 6px 16px #0004}.leave-game-open{position:absolute;top:88px;left:32px}.leave-game-dialog{box-sizing:border-box;width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:30px;border:1px solid #e2bf72;border-radius:18px;background:linear-gradient(140deg,#20394e,#091827);color:#f5e6c5;box-shadow:0 24px 90px #000a,inset 0 1px #ffe5a133;text-align:center}.leave-game-dialog::backdrop{background:#020912ba;backdrop-filter:blur(4px)}.leave-game-dialog h2{font-size:23px;margin:12px 0;color:#f4d58f}.leave-game-dialog p{font-size:14px;line-height:1.65;color:#cad3d9;margin:0 0 24px}.leave-game-symbol{display:inline-grid;place-items:center;width:48px;height:48px;border:1px solid #d9b86c66;border-radius:12px;color:#e8c477;font-size:28px;background:#bb94451a}.leave-game-actions{display:flex;flex-direction:column;gap:12px}.leave-game-keep{border:1px solid #cfb479;background:var(--control-gold-bg);color:var(--control-gold-text);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.leave-game-open:hover,.leave-game-confirm:hover,.leave-game-keep:hover{filter:brightness(1.12)}.leave-game-open:focus-visible,.leave-game-dialog button:focus-visible{outline:3px solid #fff0bd;outline-offset:4px}@media (max-width:480px){.leave-game-open{left:16px;padding:10px 12px;font-size:11px}.leave-game-dialog{padding:24px}}.camera-look-button{top:182px}.camera-look-button[aria-pressed=true]{background:var(--control-gold-bg);color:var(--control-gold-text);border-color:#795018;box-shadow:var(--control-gold-selected-shadow)}.camera-look-hint{position:absolute;right:18px;top:224px;max-width:250px;padding:10px;background:#142632ed;color:#fff1cf;border-radius:10px;font-size:12px;pointer-events:none}.camera-look-hint{animation:camera-hint-fade 5s forwards}@keyframes camera-hint-fade{0%,80%{opacity:1}to{opacity:0}}.voice-toggle{background:var(--control-gold-bg);color:var(--control-gold-text);border:1px solid var(--control-gold-border);border-radius:7px;padding:8px 10px;box-shadow:var(--control-gold-shadow);cursor:var(--game-cursor,pointer)}html.mobile-app{--game-cursor:auto;--phone-left:max(12px,env(safe-area-inset-left));--phone-right:max(12px,env(safe-area-inset-right));--phone-top:max(8px,env(safe-area-inset-top));--phone-bottom:max(8px,env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}.mobile-app .app-root{width:100%;height:100dvh}.mobile-app button,.mobile-app summary{touch-action:manipulation;min-height:44px}.mobile-app input:not([type=checkbox]):not([type=range]),.mobile-app select{font-size:16px}.mobile-app .by-menu{padding:var(--phone-top) var(--phone-right) var(--phone-bottom) var(--phone-left)}.mobile-app .by-tools{gap:10px;flex-shrink:0}.mobile-app .by-tools button{min-width:76px;font-size:11px}.mobile-app .by-tools button span{height:30px;width:34px;font-size:18px}.mobile-app .by-menu button:hover{transform:none}.mobile-app .game-screen canvas{touch-action:none}.mobile-app .turn-indicator{top:var(--phone-top);font-size:12px;max-width:32%;padding:9px 15px}.mobile-app .turn-indicator.mine{font-size:14px}.mobile-app .scoreboard{top:var(--phone-top);right:var(--phone-right);gap:6px;background:#08121bf5;border-radius:10px;box-shadow:0 2px 8px #0005,inset 0 0 0 1px #d2b36a38}.mobile-app .scoreboard .team-score{min-width:62px;padding:4px 7px}.mobile-app .scoreboard .label{font-size:9px}.mobile-app .scoreboard .value{font-size:19px}.mobile-app .tiles-remaining{top:var(--phone-top);left:var(--phone-left);padding:0;font-size:11px}.mobile-app .my-hand-count{top:var(--phone-top);left:var(--phone-left);font-size:11px}.mobile-app .leave-game-open{top:32px;left:var(--phone-left);padding:8px 10px;font-size:11px}.mobile-app .camera-view-button{right:var(--phone-right);top:62px;padding:7px 10px;font-size:11px}.mobile-app .camera-inspect-button{top:112px}.mobile-app .camera-look-button,.mobile-app .direct-play-hint,.mobile-app .main-pass{display:none}.mobile-app .widget-stack{top:132px;bottom:auto;left:var(--phone-left);width:auto;max-width:240px;font-size:11px}.mobile-app .widget-stack details{padding:0 9px!important}.mobile-app .widget-stack summary{display:flex;align-items:center}.mobile-app .widget-stack details[open]{max-height:calc(100dvh - 170px);overflow:auto;background:#10262f!important}.mobile-app .connection-status{display:none}.mobile-app .round-banner{width:min(460px,calc(100% - 120px));max-height:calc(100dvh - 26px);padding:15px 22px;font-size:15px;z-index:30}.mobile-app .round-banner .winner{font-size:22px}.mobile-app .round-banner button{min-width:85px;padding:8px}.mobile-app .capicua-celebration{padding:0}.mobile-app .capicua-title{font-size:26px}.mobile-app .capicua-close{margin:8px auto}.mobile-app .room-text-chat{right:var(--phone-right);bottom:var(--phone-bottom);max-height:none}.mobile-app .room-text-chat.chat-in-game:not(.chat-open){top:164px;bottom:auto}.mobile-app .room-text-chat:not(.chat-open){width:76px;height:44px;border-radius:10px}.mobile-app .room-text-chat:not(.chat-open) .chat-toggle{width:100%;height:44px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 7px}.mobile-app .room-text-chat:not(.chat-open) .chat-toggle svg{width:21px;height:21px}.mobile-app .chat-label{font-size:12px;font-weight:600}.mobile-app .room-text-chat.chat-open{position:fixed;z-index:100;top:calc(var(--chat-viewport-top,0px) + var(--phone-top) + 8px);bottom:auto;width:min(400px,calc(100vw - var(--phone-left) - var(--phone-right)));height:min(var(--chat-panel-height,380px),max(44px,calc(var(--chat-viewport-height,100dvh) - var(--phone-top) - var(--phone-bottom) - 16px)));max-height:none;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.mobile-app .room-text-chat.chat-open .chat-toggle{width:100%;height:44px;flex:0 0 44px;display:flex;gap:10px;padding:0 12px;border-radius:0;border-bottom:1px solid #a88c5055}.mobile-app .room-text-chat.chat-open .chat-toggle span:last-child{margin-left:auto;font-size:27px}.mobile-app .room-text-chat .chat-body{position:static;bottom:auto;right:auto;width:100%;max-width:none;min-height:0;flex:1;display:flex;flex-direction:column;gap:8px;border:0;background:transparent;padding:8px}.mobile-app .room-text-chat .chat-messages{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;font-size:14px}.mobile-app .room-text-chat .chat-body form{flex-shrink:0}.mobile-app .room-text-chat .chat-body input{min-height:44px}.mobile-app .room-text-chat .chat-body form button{min-width:68px}.mobile-app .room-text-chat .chat-body form button:disabled{opacity:.5}.mobile-app .mobile-settings-button{position:absolute;left:var(--phone-left);top:82px;z-index:20;width:44px;padding:4px;border:1px solid #a18b5c;border-radius:9px;background:var(--control-gold-bg);color:var(--control-gold-text);font-size:21px;border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.mobile-app .settings-page{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.mobile-app .settings-content{min-height:0;max-height:none;overflow:visible;overflow-wrap:anywhere}.mobile-app .settings-shell{max-width:100%}.mobile-app .settings-layout,.mobile-app .settings-layout nav{min-width:0;min-height:0}.mobile-app .settings-heading>div{min-width:0}.mobile-app .settings-close{width:44px;height:44px;flex:0 0 44px}.mobile-app .game-spectators{left:calc(var(--phone-left) + 52px);top:112px;right:auto;max-width:220px}.mobile-hand{position:absolute;left:0;right:0;bottom:0;z-index:18;padding:0 var(--phone-right) var(--phone-bottom) var(--phone-left);background:linear-gradient(transparent,#0a2028ed 35%,#081820);pointer-events:none}.mobile-hand-actions{min-height:44px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;color:#fff2c7;font-size:12px}.mobile-hand-actions button{pointer-events:auto;min-height:40px;padding:7px 13px;border:1px solid #d2b36a;border-radius:9px;font-weight:600}.mobile-hand-actions span{text-shadow:0 2px 5px #000}.mobile-board-ends{padding:7px 9px;border:1px solid #9f8e5b55;border-radius:7px;background:#0e2630d9;color:#f1d593;white-space:nowrap}.mobile-place{background:linear-gradient(#ffe6a7,#ceac62);color:#272319}.mobile-cancel{background:var(--control-gold-bg);color:var(--control-gold-text);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.mobile-tiles{display:flex;justify-content:center;gap:6px;max-width:100%;overflow-x:auto;padding:5px 4px 3px;pointer-events:auto;touch-action:pan-x}.mobile-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:0 0 46px;width:46px;height:84px;min-height:84px;border:2px solid #b6b1a2;border-radius:6px;padding:2px 3px;background:linear-gradient(110deg,#f9f6eb,#eeebde 65%,#dedacd);color:#111211;box-shadow:inset 1px 1px 1px #fff,0 3px #8c8778,0 4px 5px #0006}.mobile-tile svg{width:36px;height:36px;flex-shrink:0;display:block}.mobile-tile:after{content:"";position:absolute;left:2px;right:2px;top:calc(50% - 1px);height:2px;background:#33342e;box-shadow:0 1px #fff9}.mobile-tile[aria-pressed=true]{border-color:#ffe292;outline:2px solid #d9ae42;transform:translateY(-3px)}.mobile-tile:disabled{opacity:1;cursor:default}.mobile-arrange{background:var(--control-gold-bg);color:var(--control-gold-text);border-color:var(--control-gold-border);box-shadow:var(--control-gold-shadow)}.mobile-arrange:disabled{opacity:.5}.mobile-arrange-hint{flex:1;min-width:70px;text-align:center}.mobile-app .mobile-tiles.organizing,.mobile-app .mobile-tiles.organizing .mobile-tile{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.mobile-tiles.organizing{position:relative;overscroll-behavior:contain}.mobile-tiles.organizing .mobile-tile{cursor:grab}.mobile-tiles .mobile-tile.dragging{z-index:2;cursor:grabbing;box-shadow:0 0 0 2px #ffe292,0 6px 9px #0008}.mobile-tile.drop-before:before{content:"";position:absolute;left:-4px;top:-4px;bottom:-4px;width:3px;border-radius:2px;background:#ffe292}.mobile-tiles.drop-end .mobile-tile:last-child:before{content:"";position:absolute;right:-4px;top:-4px;bottom:-4px;width:3px;border-radius:2px;background:#ffe292}.mobile-hand-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media (orientation:landscape) and (max-height:550px){.mobile-app .by-main{width:min(620px,100%);display:grid;grid-template-columns:180px minmax(280px,1fr);grid-template-areas:"logo mode" "logo player" "logo rank" "logo actions" "caption caption";column-gap:34px;row-gap:4px;padding:4px 0;margin:auto}.mobile-app .by-logo{grid-area:logo;width:180px;max-width:100%}.mobile-app .by-mode{grid-area:mode;margin:0;font-size:9px}.mobile-app .by-player{grid-area:player;width:100%;margin:0;height:36px}.mobile-app .by-menu-rank{grid-area:rank;font-size:10px}.mobile-app .by-actions{grid-area:actions;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0}.mobile-app .by-actions button,.mobile-app .by-actions .by-play{min-height:52px;font-size:12px;padding:8px;letter-spacing:0}.mobile-app .by-actions button>span{display:none}.mobile-app .by-actions button{gap:8px}.mobile-app .by-actions button>.by-option-icon{display:grid;flex:0 0 28px;width:28px}.mobile-app .by-option-icon .domino-icon{width:31px;height:34px}.mobile-app .by-caption{grid-area:caption;margin:6px 0;font-size:9px}.mobile-app .by-join,.mobile-app .by-error{grid-column:1/-1}.mobile-app .by-lobby-content{padding-top:4px;width:min(640px,100%)}.mobile-app .by-lobby-logo{display:none}.mobile-app .by-lobby h1{margin:3px 0 6px;font-size:16px}.mobile-app .by-lobby-hint{margin:5px 0 9px}.mobile-app .by-seat{min-height:62px!important;padding:7px!important}.mobile-app .by-lobby-actions{margin-top:10px}.mobile-app .by-lobby-actions .by-play{min-height:44px;font-size:16px}.mobile-app .by-lobby-wait{margin:7px 0}.mobile-app .by-sub-logo{display:none}.mobile-app .by-sub-content{padding:6px 0;width:min(650px,100%)}.mobile-app .by-sub-content>h1{font-size:18px;margin:8px 0}.mobile-app .settings-shell{margin:8px 0}.mobile-app .settings-page .settings-layout{grid-template-columns:160px minmax(0,1fr)}.mobile-app .settings-layout nav{display:block;overflow:visible}.mobile-app .settings-layout nav button{width:100%}}@media (orientation:landscape) and (max-height:360px){.mobile-app .by-main{grid-template-columns:146px minmax(280px,1fr);column-gap:28px;row-gap:1px;padding:0}.mobile-app .by-logo{width:146px}.mobile-app .by-player{height:28px;margin:0;padding:2px 10px}.mobile-app .by-menu-rank{margin:0;font-size:9px;height:18px}.mobile-app .by-actions{margin:2px 0}.mobile-app .by-actions button,.mobile-app .by-actions .by-play{min-height:44px;height:44px;padding:6px 8px}.mobile-app .by-caption{margin:2px 0;font-size:8px}.mobile-app .by-tools button{gap:4px;font-size:10px}.mobile-app .by-tools button>span{height:26px;width:30px}.mobile-app .by-tools .domino-icon{height:26px;width:26px}}@media (orientation:portrait){.mobile-app .settings-layout{grid-template-columns:minmax(0,1fr)}.mobile-app .settings-layout nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px;border-right:0;border-bottom:1px solid #243a2820;overflow:visible}.mobile-app .settings-layout nav button{width:100%;min-width:0;min-height:64px;margin:0;padding:7px 4px;flex-direction:column;justify-content:center;gap:4px;font-size:12px;text-align:center}.mobile-app .settings-layout nav .domino-icon{width:26px;height:26px}.mobile-app .settings-layout nav small,.mobile-app .settings-layout nav i,.mobile-app .settings-local{display:none}.mobile-app .by-main{padding:8px 0}.mobile-app .by-logo{width:clamp(145px,23dvh,205px)}.mobile-app .by-mode{margin:4px 0 10px}.mobile-app .by-actions{gap:9px}.mobile-app .by-actions button,.mobile-app .by-actions .by-play{min-height:50px;font-size:16px}.mobile-app .by-caption{margin:12px 0 0}.mobile-app .by-lobby-logo{width:72px}.mobile-app .by-lobby-content{padding:8px 0}.mobile-app .by-team-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.mobile-app .by-team-panel{padding:8px}.mobile-app .by-team-panel h2{font-size:17px}.mobile-app .by-team-panel .by-seat{padding:8px 5px;gap:5px;flex-wrap:nowrap;min-height:78px}.mobile-app .by-seat-avatar{display:none}.mobile-app .by-seat-info strong{font-size:12px}.mobile-app .by-lobby-actions{margin-top:12px}.mobile-app .scoreboard{top:var(--phone-top);gap:5px}.mobile-app .scoreboard .team-score{min-width:52px;padding:5px}.mobile-app .scoreboard>div:first-child{max-width:44px;font-size:10px!important;text-align:center}.mobile-app .leave-game-open{top:var(--phone-top);font-size:10px;padding:7px 9px}.mobile-app .my-hand-count{top:calc(var(--phone-top) + 52px)}.mobile-app .turn-indicator{top:calc(var(--phone-top) + 50px);width:max-content;max-width:calc(100% - 136px);padding:8px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-app .turn-indicator.mine{font-size:14px}.mobile-app .mobile-settings-button{top:calc(var(--phone-top) + 92px)}.mobile-app .widget-stack{top:calc(var(--phone-top) + 92px);left:calc(var(--phone-left) + 52px);max-width:calc(100vw - 80px);z-index:24}.mobile-app .widget-stack details[open]{max-height:calc(100dvh - 200px);overflow:auto}.mobile-app .room-text-chat.chat-in-game:not(.chat-open){top:calc(var(--phone-top) + 92px);bottom:auto}.mobile-app .camera-view-button{top:calc(var(--phone-top) + 142px);min-width:100px}.mobile-app .camera-inspect-button{left:var(--phone-left);right:auto;max-width:46%}.mobile-app .game-status-notice{top:calc(var(--phone-top) + 194px)!important;width:calc(100% - 24px);font-size:12px;z-index:26}.mobile-app .mobile-hand{--portrait-tile-width:min(36px,calc((100vw - var(--phone-left) - var(--phone-right) - 27px)/10));padding-top:8px}.mobile-app .mobile-hand-actions{height:auto;min-height:48px;gap:6px}.mobile-app .mobile-hand-actions button{padding:7px 8px;font-size:12px;line-height:1.3;min-width:0}.mobile-app .mobile-hand-actions .mobile-place{flex:1;max-width:175px}.mobile-app .mobile-hand-actions>span{min-width:0;text-align:center}.mobile-app .mobile-tiles{display:flex;gap:3px;overflow:visible;padding:5px 0 4px}.mobile-app .mobile-tile{flex:0 0 var(--portrait-tile-width);width:var(--portrait-tile-width);height:auto;min-height:48px;aspect-ratio:1/2;gap:2px;padding:1px;border-width:1px;border-radius:4px}.mobile-app .mobile-tile svg{width:calc(100% - 2px);height:auto;aspect-ratio:1}.mobile-app .round-banner{width:calc(100% - 24px);max-height:calc(100dvh - 40px);padding:18px 14px;font-size:14px}.mobile-app .round-banner .winner{font-size:21px}.mobile-app .round-banner button{min-width:0;overflow-wrap:anywhere}.mobile-app .game-spectators{top:calc(var(--phone-top) + 194px);left:var(--phone-left);max-width:calc(100% - 24px)}.mobile-app .opening-draw-notice{top:auto;bottom:var(--phone-bottom);width:calc(100% - 24px);padding:10px;font-size:12px}.mobile-app .spectator-cameras{bottom:var(--phone-bottom);padding:10px}.mobile-app .spectator-camera-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (orientation:portrait) and (max-height:700px){.mobile-app .by-logo{width:145px}.mobile-app .by-player{margin-bottom:8px}}
