.bet-journal{--journal-panel:var(--surface);--journal-border:var(--line);margin:0 0 40px}.journal-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 24px}.journal-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:var(--accent);margin:0 0 9px}.journal-top h2{font-size:30px;letter-spacing:-1px}.journal-top p.small{margin:8px 0 0}.journal-top .button{white-space:nowrap;padding:12px 22px}.journal-controls{display:flex;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}.unit-control{display:flex;align-items:center;gap:5px;background:var(--journal-panel);border:1px solid var(--line);border-radius:8px;padding:0 12px;white-space:nowrap;height:41px}.unit-control input{width:80px;border:0;padding:8px 3px;background:transparent}.journal-controls>select{width:auto}.journal-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.journal-kpis article{padding:22px 24px;border:1px solid var(--journal-border);border-radius:9px;background:var(--surface);display:flex;flex-direction:column;gap:8px}.journal-kpis article>span{font-size:12px;color:var(--muted)}.journal-kpis strong{font-size:36px;line-height:1.3;font-weight:600;letter-spacing:-1.4px;font-variant-numeric:tabular-nums}.journal-kpis small{font-size:11px;color:var(--muted)}.journal-kpis em{font-style:normal;color:#6a786e;margin:0 8px}.journal-performance{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(230px,1fr);gap:18px;margin-bottom:36px}.journal-curve,.journal-breakdown{background:var(--journal-panel);border:1px solid var(--journal-border);border-radius:9px;padding:22px 24px}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-heading h3,.journal-breakdown h3{font-size:19px;font-weight:550}.chart-tabs,.entry-tabs{display:flex;padding:3px;border:1px solid var(--line);border-radius:8px;gap:3px}.chart-tabs button,.entry-tabs button{border:0;border-radius:5px;background:transparent;color:var(--muted);padding:6px 12px;font:inherit;font-size:12px;cursor:pointer}.chart-tabs [aria-pressed=true],.entry-tabs [aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.journal-chart{display:block;width:100%;min-height:210px;overflow:visible}.journal-chart text{fill:var(--muted);font-size:11px;font-family:inherit}.journal-chart circle{cursor:crosshair}.journal-chart circle:focus{outline:none;stroke:#fff;stroke-width:4px}.journal-curve>p.small{font-size:11px;min-height:16px;margin-bottom:0}.chart-empty{height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--muted)}.chart-empty>span{font-size:34px;color:var(--accent)}.chart-empty p{font-size:12px;max-width:300px}.record-bar{display:flex;height:7px;gap:4px;background:#ffffff09;border-radius:5px;overflow:hidden;margin:6px 0 20px}.breakdown-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--journal-border);font-size:13px}.breakdown-row span{display:flex;align-items:center;gap:9px}.breakdown-row i{width:7px;height:7px;border-radius:50%}.journal-breakdown>p.small{font-size:11px;line-height:1.6;margin-top:20px}.journal-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0}.journal-list-heading h3{font-size:22px;white-space:nowrap}.journal-list-heading h3 span{font-size:13px;color:var(--muted);margin-left:8px}.journal-list-heading input{max-width:250px;font-size:12px}.journal-filters{display:flex;gap:6px;margin-bottom:18px;overflow:auto;padding-bottom:4px}.journal-filters .button{border-color:transparent;background:transparent;color:var(--muted);white-space:nowrap;font-size:12px;padding:7px 15px}.journal-filters .button.active{background:var(--accent-soft);border-color:#59765f77;color:var(--accent)}.journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.journal-bet{position:relative;min-width:0;background:var(--journal-panel);border:1px solid var(--journal-border);border-radius:9px;padding:20px;overflow:hidden}.journal-bet.won{border-top-color:#a5d6b357}.journal-bet.lost{border-top-color:#df969075}.bet-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.result-pill{font-size:10px;font-weight:650;letter-spacing:.3px;border-radius:5px;padding:4px 8px;color:#b5bdb8;background:#7b857e19}.result-pill.won{background:#a5d6b314;color:var(--accent)}.result-pill.lost{background:#df969015;color:var(--red)}.bet-card-top>.small{font-size:10px}.bet-identity{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;margin-bottom:18px}.bet-identity .identity{white-space:normal}.bet-identity .identity>.avatar{height:54px;width:54px;background:var(--bg);border-radius:12px}.bet-identity .identity>.avatar img{object-fit:cover;object-position:center top}.bet-identity .identity-text>strong{font-size:16px;line-height:1.3}.bet-identity .identity-text .small{font-size:10px;margin-top:4px}.bet-team-badge .identity>.avatar{height:27px;width:27px;background:none;border-radius:0}.bet-team-badge .identity>.avatar img{object-fit:contain}.journal-team-pair .avatar{height:37px!important;width:37px!important;background:none!important;border-radius:0!important}.journal-team-pair .matchup-identity{font-size:13px}.journal-bet>h3{font-size:19px;letter-spacing:-.4px;margin:0 0 6px;font-weight:550}.bet-final-score{font-size:10px;margin:0 0 16px}.bet-outcome{display:flex;justify-content:space-between;align-items:flex-end;margin:18px 0 13px}.bet-outcome>div>span{font-size:11px;color:var(--muted)}.bet-outcome strong{display:block;font-size:30px;font-weight:550;line-height:1.3;font-variant-numeric:tabular-nums}.bet-outcome strong small{font-size:11px;color:var(--muted);font-weight:400;margin-left:5px}.bet-outcome-line{text-align:right}.bet-outcome-line strong{font-size:21px;color:#b4beb7}.bet-result-track{height:5px;background:#ffffff0c;border-radius:4px;position:relative;margin:10px 0}.bet-result-track>span{display:block;height:5px;background:var(--accent);border-radius:4px}.lost .bet-result-track>span{background:var(--red)}.bet-result-track>i{position:absolute;top:-4px;height:13px;width:2px;background:#e4e9e5}.bet-margin{font-size:10px;margin-top:10px;color:var(--accent)}.lost .bet-margin{color:var(--red)}.bet-game-detail{font-size:11px;color:var(--muted);line-height:1.5;min-height:17px}.bet-financials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px 0;margin-top:18px;border-top:1px solid var(--journal-border);border-bottom:1px solid var(--journal-border)}.bet-financials span{font-size:10px;color:var(--muted)}.bet-financials strong{display:block;font-size:14px;margin-top:5px;font-weight:550}.bet-financials small{font-size:10px;font-weight:400;color:var(--muted);margin-left:5px}.bet-financials>div:last-child{text-align:right}.bet-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.bet-card-footer .small{font-size:10px}.bet-card-footer .button{font-size:11px;border:0;padding:5px 0;background:none;color:var(--accent)}.bet-source{font-size:10px;color:#899a8e;display:inline-block;margin-top:8px}.journal-empty{grid-column:1/-1;padding:55px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:9px}.journal-dialog{width:min(560px,calc(100% - 24px));max-height:90dvh;background:var(--surface);color:var(--text);border:1px solid #46544a;border-radius:12px;padding:26px;overflow:auto}.journal-dialog::backdrop{background:#0009;backdrop-filter:none}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading h2{font-size:24px}.dialog-heading>.button{border:0;background:none;color:var(--muted)}.journal-dialog label{font-size:12px}.journal-dialog .entry-tabs{margin-bottom:18px}.journal-dialog .entry-tabs button{flex:1;padding:9px}.log-form-pair{grid-template-columns:1fr 1fr!important;gap:12px!important}.journal-dialog #log-form{border:0;margin:0;padding:0}.journal-dialog #log-game{font-size:11px;padding:6px;margin:10px 0}.log-model-options{margin-bottom:20px;border:1px solid var(--line);border-radius:9px;overflow:hidden}.log-model-options button{display:flex;flex-direction:column;width:100%;text-align:left;border:0;border-bottom:1px solid #ffffff09;background:transparent;padding:10px 12px;color:var(--text);cursor:pointer}.log-model-options button:hover{background:var(--accent-soft)}.log-model-options button strong{font-size:12px;font-weight:550}.log-model-options button span{font-size:10px;color:var(--muted);margin-top:4px}.selected-pick{padding:12px 0 18px}.log-extra>summary{font-size:12px;padding:12px 0;margin:12px 0}.dialog-actions{display:flex;gap:12px;margin-top:22px}.dialog-actions .primary{flex:1}.journal-dialog textarea{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:10px;width:100%;min-height:65px}.journal-dialog input,.journal-dialog select{min-width:0}.journal-dialog .form-grid>*{min-width:0}.bet-settlement-note{font-size:11px;color:#d3bd8c;line-height:1.5;background:#d3bd8c0a;padding:9px;border-radius:6px}
@media(max-width:1100px){.journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-kpis article{padding:18px}.journal-kpis strong{font-size:30px}}
@media(max-width:650px){.journal-top{align-items:flex-start;margin-top:8px}.journal-top h2{font-size:23px;max-width:230px}.journal-top .button{padding:10px 13px;font-size:12px}.journal-top p.small{font-size:11px}.journal-eyebrow{font-size:8px;letter-spacing:1.3px}.journal-controls{gap:8px}.journal-controls>select,.journal-controls>.button{font-size:11px}.journal-controls :is(#log-sync,#nba-log-sync){display:none}.unit-control{font-size:11px}.unit-control input{width:58px}.journal-kpis{grid-template-columns:1fr 1fr;gap:10px}.journal-kpis article{padding:16px}.journal-kpis article>span{font-size:11px}.journal-kpis strong{font-size:29px}.journal-kpis small{font-size:10px}.journal-performance{grid-template-columns:1fr;gap:12px;margin-bottom:26px}.journal-curve{padding:17px 14px}.chart-heading h3{font-size:17px}.chart-tabs button{font-size:10px;padding:6px 8px}.journal-chart{min-height:150px}.journal-breakdown{display:none}.journal-grid{grid-template-columns:1fr}.journal-list-heading input{max-width:150px}.journal-list-heading h3{font-size:19px}.journal-bet{padding:20px}.journal-dialog{padding:20px;max-height:92dvh}.journal-dialog .dialog-heading h2{font-size:22px}.chart-empty{height:160px}}

@media(max-width:650px){.journal-chart text{font-size:20px}}
.journal-kpis strong,.bet-financials strong{overflow-wrap:anywhere}

.journal-controls :is(#log-add,#nba-log-add){margin-left:auto}.journal-controls{margin-top:20px}.journal-kpis strong{font-size:32px}.journal-curve,.journal-breakdown{background:var(--bg)}.journal-list-heading{margin-top:20px}.journal-controls :is(#log-sync,#nba-log-sync){font-size:11px}
@media(max-width:650px){.journal-controls{display:grid;grid-template-columns:1fr 1fr}.journal-controls :is(#log-add,#nba-log-add){margin-left:0}.journal-kpis strong{font-size:29px}.unit-control input{flex:1;width:65px}.journal-controls>select{width:100%}}

.log-loading-status{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;margin:22px 0 18px}.log-spinner{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:log-spin .8s linear infinite}.log-skeleton{display:block;background:var(--surface);border-radius:5px}.log-skeletons article .log-skeleton{background:var(--line)}.log-skeletons .label{height:12px;width:48%}.log-skeletons .value{height:38px;width:76%;margin:4px 0}.log-skeletons .detail{height:10px;width:62%}.log-chart-skeleton{height:260px;border:1px solid var(--line);margin-bottom:30px}@keyframes log-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.log-spinner{animation:none}}@media(max-width:650px){.log-chart-skeleton{height:230px}}

/* Keep journal tools together, below performance, with shared control dimensions. */
.journal-tools{margin:24px 0 16px}.journal-tools .journal-controls{display:flex;align-items:stretch;gap:10px;margin:0 0 10px}.journal-tools .journal-controls>select,.journal-tools .journal-controls>.button,.journal-tools .unit-control{height:44px;min-height:44px;margin:0;border-radius:8px;font-size:13px}.journal-tools .unit-control{padding:0 12px;min-width:155px}.journal-tools .unit-control input{height:40px;min-height:40px;font-size:13px;padding:0 4px;width:72px}.journal-tools .journal-controls>select{min-width:130px}.journal-tools :is(#log-add,#nba-log-add){margin-left:auto}.journal-tools :is(#log-sync,#nba-log-sync){display:none}.journal-tools .journal-list-heading{display:flex;align-items:center;gap:14px;margin:0}.journal-tools .journal-list-heading input{height:44px;min-height:44px;max-width:none;font-size:13px;flex:1}.journal-tools .journal-list-heading>.small{white-space:nowrap;font-size:12px}.journal-performance{margin-bottom:0}.bet-journal>.journal-kpis{margin-top:16px}
@media(max-width:650px){.journal-tools .journal-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.journal-tools .journal-controls>select,.journal-tools .journal-controls>.button,.journal-tools .unit-control{height:44px;min-height:44px;width:100%;min-width:0;font-size:12px;box-sizing:border-box}.journal-tools :is(#log-add,#nba-log-add){margin-left:0}.journal-tools .unit-control{justify-content:center}.journal-tools .unit-control input{flex:0 1 62px;width:62px;font-size:12px}.journal-tools .journal-list-heading{gap:10px}.journal-tools{margin-top:20px}.journal-performance{margin-bottom:0}}

/* All app dialogs share the same mobile sheet treatment. */
html:has(dialog[open]){overflow:hidden}.app-dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:12px}.app-dialog::backdrop{background:rgba(0,0,0,.6)}.sheet-grip{display:none}.confirm-dialog{width:min(420px,calc(100% - 32px));padding:24px}.confirm-dialog .dialog-heading{margin-bottom:12px}.confirm-dialog h2{font-size:21px}.confirm-dialog p{color:var(--muted);font-size:13px}.confirm-dialog .dialog-actions>button{flex:1}.danger-button{color:#ffd7d2;background:#693b37;border-color:#865049}
@media(max-width:800px),(max-width:1000px) and (max-height:500px){
 dialog.app-dialog{position:fixed;inset:auto 0 var(--sheet-bottom,0px);width:100%;max-width:100%;max-height:min(92dvh,var(--sheet-height,92dvh));margin:0;box-sizing:border-box;border-radius:18px 18px 0 0;border-bottom:0;padding:0 20px max(16px,env(safe-area-inset-bottom));overscroll-behavior:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;scroll-padding-bottom:90px;box-shadow:0 -12px 45px #0003}
 .app-dialog .sheet-grip{display:flex;height:28px;justify-content:center;align-items:center;touch-action:none;margin:0 -20px;cursor:grab}.sheet-grip span{width:34px;height:4px;border-radius:5px;background:#758079}
 .app-dialog .dialog-heading{position:sticky;top:0;z-index:2;background:var(--surface);padding:10px 0 14px;margin:0 0 10px}.app-dialog .dialog-heading h2{font-size:22px;line-height:1.3;letter-spacing:-.5px}.app-dialog .dialog-heading>.button{width:44px;height:44px;padding:0;background:transparent;border-radius:7px}
 .app-dialog .dialog-actions{position:sticky;bottom:0;z-index:2;background:var(--surface);padding:14px 0 4px;margin:18px 0 0;box-shadow:0 -10px 15px var(--surface)}.app-dialog .dialog-actions>.button{min-height:48px;font-size:14px}.app-dialog input,.app-dialog select,.app-dialog textarea{font-size:16px;scroll-margin-block:80px}.app-dialog #log-game{font-size:14px}.app-dialog .entry-tabs button{font-size:13px;min-height:42px}.confirm-dialog p{font-size:14px;padding-bottom:6px}
}
@media(prefers-reduced-motion:no-preference) and (max-width:800px){dialog.app-dialog[open]{animation:app-sheet-in .2s ease-out}@keyframes app-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}}

.app-dialog .dialog-heading h2:focus{outline:none}

.app-dialog .dialog-heading>.dialog-close{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--muted);box-shadow:none;border-radius:7px;margin-right:-10px}.dialog-close svg{display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;pointer-events:none}.app-dialog .dialog-heading>.dialog-close:hover{background:var(--bg);color:var(--text)}.app-dialog .dialog-heading>.dialog-close:focus-visible{outline:2px solid var(--accent);outline-offset:-5px}

[data-profile]{cursor:pointer;border-radius:4px}[data-profile]:hover .identity-text strong,[data-profile]:hover>span:last-child{color:var(--accent)}[data-profile]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.profile-dialog{width:min(680px,calc(100% - 32px));max-height:88dvh;padding:24px;overflow:auto}.profile-dialog .dialog-heading{margin-bottom:16px}.profile-dialog .dialog-heading h2{font-size:15px;color:var(--muted);display:flex;align-items:center;gap:10px}.profile-back{border:0;padding:5px 10px!important;font-size:22px}.profile-hero{padding:8px 0 22px;border-bottom:1px solid var(--line)}.profile-hero>.identity:first-child{font-size:26px;font-weight:600;gap:16px}.profile-hero>.identity:first-child .avatar{width:72px;height:72px;flex:0 0 72px;background:#ffffff05;border-radius:16px}.profile-hero p{color:var(--muted);font-size:13px;margin:12px 0}.profile-hero .coach-identity .avatar img{object-fit:cover}.profile-section{margin:24px 0!important}.profile-section h3{margin:0 0 14px;font-size:15px}.profile-matchup{padding:16px 0 4px}.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:16px 0}.profile-stats>div{background:var(--surface);padding:15px}.profile-stats dt{font-size:12px;color:var(--muted)}.profile-stats dd{margin:6px 0 0;font-size:23px;font-variant-numeric:tabular-nums}.profile-people{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.profile-people>div{padding:13px 0;border-bottom:1px solid var(--line);min-width:0}.profile-people p{padding-left:36px;margin:4px 0 0}.profile-roster>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.profile-roster>div>.small{white-space:nowrap;font-size:11px}.profile-projections{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-projections>div{padding:16px;border:1px solid var(--line);border-radius:10px}.profile-projections span,.profile-projections small{display:block;font-size:11px;color:var(--muted)}.profile-projections strong{display:block;font-size:28px;margin:5px 0;color:var(--accent);font-weight:550}.profile-lines>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.profile-lines small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.profile-note{padding:12px;border-radius:8px;background:#ffffff06;color:var(--muted);font-size:13px}.profile-body a{color:var(--accent)}
@media(max-width:800px){.profile-people{grid-template-columns:1fr}.profile-hero>.identity:first-child{font-size:24px}.profile-hero>.identity:first-child .avatar{width:60px;height:60px;flex-basis:60px}.profile-roster .identity{white-space:normal}.profile-dialog .dialog-heading h2{font-size:15px}}

.log-model-options{max-height:320px;overflow-y:auto;overscroll-behavior:contain}
#log-more-picks{margin-bottom:16px;width:100%}
#log-description[readonly]{color:var(--muted)}

/* Date report: compact controls, totals, then the saved bets. */
.log-date-picker{position:relative;min-width:160px;z-index:4}
.log-date-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;height:44px;padding:0 14px;box-sizing:border-box;cursor:pointer;border:1px solid var(--line);border-radius:8px;background:var(--journal-panel);font-size:13px;list-style:none}
.log-date-picker>summary::-webkit-details-marker{display:none}
.log-date-picker>summary:after{content:"⌄";color:var(--muted);font-size:17px;line-height:1}
.log-date-picker[open]>summary{border-color:var(--accent)}
.log-date-options{position:absolute;top:50px;left:0;width:min(310px,calc(100vw - 36px));max-height:340px;overflow-y:auto;z-index:5;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:0 14px 32px #0006;padding:8px}
.log-date-clear{width:100%;text-align:left;margin-bottom:4px}
.log-date-option{display:flex;align-items:center;gap:10px;padding:10px;border-radius:6px;cursor:pointer;font-size:13px}
.log-date-option:hover{background:#ffffff0a}
.log-date-option input{accent-color:var(--accent);width:17px;height:17px;margin:0}
.log-date-option span{flex:1}
.log-date-option small{color:var(--muted);font-size:11px}
.log-report-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:12px 0 16px;color:var(--text)}
.log-report-heading span{font-size:21px;font-weight:600;letter-spacing:-.4px}
.log-report-heading small{font-size:11px;color:var(--muted);white-space:nowrap}
.bet-journal .journal-kpis{margin-bottom:24px}
@media(max-width:650px){.log-date-picker{min-width:0;width:100%}.log-date-picker>summary{font-size:12px}.log-date-options{left:auto;right:0;width:min(310px,calc(100vw - 36px));box-sizing:border-box}.log-report-heading{align-items:flex-start;flex-direction:column;gap:3px}.log-report-heading span{font-size:19px}}

/* Journal cards put the unit target and player first. */
.journal-bet{border-radius:12px;padding:20px 22px 18px}
.bet-card-top{position:relative;z-index:2;margin-bottom:12px}
.bet-identity{position:relative;z-index:1;min-height:72px;margin:6px 0 16px;align-items:center}
.bet-identity>.identity:first-child{max-width:calc(100% - 34px);min-width:0;gap:11px}
.bet-identity .identity-text{min-width:0;white-space:normal}
.bet-identity .identity-text>strong{font-size:18px}
.journal-bet:is(.has-headshot,.has-team) .bet-identity{min-height:88px}
.journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child>.avatar{width:94px;height:104px;flex:0 0 94px;margin:-15px 0 -14px -23px;border-radius:0;background:transparent}
.journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child>.avatar img{background:transparent;object-fit:contain;object-position:center bottom}
.bet-unit-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;background:linear-gradient(115deg,#a5d6b314,#a5d6b305);border:1px solid #a5d6b32b;border-radius:9px;margin-top:18px}
.bet-unit-banner>div:last-child{text-align:right}
.bet-unit-banner span{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}
.bet-unit-banner strong{display:block;color:var(--text);font-size:24px;line-height:1.15;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.bet-unit-banner>div:last-child strong{font-size:20px;color:var(--accent)}
.bet-financials{border-top:0;margin-top:0;padding:16px 0}
.bet-financials strong{font-size:16px}
@media(max-width:650px){.journal-bet{padding:20px}.journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child>.avatar{width:88px;height:98px;flex-basis:88px;margin-left:-21px}.bet-unit-banner strong{font-size:22px}.bet-unit-banner>div:last-child strong{font-size:19px}}
@media(max-width:650px){.journal-kpis article{padding:16px 14px}.journal-kpis strong{font-size:clamp(20px,6vw,25px);letter-spacing:-.8px;white-space:nowrap}}

.journal-grid{margin-top:96px;row-gap:100px;align-items:start}
.journal-bet{overflow:visible;padding:22px 24px 18px;border-radius:13px}
.journal-bet:is(.has-headshot,.has-team){isolation:isolate}
.journal-bet:is(.has-headshot,.has-team):before{content:"";position:absolute;z-index:-1;top:0;right:0;width:42%;height:100px;background:radial-gradient(ellipse at top right,#a5d6b318,transparent 72%);border-radius:0 13px 0 0;pointer-events:none}
.journal-bet:is(.has-headshot,.has-team) .bet-card-top{justify-content:flex-start;gap:12px}
.bet-identity{min-height:76px;margin:2px 0 8px}
.journal-bet:is(.has-headshot,.has-team) .bet-identity{min-height:98px}
.journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child{padding-right:132px;max-width:100%;gap:0}
.journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child>.avatar{position:absolute;z-index:3;right:-20px;top:-180px;width:190px;height:210px;flex:0 0 190px;margin:0;background:none;pointer-events:none}
.journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child>.avatar img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 8px #0005);mask-image:linear-gradient(#000 0%,#000 78%,transparent 100%)}
.journal-bet:is(.has-headshot,.has-team) .bet-team-badge{display:none}
.bet-card-result{font-size:12px;color:var(--muted);margin:5px 0 0}
.bet-unit-banner{margin-top:16px;padding:13px 15px}
.bet-unit-banner strong{font-size:28px}
.bet-unit-banner>div:last-child strong{font-size:22px}
.bet-card-expanded .bet-outcome{margin-top:18px}
.bet-expand{display:none}
.bet-identity:is(.has-player,.has-team){display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}
.bet-matchup-logos{display:flex;align-items:center;gap:9px;min-height:28px}
.bet-matchup-logos .identity{display:inline-flex;gap:0}
.bet-matchup-logos .identity>.avatar{width:25px;height:25px;flex:0 0 25px;background:transparent;border-radius:0}
.bet-matchup-logos .identity>.avatar img{width:100%;height:100%;object-fit:contain;background:transparent;filter:drop-shadow(0 0 2px #ffffff55)}
.bet-matchup-logos .identity>span:last-child{display:none}
.bet-unit-fire{display:inline-block;margin-left:5px;color:#efaa71;vertical-align:-1px}
.bet-card-footer .bet-source{margin-top:0;font-size:11px}
.bet-pick-meta{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 14px;margin-top:5px}
.bet-pick-meta .bet-card-result{margin:0}
.bet-model-chance{font-size:11px;color:var(--muted);white-space:nowrap}
.bet-model-chance strong{font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.bet-model-detail{margin:15px 0 0;font-size:11px;color:var(--muted)}
.log-chance-preview{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;padding:12px 0 17px;font-size:12px;color:var(--muted)}
.log-chance-preview strong{margin-left:auto;color:var(--accent);font-size:24px;font-variant-numeric:tabular-nums}
.log-chance-preview small{flex-basis:100%;text-align:right;font-size:11px}
.journal-tools .log-primetime-control{display:flex;align-items:center;gap:10px;height:44px;min-height:44px;margin:0;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--journal-panel);font-size:13px;color:var(--muted);box-sizing:border-box}
.journal-tools .log-primetime-control select{width:65px;height:40px;min-height:40px;padding:0 4px;border:0;background:transparent;color:var(--text);font-size:13px}
.journal-tools .journal-controls{flex-wrap:wrap}
@media(max-width:650px){.journal-tools .log-primetime-control{width:100%;justify-content:space-between;font-size:12px;min-width:0}.journal-tools .log-primetime-control select{font-size:12px;min-width:0}.journal-tools :is(#log-add,#nba-log-add){grid-column:1/-1}.bet-model-chance{font-size:11px}.log-chance-preview{font-size:13px}}
.bet-financials>div:first-child small{display:block;margin:2px 0 0;font-size:10px;color:var(--muted)}
@media(max-width:650px){
 .journal-grid{margin-top:64px;row-gap:66px}
 .journal-bet{padding:17px 18px 14px}
 .journal-bet:is(.has-headshot,.has-team) .bet-identity{min-height:64px}
 .journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child{padding-right:105px}
 .journal-bet:is(.has-headshot,.has-team) .bet-identity>.identity:first-child>.avatar{width:145px;height:160px;flex-basis:145px;right:-15px;top:-147px}
 .bet-identity .identity-text>strong{font-size:16px}
 .journal-bet>h3{font-size:17px;margin-top:2px}
 .bet-card-result{margin-top:3px}
 .bet-unit-banner{padding:10px 12px;margin-top:13px}
 .bet-unit-banner strong{font-size:24px}
 .bet-unit-banner>div:last-child strong{font-size:20px}
 .bet-card-expanded{display:none}
 .journal-bet.expanded .bet-card-expanded{display:block}
 .bet-expand{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:12px;padding:10px 1px 0;border:0;border-top:1px solid var(--line);background:none;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
 .bet-expand span{font-size:18px;line-height:1}
}

.log-record-value{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.log-record-units{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.log-record-units.negative{color:var(--red)}@media(max-width:650px){.log-record-value{gap:6px}.log-record-units{font-size:14px}}

/* Team selections use the portrait slot with their complete, unfaded logo. */
.journal-bet.has-team .bet-identity>.identity:first-child>.avatar{width:132px;height:132px;flex-basis:132px;right:-5px;top:-104px}
.journal-bet.has-team .bet-identity>.identity:first-child>.avatar img{object-fit:contain;object-position:center;background:transparent;mask-image:none;filter:drop-shadow(0 5px 8px #0004)}
.journal-team-pair .avatar{flex:0 0 37px!important;font-size:0}
.bet-identity .journal-team-pair .avatar img{object-fit:contain;background:transparent}
@media(max-width:650px){.journal-bet.has-team .bet-identity>.identity:first-child>.avatar{width:104px;height:104px;flex-basis:104px;top:-82px}}
.prop-log-cell{display:flex;align-items:center;gap:12px;justify-content:space-between;white-space:nowrap}
.button.prop-log-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 10px;font-size:12px;font-weight:500;color:var(--accent);background:#a5d6b30b;border:1px solid #a5d6b338;border-radius:7px;white-space:nowrap}
.prop-log-button svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;flex-shrink:0}
.prop-log-button:hover{background:#a5d6b31a;border-color:#a5d6b380}
.prop-log-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px){.prop-log-cell{align-items:flex-start;flex-wrap:wrap;gap:8px;white-space:normal}.button.prop-log-button{min-height:40px;padding:8px 11px}.nba-prop-card .prop-log-button{margin-top:10px}}

.journal-identity-button{border:0;background:transparent;color:inherit;font:inherit;text-align:left;padding:0;cursor:pointer}
