html{font-size:16px}body,#root{height:100%;margin:0;padding:0}body{background-color:#fff4d1;color:#10181c;overflow:hidden}@media(max-width:720px){html{font-size:15px}}@media(max-width:480px){html{font-size:14px}}html,body,#root{height:100%;margin:0;padding:0}body{color:#12242e;background-color:#fff4d1;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-root{height:100dvh;display:flex;flex-direction:column}.app-bar{flex:0 0 8vh;padding:0 3vh;display:flex;align-items:center;justify-content:space-between;color:#fff;border-radius:0 0 min(30px,3vh) min(30px,3vh);background-color:#56bff3;box-shadow:0 2vh 30px #0000001a;border-bottom:0}.app-main{flex:1 1 auto;min-height:0;padding:8px}.title-root{height:100%;display:flex;justify-content:center;align-items:center;box-sizing:border-box;padding:1.5rem}.title-inner{width:100%;max-width:480px;display:flex;flex-direction:column;align-items:center;gap:1.6rem}.title-logo-wrapper{width:clamp(120px,22vw,150px);height:clamp(120px,22vw,150px);border-radius:50%;overflow:hidden;background-color:#fffaf0;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #0000001f}.title-logo-img{width:100%;height:100%;object-fit:cover}.title-text-block{text-align:center}.title-main{margin:0;font-size:clamp(1.8rem,4vw,2.3rem);font-weight:700}.title-sub{margin-top:.8rem;font-size:clamp(.95rem,2.2vw,1.1rem);color:#555}.title-form-block{margin-top:.5rem;display:flex;flex-direction:column;align-items:center;gap:.9rem}.title-name-label{display:flex;flex-direction:column;align-items:center;gap:.35rem}.title-name-caption{font-size:.95rem;color:#444}.title-name-input{width:min(320px,80vw);padding:.6rem .8rem;border-radius:999px;border:1px solid #d08a2a;font-size:1rem;text-align:center;box-sizing:border-box;background-color:#fffdf7;margin-bottom:3rem}.title-name-input:focus{outline:none;border-color:#d0a963;box-shadow:0 0 0 2px #d0a96347}.title-mode-buttons{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}.title-mode-button{min-width:130px;padding:.55rem 1.2rem;border-radius:10px;border:1px solid transparent;font-size:.98rem;cursor:pointer;white-space:nowrap;box-shadow:0 1px 3px #0000001f}.title-mode-button--primary{background-color:#fff;border-color:#d0a963;color:#4b2a00}.title-mode-button--primary:hover:not(:disabled){background-color:#fff6e5}.title-mode-button--secondary{background:linear-gradient(135deg,#ffd27f,#ffb74d);border-color:#d08a2a;color:#4b2a00;font-weight:600}.title-mode-button--secondary:hover:not(:disabled){background:linear-gradient(135deg,#ffce70,#ffae3a)}.title-mode-button:disabled{opacity:.5;cursor:default;box-shadow:none}@media(max-width:480px){.title-root{padding-inline:1rem}.title-inner{gap:1.3rem}}.room-setup-root{height:100%;display:flex;flex-direction:column;padding:.9rem 1.2rem 1rem;box-sizing:border-box;color:#333}.room-setup-back-row{flex:0 0 auto;display:flex;align-items:center;margin-bottom:2rem}.room-setup-back-button{padding:.25rem .7rem;font-size:.9rem;border-radius:999px;border:1px solid #d0a963;background-color:#fffaf0;cursor:pointer}.room-setup-back-button:hover{background-color:#ffefcf}.room-setup-main{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center}.room-setup-panel{width:min(420px,90vw);padding:1.7rem 1.4rem 1.5rem;border-radius:14px;border:1px solid rgba(0,0,0,.06);background-color:#fffaf0;box-shadow:0 2px 6px #0000000f;text-align:center}.room-setup-emoji{font-size:clamp(2.6rem,7vw,3.4rem);margin-bottom:.5rem}.room-setup-title{font-size:clamp(1.7rem,3.4vw,2rem);font-weight:700;margin:0 0 .6rem}.room-setup-player{margin:0 0 .3rem;font-size:.95rem}.room-setup-description{margin:0 0 1rem;font-size:.9rem;color:#555}.room-setup-form{margin-top:.5rem;display:flex;flex-direction:column;gap:.8rem;align-items:center}.room-setup-label{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.35rem}.room-setup-label-text{font-size:.95rem;font-weight:600}.room-setup-input{width:100%;max-width:320px;padding:.6rem .75rem;font-size:1.2rem;letter-spacing:.18em;text-transform:uppercase;text-align:center;border-radius:999px;border:1px solid #d0a963;background-color:#fff;box-sizing:border-box}.room-setup-input::placeholder{color:#c0a070}.room-setup-submit{margin-top:.4rem;padding:.6rem 2.2rem;border-radius:999px;border:1px solid #d08a2a;background:linear-gradient(135deg,#ffd27f,#ffb74d);color:#4b2a00;font-size:1.05rem;font-weight:600;cursor:pointer;box-shadow:0 2px 4px #0000001f}.room-setup-submit:disabled{opacity:.5;cursor:default;box-shadow:none}.room-setup-submit:not(:disabled):hover{background:linear-gradient(135deg,#ffce70,#ffae3a)}@media(max-width:480px){.room-setup-root{padding-inline:1rem}.room-setup-panel{padding-inline:1.1rem}}.lobby-root{height:100%;display:flex;flex-direction:column;padding:1.2rem 1.5rem 1rem;box-sizing:border-box;color:#333;overflow-y:auto}.lobby-header{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:1.2rem}.lobby-icon{font-size:clamp(3rem,8vw,4.5rem);margin-bottom:.4rem}.lobby-wait-text{display:flex;flex-direction:column;align-items:center}.lobby-wait-main{font-size:clamp(1.4rem,3vw,1.8rem);font-weight:700}.lobby-wait-count{margin-top:.2rem;font-size:.9rem;color:#555}.lobby-room-code{font-size:1.2rem;font-weight:600;color:#4b2a00}.lobby-room-code-row{margin-top:1rem;display:flex;align-items:center;gap:.8rem}.lobby-copy-toast{position:fixed;left:50%;bottom:1.5rem;transform:translate(-50%);padding:.5rem 1rem;border-radius:999px;background-color:#000c;color:#fff;font-size:.9rem;z-index:999}.invitation-copy-button{padding:.3rem;font-size:.8rem;border-radius:5px;border:2px solid #d0a963;background-color:#fffaf0;cursor:pointer}.invitation-copy-button:hover{background-color:#ffefcf}.lobby-host-message{margin-top:.7rem;font-size:.97rem;color:#7a4b00}.lobby-players-section{flex:0 0 auto;margin-top:.8rem;margin-bottom:1.2rem}.lobby-players-panel{height:min(36vh,320px);min-height:180px;border-radius:12px;border:1px solid rgba(0,0,0,.08);background-color:#fffaf0;padding:.8rem 1rem;display:flex;flex-direction:column;box-sizing:border-box;max-width:min(500px,80vw);margin-inline:auto}.lobby-players-panel--normal{max-width:min(500px,80vw)}.lobby-players-panel--wide{max-width:min(720px,80vw)}.lobby-players-title{font-size:1.2rem;font-weight:600;margin-bottom:.5rem}.lobby-players-columns{flex:1 1 auto;min-height:0;display:flex;gap:1rem;justify-content:center}.lobby-player-column{flex:1 1 0;display:flex;flex-direction:column;justify-content:space-evenly}.lobby-player-slot{flex:0 0 18%;display:flex;align-items:center;padding:.2rem .7rem;border-radius:999px;background-color:#fff;border:1px solid rgba(0,0,0,.05);font-size:.98rem;box-sizing:border-box;min-width:0}.lobby-player-name{display:block;max-width:14rem;color:#4b2a00;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.2rem;margin-left:1.5rem}.lobby-players-single-wrapper{flex:1 1 auto;min-height:0;height:100%}.lobby-players-single-fixed{height:100%;display:flex;flex-direction:column;justify-content:space-evenly}.lobby-players-single-fixed .lobby-player-slot{width:100%}.lobby-players-single-scroll-list{height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:.3rem;padding-right:.25rem}.lobby-players-single-scroll-list .lobby-player-slot{width:100%}.lobby-host-section{flex:0 0 auto;border-radius:12px;border:1px solid rgba(0,0,0,.08);background-color:#fffaf0;padding:.9rem 1.1rem 1rem;display:flex;flex-direction:column;gap:.7rem;width:min(320px,60vw);margin-inline:auto}.lobby-host-title{font-weight:700;font-size:1rem;margin-bottom:.2rem}.lobby-cardcount-row{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.lobby-cardcount-label{font-size:.95rem}.lobby-cardcount-value{font-size:1.05rem;font-weight:600}.lobby-card-slider{width:100%;-webkit-appearance:none;appearance:none;height:6px;border-radius:999px;background:linear-gradient(90deg,#ffd27f,#ffa94d);outline:none;margin-top:.2rem}.lobby-card-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #e5a63a;cursor:pointer;box-shadow:0 0 0 2px #e5a63a33}.lobby-card-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #e5a63a;cursor:pointer;box-shadow:0 0 0 2px #e5a63a33}.lobby-card-slider-scale{display:flex;justify-content:space-between;font-size:.8rem;color:#777}.lobby-start-button{margin-top:.5rem;align-self:center;padding:.55rem 1.6rem;border-radius:999px;border:1px solid #d08a2a;background:linear-gradient(135deg,#ffd27f,#ffb74d);color:#4b2a00;font-size:1rem;font-weight:600;cursor:pointer;box-shadow:0 2px 4px #0000001f}.lobby-start-button:hover{background:linear-gradient(135deg,#ffce70,#ffae3a)}@media(max-width:480px){.lobby-root{padding-inline:1rem}.lobby-players-panel{padding-inline:.75rem}.lobby-player-slot{font-size:.9rem;padding-inline:.5rem}.lobby-host-section{padding-inline:.75rem}}.game-board-root{height:100%;display:flex;flex-direction:column;color:#333}.gb-header{flex:0 0 10%;min-height:48px;display:flex;align-items:center;padding:0 1rem}.gb-header-inner{display:flex;align-items:center;justify-content:center;width:100%;gap:.75rem}.gb-header-title{flex:0 0 auto;text-align:center;font-weight:600;font-size:clamp(1.5rem,2.8vw,1.8rem)}.gb-header-label{margin:0 .1rem}.gb-header-player-name{font-weight:700}.gb-header-timer-container,.gb-header-skip-button-container{flex:1 1 0;display:flex}.gb-header-timer-container{justify-content:flex-start}.gb-header-time--danger{color:#e39f00}.gb-header-time--over{color:#c80000}.gb-header-skip-button-container{justify-content:flex-end}.gb-timer-button{flex-shrink:0;padding:.4rem .75rem;font-size:.9rem;border-radius:6px;border:1px solid #d0a963;background-color:#ffe9b8;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:.25rem}.gb-timer-button:hover{background-color:#ffdd91}.gb-timer-icon{font-size:1rem}.gb-skip-button{flex-shrink:0;padding:.4rem .75rem;font-size:.9rem;border-radius:6px;border:1px solid #d0a963;background-color:#ffe9b8;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:.25rem}.gb-skip-button:hover{background-color:#ffdd91}.gb-skip-icon{font-size:1rem}@media(max-width:720px){.gb-skip-label,.gb-timer-label{display:none}.gb-skip-button,.gb-timer-button{padding:.4rem .2rem}.gb-skip-icon,.gb-timer-icon{font-size:2rem}}.gb-top-zone{flex:1 1 auto;min-height:0;padding:0 .5rem}.gb-top-inner{height:100%;display:flex;flex-direction:column;gap:.75rem;margin:0 4%}@media(min-width:720px){.gb-top-inner{flex-direction:row;align-items:stretch;margin-left:5%;margin-right:5%}}.gb-deck-panel{flex:0 0 auto;padding:.75rem;border-radius:10px;display:flex;flex-direction:column;gap:.4rem}@media(min-width:720px){.gb-deck-panel{max-width:min(200px,20vw)}}.gb-deck-labels{display:flex;flex-direction:column}.gb-deck-title{font-size:1.3rem;font-weight:700;margin-bottom:.1rem}.gb-deck-count{font-size:.9rem;color:#555}.gb-deck-image-wrapper{margin-top:.5rem;width:100%;aspect-ratio:2.9 / 4;border:none;padding:0;background:transparent;overflow:hidden;position:relative;cursor:default}.gb-deck-image-wrapper:disabled{opacity:.5}.gb-deck-image-wrapper--active{cursor:pointer}.gb-deck-image{width:100%;height:100%;object-fit:cover;display:block;object-fit:contain}@media(max-width:719px){.gb-deck-panel{width:100%;max-width:none;flex-direction:row;align-items:center;justify-content:center;gap:4rem}.gb-deck-labels{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start}.gb-deck-image-wrapper{width:min(180px,20vw);aspect-ratio:4 / 2.9}.gb-deck-helper{flex:1 1 auto;font-size:.8rem;line-height:1.3}.gb-deck-image{transform:rotate(90deg) scale(1.4);transform-origin:center center}}.gb-deck-image-overlay{position:absolute;inset:0;background:#fff6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem;opacity:0;transition:opacity .18s ease-out;pointer-events:none}.gb-deck-hand-icon{width:min(120px,12vw);max-width:120px;height:auto}.gb-deck-image-wrapper--active:hover .gb-deck-image-overlay{opacity:.8}.gb-deck-overlay-label{font-size:.95rem;font-weight:700;color:#4b2a00;text-shadow:0 0 4px rgba(255,255,255,.9)}@media(max-width:719px){.gb-deck-hand-icon{height:50px;width:auto}.gb-deck-overlay-label{font-size:.65rem;font-weight:700;color:#4b2a00;text-shadow:0 0 4px rgba(255,255,255,.9)}}.gb-deck-button{margin-top:.5rem;padding:.5rem .75rem;font-size:.95rem;border-radius:8px;border:1px solid #3a7bd5;background-color:#4f9dff;color:#fff;cursor:pointer}.gb-deck-button:disabled{background-color:#c8d8f0;border-color:#a8b8d0;cursor:default}.gb-deck-helper{margin-top:.4rem;font-size:.8rem;color:#666}.gb-discards-panel{flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column;gap:.4rem}.gb-discards-header{font-size:1.3rem;font-weight:700;margin-left:.2rem}.gb-discards-row{flex:1 1 auto;min-height:0;display:flex;gap:.75rem;padding-bottom:.25rem;overflow-x:auto}.gb-discard-column{min-width:180px;max-width:260px;flex:0 0 auto;border-radius:10px;background-color:#fdfaf5;border:1px solid rgba(0,0,0,.06);padding:.5rem;display:flex;flex-direction:column}.gb-discard-column--active{border-color:#f2b55f;box-shadow:0 0 0 2px #f2b55f40}.gb-discard-player-name{font-weight:600;font-size:1.2rem;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem}.gb-discard-badge{font-size:.7rem;color:#b15c00;background-color:#ffe3b8;padding:.05rem .3rem;border-radius:999px}.gb-discard-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding:.25rem;border-radius:6px;background-color:#fff}.gb-discard-empty{font-size:.8rem;color:#888}.gb-discard-card{width:100%;text-align:left;padding:.3rem .4rem;margin-bottom:.3rem;border-radius:6px;border:1px solid #ddd;background-color:#fff;cursor:pointer}.gb-discard-card:disabled{cursor:default;background-color:#f7f7f7;color:#aaa}.gb-discard-card-jp{font-weight:600;font-size:.85rem}.gb-discard-card-en{font-size:.75rem;color:#555}.gb-instruction-zone{flex:0 0 3%;min-height:2rem;display:flex;align-items:center;justify-content:center}.gb-instruction-text{font-size:1.2rem;color:#0070c9}.gb-instruction-placeholder{height:1.2rem}.gb-hand-zone{flex:0 0 25%;min-height:120px;padding:.5rem 1rem .75rem;display:flex;flex-direction:column}.gb-hand-header{display:flex;align-items:center;gap:.5rem;font-weight:600;margin-bottom:.4rem}.gb-hand-turn-indicator{font-size:.8rem;color:#b15c00;background-color:#ffe3b8;padding:.1rem .4rem;border-radius:999px}.gb-hand-cards-row{flex:1 1 auto;min-height:0;display:flex;justify-content:center;align-items:center;gap:.5rem}.gb-hand-card-slot{flex:0 0 auto;width:min(calc((100% - 5 * .5rem) / 6),calc(20vh * 5 / 6));aspect-ratio:5 / 6;border-radius:10px}.gb-hand-card-slot--empty{border:1px dashed rgba(0,0,0,.15);background-color:#fff6}.gb-hand-card-button{width:100%;height:100%;border:1px solid #d0a963;background-color:#fffaf0;padding:0;cursor:pointer;overflow:hidden;display:flex;justify-content:center;align-items:center;position:relative}.gb-hand-card-button:disabled{background-color:#f0efe9;border-color:#ccc;cursor:default}.gb-hand-card-text{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:4px;font-size:clamp(9px,1.1vw,13px);font-weight:700;color:#4a2f16;line-height:1.3;word-break:break-all;pointer-events:none}.gb-hand-card-overlay{position:absolute;inset:0;background:#ff000040;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .18s ease-out;pointer-events:none}.gb-hand-card-trash-icon{width:60%;max-width:100px;height:auto}.gb-hand-card-button--discardable:hover .gb-hand-card-overlay{opacity:.8}@media(max-width:650px){.gb-hand-zone{flex:0 0 40%;padding-inline:.5rem}.gb-hand-cards-row{display:grid;grid-template-columns:repeat(3,auto);justify-content:center;column-gap:.4rem;row-gap:.4rem;align-content:center}.gb-hand-card-slot{width:min(22vw,calc(18vh * 5 / 6));aspect-ratio:5 / 6;border-radius:10px}}.gb-timer-dialog-backdrop{position:fixed;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:100}.gb-timer-dialog{background-color:#fffaf0;border-radius:12px;box-shadow:0 8px 24px #00000040;padding:1rem 1.25rem 1.1rem;width:min(320px,90vw);box-sizing:border-box}.gb-timer-dialog-title{font-size:1.1rem;font-weight:700;margin-bottom:.75rem}.gb-timer-toggle{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.gb-timer-seconds-label{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem;font-size:.95rem}.gb-timer-seconds-input{width:5rem;padding:.25rem .4rem;border-radius:4px;border:1px solid #ccc}.gb-timer-dialog-actions{display:flex;justify-content:flex-end;gap:.5rem}.gb-timer-dialog-actions button{padding:.35rem .8rem;border-radius:6px;border:1px solid #d0a963;background-color:#ffe9b8;cursor:pointer}.gb-timer-dialog-actions button:last-child{background-color:#ffd27f}.gb-timer-dialog-actions button:hover{filter:brightness(1.03)}.result-root{display:flex;flex-direction:column;padding:.75rem 1.2rem 1rem;box-sizing:border-box;color:#333}.result-actions-row{flex:0 0 auto;min-height:52px;display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.result-btn{padding:.55rem 1.1rem;border-radius:999px;border:1px solid transparent;font-size:1rem;cursor:pointer;white-space:nowrap}.result-btn-primary{background-color:#ffd27f;border-color:#e5a63a}.result-btn-primary:hover{background-color:#ffca66}.result-btn-secondary{background-color:#fff;border-color:#d0a963}.result-btn-secondary:hover{background-color:#fff6e5}.result-header{flex:0 0 auto;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-bottom:.5rem}.result-header-main{font-size:clamp(1.6rem,3.4vw,2rem);font-weight:700;margin-bottom:.25rem}.result-header-sub{font-size:clamp(1.05rem,2.2vw,1.25rem);color:#555}.result-my-values{flex:0 0 auto;min-height:140px;margin-top:.5rem;display:flex;align-items:center;flex-direction:column;margin-bottom:2rem}.result-my-panel{flex:1 1 auto;width:70vw;min-height:0;border-radius:12px;border:4px solid rgba(255,158,78,.3);background-color:#fffaf0;display:flex;flex-direction:column;padding:1rem;overflow:hidden}.result-my-title{font-weight:700;font-size:1.05rem;margin-bottom:.5rem}.result-my-card-rows{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:.4rem}.result-my-card-row{display:flex;justify-content:center;gap:.6rem}.result-my-card-slot{flex:0 0 auto;height:8.5vh;max-height:12vh;aspect-ratio:5 / 6;width:auto;border-radius:10px;overflow:hidden;background-color:#fff;border:2px solid rgba(255,158,78,.3)}.result-my-card-slot--empty{border-style:dashed;background-color:#fff6}.result-my-card-text{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:4px;font-size:clamp(8px,1vw,12px);font-weight:700;color:#4a2f16;line-height:1.3;word-break:break-all}.result-my-card-row--single{flex:1 1 auto;align-items:center}.result-my-card-slot--single{height:15vh;max-height:15vh}@media(max-width:1100px){.result-my-panel{width:90vw}}@media(max-width:900px){.result-my-values{flex:0 0 auto;padding-inline:.75rem}.result-my-card-slot{height:9.5vh;max-height:11vh}}.result-others{flex:0 0 auto;min-height:140px;margin-top:.5rem;display:flex;flex-direction:column;align-items:center}.result-others .result-section-title{font-size:1rem;margin-top:3rem;margin-bottom:.4rem}.result-others-scroll{width:70vw;display:flex;flex-direction:column;gap:1rem}.result-other-column{flex:0 0 auto;min-height:140px;border-radius:12px;background-color:#fdf7eb;border:1px solid rgba(0,0,0,.08);padding:.8rem 1rem .9rem;display:flex;flex-direction:column;overflow-y:auto}.result-other-header{text-align:center;margin-bottom:.35rem}.result-other-name{font-size:1.05rem}.result-other-header-suffix{font-size:.9rem;margin-left:.2rem}.result-other-cards{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:.35rem;align-items:center;padding:.2rem .25rem .4rem}.result-other-card-row{display:flex;justify-content:center;gap:.25rem}.result-other-card-row--single{height:100%}.result-other-card-slot{flex:0 0 auto;height:8.5vh;max-height:12vh;width:auto;aspect-ratio:5 / 6;border-radius:10px;overflow:hidden;background-color:#fff;border:1px solid rgba(0,0,0,.08)}.result-other-card-slot--single{height:12vh;max-height:12vh}.result-other-card-slot--empty{border-style:dashed;background-color:#fff9}.result-other-card-text{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:3px;font-size:clamp(7px,.85vw,11px);font-weight:600;color:#4a2f16;line-height:1.3;word-break:break-all}@media(max-width:1100px){.result-others-scroll{width:90vw}}@media(max-width:900px){.result-other-card-slot{height:9.5vh;max-height:12vh}}.result-root{padding-bottom:1.1rem}.bottom-spacer{flex:0 0 auto;min-height:100px}.analyze-progress-container{margin:.5rem 0 .25rem;display:flex;flex-direction:column;gap:.4rem}.analyze-progress-bar-track{width:100%;height:8px;background:#e0d5c8;border-radius:999px;overflow:hidden}.analyze-progress-bar-fill{height:100%;background:linear-gradient(90deg,#e07b39,#c0392b);border-radius:999px;transition:width .4s ease-out}.analyze-progress-message{font-size:.85rem;color:#666;text-align:right;min-height:1.2em}.analyze-msg{margin:.4rem 0;font-size:14px;opacity:.9}.analyze-msg--error{color:#c0392b;font-weight:600}.mini-spinner{width:14px;height:14px;margin-right:8px;border-radius:50%;border:2px solid rgba(0,0,0,.2);border-top-color:#0009;display:inline-block;animation:spin .8s linear infinite;vertical-align:-2px}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px;z-index:9999}.modal{background:#fff;width:min(920px,100%);max-height:92vh;border-radius:16px;overflow:auto;padding:14px}.modal-header{display:flex;align-items:center;justify-content:space-between}.modal-title{font-size:18px;font-weight:800}.modal-close{border:none;background:transparent;font-size:26px;cursor:pointer}.modal-image{display:block;max-height:70vh;width:auto;margin:10px auto 0}.modal-actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.modal-text{margin-top:12px;white-space:pre-wrap}
