:root{font-family:Noto Sans JP,Hiragino Kaku Gothic ProN,Yu Gothic,system-ui,sans-serif;color:#202923;background:#f4f6f5;font-synthesis:none;font-size:16px;font-variant-numeric:tabular-nums;--paper: #ffffff;--surface: #f4f6f5;--ink: #202923;--muted: #5d6b63;--line: #dce2de;--action: #17634b;--selected: #eaf3ee;--red: #b52e40;--warning: #824713;--warning-surface: #fbf4e8;--radius: 8px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.42}button,summary,a{-webkit-tap-highlight-color:transparent}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--action);outline-offset:3px}button{transition:background-color .14s ease-out,border-color .14s ease-out}button:hover:not(:disabled){background-color:var(--surface)}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}h2,h3{font-size:1rem;font-weight:600;line-height:1.6}p{line-height:1.7}p+p{margin-top:8px}strong{font-weight:600}[hidden]{display:none!important}.ui-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.muted,.nlhe-detail-empty{color:var(--muted)}.nlhe-app-shell{width:min(100%,560px);min-height:100dvh;margin:0 auto;background:var(--paper);container-type:inline-size}.app-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:8px 20px;border-bottom:1px solid var(--line)}.header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-left:auto}.settings-button{min-width:44px}.preview-setting{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;cursor:pointer;line-height:1.6}.preview-setting input{appearance:none;flex:0 0 48px;width:48px;height:28px;margin:8px 0;border:1px solid var(--muted);border-radius:20px;background:var(--muted);cursor:pointer}.preview-setting input:before{content:"";display:block;width:20px;height:20px;margin:3px;border-radius:50%;background:var(--paper)}.preview-setting input:checked{background:var(--action);border-color:var(--action)}.preview-setting input:checked:before{transform:translate(20px)}.preview-setting input:focus-visible{outline:3px solid var(--action);outline-offset:3px}.app-header h1{flex-shrink:0;font-size:1.125rem;font-weight:600}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-radius:4px;background:none;padding:8px 0;font-size:.875rem;text-align:left;line-height:1.5}.card-workspace{position:sticky;top:0;z-index:2;padding:20px;background:var(--paper);border-bottom:1px solid var(--line)}.hole-line{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px}.hole-line h2{white-space:nowrap;font-size:.875rem;font-weight:500}.hole-cards{display:flex;gap:8px}.reset-button{white-space:nowrap;color:var(--muted);margin-left:auto}.board-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(56px,1fr) minmax(56px,1fr);gap:12px}.board-group{min-width:0;display:flex;flex-direction:column}.board-cards{display:flex;gap:4px}.board-cards>div{flex:1;min-width:0}.street-button{display:block;flex:1;width:100%;min-height:44px;margin:0 0 8px;padding:4px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;font-size:.875rem;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.street-button[aria-current=step]{border-bottom-color:var(--action);color:var(--action);font-weight:600}.street-button:not([aria-current]):not(:disabled):hover{border-bottom-color:var(--line)}.future-card{opacity:.45}.past-note{font-size:.875rem;margin-top:12px;color:var(--muted)}.nlhe-card,.nlhe-card-slot{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;position:relative;border-radius:var(--radius);border:1px solid #b8c4bc;background:#fff;color:var(--ink);padding:4px;font-family:Arial,sans-serif;line-height:1;vertical-align:middle}button.nlhe-card{box-shadow:0 2px #e6eae7}.nlhe-card--red{color:var(--red)}.nlhe-card__rank{font-size:clamp(24px,1.75rem,32px);font-weight:600}.nlhe-card__suit{font-size:clamp(20px,1.375rem,26px);margin-top:4px}.nlhe-card--compact,.nlhe-card-slot--compact{width:100%;height:72px}.hole-cards .nlhe-card,.hole-cards .nlhe-card-slot{width:52px;height:72px}.nlhe-card-slot--empty{border-style:dashed;background:var(--surface);border-color:#9caba2}.nlhe-card-slot--empty:hover:not(:disabled){background:var(--selected);border-color:var(--action)}.nlhe-card-slot--error,.nlhe-card--error{border:2px solid var(--red)}.nlhe-card--small,.nlhe-card-slot--small{width:48px;height:64px}.nlhe-card--mini{width:24px;height:36px;border-radius:4px;padding:2px}.nlhe-card--mini .nlhe-card__rank{font-size:16px}.nlhe-card--mini .nlhe-card__suit{font-size:12px;margin-top:2px}.nlhe-inline-chip{display:inline-flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:4px;padding:2px 4px;color:var(--ink);font-weight:600;font-family:Arial,sans-serif;white-space:nowrap;line-height:1.5}.nlhe-inline-chip--red{color:var(--red)}.nlhe-rank-card,.nlhe-suit-card{background:#fff;border:1px solid #b8c4bc;min-width:36px;min-height:44px;padding:4px 8px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font:600 1.25rem Arial,sans-serif}.nlhe-suit-card--red{color:var(--red)}.analysis-area{min-width:0}.start-analysis{padding:32px 20px}.start-analysis h2{font-size:1.25rem;font-weight:500;margin-bottom:8px}.start-analysis p{color:var(--muted);font-size:.875rem;margin-bottom:24px}.nlhe-btn{min-height:48px;border-radius:var(--radius);border:1px solid var(--line);padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:500;line-height:1.5}.nlhe-btn--primary{background:var(--action);border-color:var(--action);color:#fff}.nlhe-btn--primary:hover:not(:disabled){background:#104e3a}.nlhe-btn--secondary{background:var(--surface)}.nlhe-btn--full{width:100%}.analyze-incomplete{display:flex;margin:8px auto 0;color:var(--muted);border:0}.result-content{padding:0 20px}.current-hand-section{padding:24px 0}.current-hand{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;padding:0;border:0;border-radius:4px;background:none}.current-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-bottom:8px}.section-label{font-size:.875rem;color:var(--muted)}.current-title{font-size:1.75rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.current-context{font-size:.875rem;color:var(--muted);margin-top:8px}.current-context:empty{display:none}.current-detail{display:inline-flex;gap:4px;align-items:center;font-size:.875rem;color:var(--action);min-height:28px}.current-detail .ui-icon{width:16px;height:16px}.current-five{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}.current-kicker{font-size:.875rem;color:var(--muted)}.outcome{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;align-items:center;gap:12px;width:100%;padding:16px;border:0;border-radius:var(--radius);text-align:left}.outcome>span{display:flex;flex-direction:column;gap:4px;font-size:.875rem;line-height:1.65}.outcome>.ui-icon:last-child{width:16px}.outcome strong{font-size:1rem;font-weight:500}.outcome-label{font-size:.875rem}.outcome--caution{background:var(--warning-surface);color:var(--warning)}.outcome--nuts{background:var(--selected);color:var(--action)}.outcome--tie{background:#eef1f3;color:#40535d}.next-risk-link{width:100%;justify-content:space-between;color:var(--muted);font-size:.875rem;margin-top:4px}.detail-link-row{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:56px;padding:16px 0;border:0;border-top:1px solid var(--line);background:none;text-align:left;font-size:1rem;line-height:1.6}.detail-link-row .ui-icon{color:var(--muted);width:16px}.comparison-link{margin-top:16px}.draws-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:24px;margin:16px 0;padding:20px 0;border-top:1px solid var(--line)}.draw-row{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.draw-heading h3{font-size:1rem;font-weight:500}.draw-state{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}.draw-row[data-status=one_card] .draw-state,.draw-row[data-status=made] .draw-state{color:var(--action)}.draw-candidates{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.875rem}.draw-note{font-size:.875rem;color:var(--muted)}.draw-row .text-button{margin-top:auto;min-height:44px;font-size:.875rem;color:var(--action)}.draw-row .ui-icon{width:16px}.made-five{display:flex;flex-wrap:wrap;gap:4px}.draws-grid--quiet{margin-bottom:0;padding-bottom:8px}.draws-ended{font-size:.875rem;color:var(--muted);margin-bottom:24px}.sample-cases{margin:16px 20px 0;padding-bottom:32px;font-size:.875rem;color:var(--muted)}.sample-cases summary{min-height:44px;padding:12px 0;cursor:pointer}.sample-cases>div{display:flex;flex-direction:column}.sample-button{border:0;border-bottom:1px solid var(--line);background:none;padding:12px 0;text-align:left;min-height:44px;line-height:1.6}.loading{display:flex;align-items:center;gap:16px;padding:40px 20px}.loading p{font-size:.875rem;color:var(--muted);margin-top:8px}.loading-mark{width:24px;height:24px;flex-shrink:0;border:2px solid var(--line);border-top-color:var(--action);border-radius:50%;animation:loading-rotate 1s linear infinite}@keyframes loading-rotate{to{transform:rotate(360deg)}}.notice{padding:20px;margin:24px 20px;border-left:3px solid var(--red);border-radius:0 var(--radius) var(--radius) 0;background:#fcf0f1;font-size:1rem;overflow-wrap:anywhere}.notice h2{margin-bottom:8px}.notice button{margin-top:16px}.error-details{font-size:.875rem;color:var(--muted);margin-top:16px}.error-details summary{cursor:pointer;min-height:44px;padding:12px 0}.nlhe-sheet-dialog{padding:0;border:0;background:var(--paper);color:var(--ink);width:min(100%,640px);max-width:100%;height:92dvh;max-height:92dvh;margin:auto auto 0;border-radius:20px 20px 0 0;overflow:hidden}.nlhe-sheet-dialog::backdrop{background:#161f1a70}.nlhe-sheet-container{display:flex;flex-direction:column;height:100%;min-height:0}.nlhe-sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);flex-shrink:0}.nlhe-sheet-titles{min-width:0;align-self:center}.nlhe-sheet-title{font-size:1.125rem;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.nlhe-sheet-subtitle{font-size:.875rem;color:var(--muted);margin-top:8px}.nlhe-sheet-close-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}.nlhe-sheet-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:24px 20px calc(24px + env(safe-area-inset-bottom));min-height:0;font-size:1rem;overflow-wrap:anywhere;scrollbar-gutter:stable}.nlhe-sheet-footer{padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);flex-shrink:0;background:var(--paper)}.picker-context{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:.875rem;margin-bottom:12px}.picker-group{display:flex;gap:8px;margin-bottom:20px}.picker-slot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);min-height:56px;padding:8px 12px;font-weight:500}.picker-slot[aria-current=step]{border-color:var(--action);box-shadow:inset 0 -3px var(--action);background:var(--selected)}.picker-slot>.muted{font-size:.875rem;font-weight:400}.nlhe-suit-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}.nlhe-suit-tab{min-height:48px;border:0;border-bottom:2px solid transparent;border-radius:4px 4px 0 0;background:none;font:1.75rem Arial,sans-serif;color:var(--ink)}.nlhe-suit-tab--red{color:var(--red)}.nlhe-suit-tab[aria-pressed=true]{border-color:var(--action);background:var(--selected)}.nlhe-picker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,4rem),1fr));gap:8px}.nlhe-card--picker{width:100%;min-height:88px;height:6rem;padding:8px 4px}.nlhe-card--picker .nlhe-card__rank{font-size:clamp(28px,1.75rem,36px)}.nlhe-card--picker .nlhe-card__suit{font-size:clamp(20px,1.375rem,28px)}.nlhe-card--picker-used{background:#edf0ee;border-style:dashed;box-shadow:none}.nlhe-card--picker-selected{background:var(--selected);border:2px solid var(--action)}.nlhe-card__ribbon{margin-top:8px;font:500 .75rem/1.4 Noto Sans JP,system-ui,sans-serif;color:#40594a}.nlhe-card__check{position:absolute;right:4px;top:4px;font-size:.75rem;color:var(--action)}.picker-hint{font-size:.875rem;color:var(--muted);margin-top:16px}.nlhe-detail-section+.nlhe-detail-section{margin-top:32px}.nlhe-detail-section h3{margin-bottom:12px}.nlhe-detail-highlight{font-size:1.5rem;line-height:1.5;font-weight:500;margin-bottom:8px}.nlhe-detail-cards-row,.nlhe-prob-five-cards{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.hand-comparison-detail{margin-bottom:16px;color:var(--muted)}.board-facts{padding:16px;margin:24px 0;border-radius:var(--radius);background:var(--surface)}.board-facts h3{font-size:.875rem;color:var(--muted);margin-bottom:8px}.board-facts p{font-size:1rem}.detail-disclosure,.category-bucket,.main-bucket{border-bottom:1px solid var(--line)}.detail-disclosure summary,.category-bucket summary,.main-bucket summary{cursor:pointer;min-height:56px;padding:16px 0;line-height:1.6;list-style:none;display:flex;align-items:center;gap:12px}.detail-disclosure summary:after,.category-bucket summary:after,.main-bucket summary:after{content:"";width:8px;height:8px;border-right:1.5px solid var(--muted);border-top:1.5px solid var(--muted);transform:rotate(45deg);margin:0 4px 0 auto;flex-shrink:0}.detail-disclosure[open]>summary:after,.category-bucket[open]>summary:after,.main-bucket[open]>summary:after{transform:rotate(135deg)}summary::-webkit-details-marker{display:none}.detail-disclosure summary>span:first-child,.category-bucket summary>span:first-child,.main-bucket summary>span:first-child{min-width:0}.detail-disclosure summary .muted,.category-bucket summary .muted,.main-bucket summary .muted{margin-left:auto;font-size:.875rem;text-align:right}.detail-disclosure>:last-child{margin-bottom:16px}.relation-options{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.relation-options button{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;min-height:52px;border:1px solid var(--line);background:#fff;border-radius:var(--radius);font-size:1rem;text-align:left}.relation-options button[aria-pressed=true]{background:var(--selected);border-color:var(--action);color:var(--action);box-shadow:inset 3px 0 var(--action)}.relation-options strong{white-space:nowrap;font-weight:500}.opponent-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:24px 0 8px;color:var(--muted);font-size:.875rem}.category-bucket>summary{font-weight:500}.bucket-content{padding:0 0 16px 12px;border-left:2px solid var(--line)}.exact-group{padding:16px 0;border-bottom:1px solid var(--line);font-size:.875rem}.exact-group:last-child{border-bottom:0}.fact-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;line-height:1.6}.fact-row>span{flex-shrink:0;color:var(--muted)}.opponent-example{display:flex;flex-direction:column;gap:8px;margin-top:12px;font-size:.875rem;color:var(--muted)}.bucket-sample{padding:8px 0 0}.nlhe-opp-group-five,.nlhe-prob-chip-list{display:flex;flex-wrap:wrap;align-items:center;gap:4px;line-height:1.7;margin:8px 0}.threat-witness{border-top:1px solid var(--line);padding:16px 0}.comparison-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;font-size:.875rem;line-height:1.6}.comparison-facts dt{color:var(--muted)}.comparison-facts dd{margin:0}.nlhe-nuts-card{padding:20px 0;border-bottom:1px solid var(--line)}.nlhe-nuts-card__top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:.875rem;color:var(--muted)}.nlhe-nuts-card__name{font-weight:500;margin:12px 0;line-height:1.6}.nlhe-nuts-card__meta{display:flex;flex-direction:column;font-size:.875rem}.nlhe-nuts-card__conflict{font-size:.875rem;background:var(--warning-surface);color:var(--warning);padding:12px;margin-top:12px;border-radius:var(--radius)}.nlhe-detail-bullet-list{padding-left:20px;font-size:.875rem;line-height:1.7}.nlhe-detail-bullet-list li+li{margin-top:8px}.nuts-status{padding:16px;background:var(--surface);border-radius:var(--radius)}.nuts-status--unbeatable{background:var(--selected);color:var(--action)}.nuts-status h3{margin-bottom:8px;font-size:1.25rem}.nlhe-prob-box{padding:0 0 24px}.nlhe-prob-box+.nlhe-prob-box{border-top:1px solid var(--line);padding-top:24px}.nlhe-prob-box__title-group{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center}.nlhe-prob-status-pill{font-size:.875rem;color:var(--muted)}.nlhe-prob-box__value{margin:16px 0}.nlhe-prob-number{font-size:2.25rem;font-weight:500}.nlhe-prob-approx{font-size:.875rem;color:var(--muted);margin-right:8px}.nlhe-prob-fraction{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}.nlhe-prob-box__content{margin-top:16px;font-size:1rem}.nlhe-prob-rank-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.nlhe-prob-suit-note,.nlhe-prob-horizon-note,.prob-notes{font-size:.875rem;color:var(--muted);margin-top:16px}.nlhe-prob-path-header,.nlhe-prob-path-row{display:grid;grid-template-columns:1fr 24px 2fr;align-items:center;gap:8px;margin-bottom:12px}.nlhe-prob-path-header{color:var(--muted);font-size:.875rem}.nlhe-prob-path-cell{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.nlhe-prob-or{font-size:.875rem;color:var(--muted)}.nlhe-ranking-item{padding:20px 0;border-bottom:1px solid var(--line)}.nlhe-ranking-item:first-child{padding-top:0}.nlhe-ranking-row-header{display:flex;align-items:flex-start;gap:12px}.nlhe-ranking-num{color:var(--muted);font-size:.875rem;padding-top:4px;min-width:16px}.nlhe-ranking-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.nlhe-ranking-name{font-weight:500}.nlhe-ranking-current-badge{font-size:.75rem;color:var(--action);background:var(--selected);padding:4px 8px;border-radius:4px}.nlhe-ranking-short{display:block;color:var(--muted);font-size:.875rem;line-height:1.6;margin-top:8px}.nlhe-ranking-detail-example{margin:12px 0 0 28px}.nlhe-ranking-example-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.nlhe-ranking-example-label{font-size:.875rem;color:var(--muted)}.nlhe-ranking-example-chips{display:flex;gap:4px;flex-wrap:wrap}@media(min-width:960px){.nlhe-app-shell{width:min(calc(100% - 64px),1080px);margin-block:40px;min-height:calc(100dvh - 80px);border:1px solid var(--line);border-radius:12px}.app-header{padding:16px 32px}.analysis-layout{display:grid;grid-template-columns:minmax(320px,2fr) minmax(0,3fr);grid-template-rows:auto 1fr;gap:0 32px;align-items:start;padding:32px}.card-workspace{grid-area:1 / 1;position:static;padding:0 0 24px;border-bottom:0}.analysis-area{grid-area:1 / 2 / 3 / 3;border-left:1px solid var(--line);padding-left:32px;min-height:480px}.result-content{padding:0}.current-hand-section{padding-top:0}.sample-cases{grid-area:2 / 1;margin:0;padding:16px 0 0}.start-analysis,.loading{padding:24px 0}.notice{margin:0}.nlhe-sheet-dialog{margin:auto;height:min(88dvh,900px);max-height:88dvh;border-radius:16px}.nlhe-sheet-header,.nlhe-sheet-body,.nlhe-sheet-footer{padding-inline:32px}}@media(max-width:359px){.app-header,.card-workspace,.start-analysis,.result-content{padding-inline:16px}.hole-line{gap:8px}.hole-cards{gap:4px}.hole-cards .nlhe-card,.hole-cards .nlhe-card-slot{width:44px;height:64px}.draws-grid{gap:16px}.nlhe-sheet-body,.nlhe-sheet-header{padding-inline:16px}.nlhe-picker-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,3.75rem),1fr))}}@container (max-width: 22rem){.card-workspace{position:static}.app-header>button{margin-left:auto}}@media(max-height:680px){.card-workspace{position:static}.nlhe-sheet-dialog{height:96dvh;max-height:96dvh}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.nlhe-sheet-dialog[data-testid=settings-sheet]{height:min(16rem,92dvh)}
