
/* Reader Mode presentation. Loaded after existing theme styles. */
.reader-page .reader-picker,.reader-page .reader-results-section {padding:20px!important;border-radius:12px!important;}

.reader-page .reader-main {width:100%;padding-bottom:12px;}
.reader-page .reader-picker h2 {font-size:28px;line-height:1.15;letter-spacing:-.02em;}
.reader-page .picker-copy {margin:14px 0;color:#b9b4aa!important;opacity:1;font-size:15px;line-height:1.5;}
.reader-page .selection-count {padding:6px 8px;font-size:12px;white-space:nowrap;}
.reader-page .reader-input-category {margin:14px 0 10px;justify-content:space-between;font-size:14px;}
.reader-page .reader-input-category select {min-height:44px;padding:8px 12px;max-width:65%;}
.reader-page .reader-search {padding:14px;font-size:16px;min-height:48px;border-radius:8px!important;}
.reader-page .reader-search-results:empty {display:none;}
.reader-page .selected-stories {gap:8px!important;margin:14px 0;}
.reader-page .selected-stories>.selected-story {width:100%;padding:0 3px 0 12px;gap:8px;min-height:48px;border-radius:8px!important;font-size:15px;}
.reader-page .selected-story>span {flex:1;min-width:0;overflow-wrap:anywhere;}
.reader-page .selected-story .remove-story {flex:0 0 44px;min-width:44px;height:44px;min-height:44px;padding:0!important;border:0!important;background:transparent!important;color:#b9b4aa!important;font-size:21px;}
.reader-page .reader-cta {width:100%;min-height:48px;margin:4px 0 12px;border-radius:8px!important;font-size:15px;}
.reader-page .reader-exclusion-panel {margin:8px 0;padding:12px 0;border:0;border-top:1px solid #292929;border-radius:0;font-size:14px;}
.reader-page .reader-exclusion-panel summary {min-height:44px;align-content:center;font-weight:400;}
.reader-page .reader-exclusion-panel p {font-size:13px;line-height:1.5;color:#b9b4aa;}
.reader-page .reader-preference-note {margin-top:10px;opacity:1;font-size:13px;color:#b9b4aa;}
.reader-page .reader-preference-note label {display:flex;gap:9px;align-items:center;min-height:44px;line-height:1.4;}
.reader-page .reader-preference-note input[type="checkbox"] {width:18px;height:18px;flex-shrink:0;accent-color:#d4af63;}
.reader-page .reader-preference-note p {margin:0 0 6px 27px;font-size:12px;line-height:1.5;}
.reader-page #reader-forget-history {margin-left:27px;min-height:44px;padding:4px 0!important;background:transparent!important;color:#d8d4ca!important;border:0!important;text-decoration:underline;font:inherit;}
.reader-page .reader-results-section {margin-top:0!important;}
.reader-page .results-heading {display:flex;align-items:baseline;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;}
.reader-page .results-heading h2 {flex:0 0 auto;max-width:100%;}
.reader-page .reader-results-section h2 {font-size:26px;line-height:1.2;margin:0;}
.reader-page .reader-share-button {width:auto;min-height:44px;margin:0 0 0 auto;padding:8px 0!important;border:0!important;font-size:13px;font-weight:400;white-space:nowrap;}
.reader-page .results-copy {font-size:14px;line-height:1.5;max-width:100%;margin:10px 0 0;}
.reader-page .reader-results {margin-top:8px;}
.reader-page .reader-results>.reader-result {display:block;padding:22px 0!important;}
.reader-page .reader-result .title-line {display:flex;gap:10px;align-items:baseline;}
.reader-page .title-line .result-rank {font-size:14px;opacity:1;color:#928b7e;flex:0 0 auto;}
.reader-page .reader-result .result-body {min-width:0;}
.reader-page .reader-result h3 {font-family:var(--sk-serif);font-size:23px!important;line-height:1.25;font-weight:500;margin:0;}
.reader-page .reader-result h3 a {text-decoration:none;overflow-wrap:anywhere;}
.reader-page .match-reason {margin:12px 0 16px;color:#b9b4aa;font-size:14px;line-height:1.6;}
.reader-page .match-reason strong {font-weight:500;color:#e6e0d3;}
.reader-page .reader-actions {display:flex;flex-direction:column;align-items:stretch;gap:2px;}
.reader-page .reader-actions .rr-link {display:flex;align-items:center;align-self:stretch;justify-content:center;min-height:48px;padding:10px 14px;white-space:normal;opacity:1;background:#d4af63;color:#15110a!important;border:1px solid #d4af63;border-radius:8px;font-family:var(--sk-sans);font-size:14px;font-weight:600;text-decoration:none;}
.reader-page .reader-actions .story-profile-link {display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;color:#b9b4aa!important;font-size:13px;font-weight:400;text-decoration:underline;text-underline-offset:3px;}
.reader-page .reader-feedback {margin-top:12px;}
.reader-page .feedback-buttons {display:flex;flex-wrap:wrap;gap:6px;}
.reader-page .reader-results .feedback-button {flex:1;min-width:78px;min-height:44px!important;padding:8px 6px!important;font-size:12px!important;font-weight:400!important;border-radius:6px!important;}
.reader-page .reader-roll-panel {margin:0;padding:0;border:0;}
.reader-page .reader-roll-panel>h3 {font:500 26px/1.2 var(--sk-serif);margin:0 0 8px;color:#f4f1e9;}
.reader-page .reader-roll-copy {font-size:14px;line-height:1.5;margin:0 0 18px;color:#b9b4aa;opacity:1;}
.reader-page .reader-roll-kicker {font-size:11px;letter-spacing:.1em;color:#d4af63;opacity:1;font-weight:500;margin-bottom:8px;}
.reader-page .reader-roll-reveal {display:block;margin:0;padding:18px;border-radius:12px;background:#0c0c0c;border-color:#32302a;}
.reader-page .roll-outcome {display:flex;align-items:center;gap:9px;margin-bottom:16px;}
.reader-page .reader-roll-number {width:30px;height:30px;flex-shrink:0;font-size:14px;border-radius:8px;font-weight:500;}
.reader-page .reader-roll-label {margin:0;font-size:11px;font-weight:500;letter-spacing:.08em;color:#d4af63;}
.reader-page .reader-roll-content {min-width:0;}
.reader-page .reader-roll-card.reader-result {display:block;margin:0;padding:0;border:0;}
.reader-page .reader-roll-card.reader-result h3 {font-family:var(--sk-serif);font-size:25px!important;line-height:1.2;}
.reader-page .reader-roll-card .match-reason {margin:14px 0 18px;}
.reader-page .reader-roll-button {display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;margin-top:12px;background:transparent;color:#e3dccc;border:1px solid #5a4b30;border-radius:8px;font-family:var(--sk-sans);font-size:14px;font-weight:400;}
.reader-page .reader-roll-button:disabled {opacity:.55;}
.reader-page .reader-roll-button:not(.has-story) {background:#d4af63;color:#15110a;border-color:#d4af63;}
.reader-page .reader-roll-message {font-size:15px;line-height:1.5;margin:0 0 12px;color:#d8d4ca;opacity:1;}
.reader-page .reader-search-option {min-height:48px;cursor:inherit;}
.reader-page :is(input,select,a,button,summary):focus-visible {outline:2px solid #d4af63!important;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;}}

/* Respect native hidden even where legacy themes set display:flex. */
.reader-page [hidden] {display:none!important;}
.reader-page .reader-share-controls {margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.reader-page .reader-share-status:empty,.reader-page #reader-preference-summary:empty {display:none;}
.reader-page #reader-refresh-results {margin:0;border:1px solid #5a4b30!important;padding:8px 14px!important;}
.reader-page .reader-roll-result:empty {display:none;}
.reader-page .reader-roll-status:not(:empty) {font-size:13px;margin:10px 0;color:#b9b4aa;}
.reader-page .reader-excluded-story {min-width:0;overflow-wrap:anywhere;}
.reader-page .reader-excluded-story button {min-height:44px;}
.reader-page .reader-excluded-story input {min-width:0;max-width:100%;}
.reader-page .reader-site-help {text-align:center;}
@media (min-width:761px) {
 .reader-page .reader-picker,.reader-page .reader-results-section {padding:32px!important;}
 .reader-page .reader-picker h2 {font-size:34px;}
 .reader-page .selected-stories>.selected-story {width:auto;max-width:100%;}
 .reader-page .reader-actions {flex-direction:row;align-items:center;gap:20px;}
 .reader-page .reader-actions .rr-link {align-self:auto;min-width:210px;}
 .reader-page .feedback-buttons {max-width:420px;}
 .reader-page .reader-roll-button {width:auto;min-width:210px;padding:12px 20px;}
}
@media (max-width:760px) {
 .reader-page {width:calc(100% - 24px)!important;padding-bottom:0;}
 .reader-page .reader-site-help {padding:20px 0 4px;}
 .reader-page .reader-site-help .sk-feedback-button {position:static;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;margin:0;padding:8px 12px;border:0;background:transparent;box-shadow:none;color:#b9b4aa;font-size:13px;text-decoration:underline;text-underline-offset:3px;}
}
@media (max-width:360px) {
 .reader-page .reader-picker,.reader-page .reader-results-section {padding:16px!important;}
 .reader-page .picker-heading {gap:8px;flex-wrap:wrap;}
 .reader-page .feedback-buttons {gap:4px;}
 .reader-page .reader-results .feedback-button {min-width:0;font-size:11px!important;}
}

.reader-page .reader-announcement {position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}

.reader-page .reader-message:empty {min-height:0;margin:0;}
