/* Shared visual rules, loaded last so each room keeps the same controls. */
:root{
 --accent:#ed893e;
 --accent-hover:#f39a55;
 --accent-soft:#ed893e14;
 --on-accent:#24170d;
 --radius-surface:12px;
 --radius-button:999px;
 --bg:#151310;
 --panel:#211d19;
 --muted:#b0a497;
 --line:#40382f;
 --gold:var(--accent);
 --night-bg:var(--bg);
 --night-panel:var(--panel);
 --night-raised:#2c251f;
 --night-input:#191511;
 --night-line:var(--line);
 --night-text:#f3eee7;
 --night-copy:#d8cfc3;
 --night-muted:var(--muted);
 --night-gold:var(--accent);
}

/* Reserve the scrollbar and keep the header independent of each room's text styles. */
html{scrollbar-gutter:stable}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
:is(#app,#modal-root) .topbar{background:var(--bg);border-bottom-color:var(--line);font:14px/1.4 var(--body)}
#app .topbar .nav-inner{display:grid;grid-template-columns:max-content max-content minmax(0,1fr) max-content}
#app .topbar .wordmark{line-height:1.4}
#app .topbar .navigation{margin-left:32px}
#app .topbar .search{justify-self:end;margin-left:0;min-width:0;max-width:100%}
#app .topbar .auth{align-items:center}
#app .topbar .account-link{flex:none;gap:5px;padding:8px 5px;font:600 13px/1.4 var(--body);color:var(--muted);white-space:nowrap}
#app .topbar .account-link:hover,#app .topbar .account-link.active{color:var(--accent)}
#app .topbar .account-link.active{text-decoration:underline;text-underline-offset:5px}
:is(#app,#modal-root) .topbar .nav-link{color:#b7ac9f;font-size:15px;font-weight:600;line-height:1.4;padding-top:6px}
:is(#app,#modal-root) .topbar .nav-link.active{color:#fff4e8;font-weight:600}
@media(max-width:1250px){#app .topbar .navigation{margin-left:27px}}
@media(max-width:1050px){#app .topbar .nav-link{font-size:12px}}
@media(max-width:900px){
 #app .topbar .nav-inner{min-height:112px;grid-template-columns:max-content minmax(0,1fr) max-content}
 #app .topbar .navigation{grid-column:1/-1;grid-row:2}
 #app .topbar :is(.search,.header-spacer){grid-column:2;grid-row:1}
 #app .topbar .auth{grid-column:3;grid-row:1}
 #app .topbar .nav-link{font-size:13px}
}
@media(max-width:520px){
 #app .topbar .nav-inner{min-height:142px;grid-template-columns:max-content minmax(0,1fr);gap:0 12px}
 #app .topbar .auth{grid-column:2;grid-row:1}
 #app .topbar :is(.search,.header-spacer){display:block;grid-column:1/-1;grid-row:2;height:32px;margin:6px 0 0}
 #app .topbar .search{display:flex}
 #app .topbar .navigation{grid-row:3;max-width:calc(100% - 27px)}
 #app .topbar .nav-link{font-size:11px}
 #app .topbar .account-link{padding:8px 2px;font-size:11px;gap:4px}
}
@media(max-width:390px){
 #app .topbar .wordmark{font-size:21px}
 #app .topbar .auth .profile-button{max-width:96px;padding-inline:8px}
 #app .topbar .auth .admin-entry{font-size:10px;padding:4px 0}
}

/* One set of button styles, regardless of route. */
:is(#app,#modal-root) .nav-link.active:after{background:var(--accent)}
:is(#app,#modal-root) .search{background:#211d19;border-color:#453c32;border-radius:var(--radius-button)}
:is(#app,#modal-root) .search:focus-within{border-color:var(--accent)}
:is(#app,#modal-root) .hero h1 em{color:var(--accent)}
:is(#app,#modal-root) .hero-adult-badge{border-color:var(--accent);color:var(--accent)}
:is(#app,#modal-root) .filters{background:#151310f5;border-color:var(--line)}
:is(#app,#modal-root) :is(.btn,.rw-button,.fb-button,.rw-action-button,.room-write,.entrance-submit,.video-start,.send-btn,.comment-form button),
.report-actions button{border-radius:var(--radius-button);font-weight:600}
:is(#app,#modal-root) :is(.btn,.rw-button,.fb-button,.rw-action-button,.room-write){border-color:#65503f;color:#e9d8c8;background:transparent}
:is(#app,#modal-root) :is(.btn,.rw-button,.fb-button,.rw-action-button,.room-write):hover{border-color:var(--accent);background:var(--accent-soft);color:#fff0e3}
:is(#app,#modal-root) :is(.btn-primary,.rw-button.primary,.entrance-submit,.send-btn,.video-start),
:is(#app,#modal-root) .journal-editor-footer .btn,
:is(#app,#modal-root) .fb-heading>.fb-button,
:is(#app,#modal-root) #fb-form>button[type=submit],
.report-actions .report-submit{
 background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:700;
}
:is(#app,#modal-root) :is(.btn-primary,.rw-button.primary,.entrance-submit,.send-btn,.video-start):hover,
:is(#app,#modal-root) .journal-editor-footer .btn:hover,
:is(#app,#modal-root) .fb-heading>.fb-button:hover,
:is(#app,#modal-root) #fb-form>button[type=submit]:hover,
.report-actions .report-submit:hover{
 background:var(--accent-hover);border-color:var(--accent-hover);color:var(--on-accent);
}
:is(#app,#modal-root) :is(.chip,.suggestions button,.rw-choice span,.rw-checks span,.fb-heart,.post-report){border-radius:var(--radius-button)}
:is(#app,#modal-root) .chip.active{color:#ffb579;border-color:var(--accent);background:var(--accent-soft)}
:is(#app,#modal-root) .chip:hover{border-color:#9e6c43;background:#30251b}
:is(#app,#modal-root) :is(button,a,input,select,textarea,summary):focus-visible,
.report-dialog :is(button,input,textarea):focus-visible{outline-color:var(--accent)}

/* Twelve-pixel corners on cards, panels, forms and dialogs. */
:is(#app,#modal-root) :is(.story-letter,.drink-menu,.bar-scene,.chat-panel,.composer,.empty,.entrance-notice,
 .journal-entry,.journal-page,.private-locked,.journal-empty,.login-prototype,
 .rw-panel,.rw-formsection,.rw-editorial,.rw-review,.rw-productcard,.rw-glass-tile,
 .rw-visibility label,.rw-attachment,.draft-preview,.draft-sharing button,
 .fb-explorer,.fb-register,.fb-planning,.fb-registration-preview,.fb-feedback,.fb-pick-toolbar),
.modal,.report-dialog{border-radius:var(--radius-surface)}
:is(#app,#modal-root) :is(.field,.comment-form input,.entrance-form select,.fb-register input,.fb-register select,.fb-register textarea),
:is(#app,#modal-root) .rw-wrap :is(input:not([type=radio]):not([type=checkbox]),select,textarea),
.report-form textarea{border-radius:var(--radius-surface)}
:is(#app,#modal-root) .note-card .post-report{color:#756654}
:is(#app,#modal-root) .note-card .post-report:hover{color:#9c481b;background:#b7763820}
:is(#app,#modal-root) .note-card,:is(#app,#modal-root) .note-card .paper-surface{border-radius:0}

/* The full story and the private journal remain dark. */
:is(#app,#modal-root) .drink-menu{background:var(--panel);border-color:#534335;outline:0}
:is(#app,#modal-root) :is(.letter-category,.menu-kicker,.drink-menu h4,.room-eyebrow){color:#e4aa7a}
:is(#app,#modal-root) :is(.private-screen,.bar-screen){background:var(--bg)}
:is(#app,#modal-root) :is(.private-heading,.private-sidebar,.room-count,.journal-toolbar){border-color:var(--line)}
:is(#app,#modal-root) .journal-nav button{border-radius:var(--radius-surface)}
:is(#app,#modal-root) .journal-nav button.active{background:var(--accent-soft);color:#ffbd89}
:is(#app,#modal-root) .journal-nav button:hover{background:#30251c}
:is(#app,#modal-root) :is(.room-avatar,.journal-book i){border-color:#805534;background:#30241a;color:#eab186}
:is(#app,#modal-root) :is(.private-heading p,.private-status,.journal-preview-note){color:var(--muted)}
:is(#app,#modal-root) :is(.letter-body,.journal-body){color:var(--night-copy)}
:is(#app,#modal-root) :is(.journal-entry,.journal-page,.private-locked,.journal-empty){background:var(--panel);border-color:var(--line)}
:is(#app,#modal-root) .journal-entry:hover{background:var(--night-raised)}
:is(#app,#modal-root) :is(.journal-entry p,.private-locked p,.journal-empty p,.journal-page-meta,.journal-entry-meta,.journal-entry-end){color:var(--muted)}
:is(#app,#modal-root) .diary-tabs button[aria-selected=true]{color:#ffb579}
:is(#app,#modal-root) .diary-tabs button[aria-selected=true]:after{background:var(--accent)}
:is(#app,#modal-root) :is(.room-write,.journal-nav button.active){color:#f0bd93;border-color:#775239}
:is(#app,#modal-root) :is(.transcript-message>p,.bubble){background:#2c261f;border-color:#4c4032;color:#e2d8cb;border-radius:var(--radius-surface)}
:is(#app,#modal-root) :is(.transcript-message.mine>p,.user .bubble){background:#35281e;border-color:#705035}
:is(#app,#modal-root) :is(.chat-panel,.composer){background:var(--panel);border-color:var(--line)}

/* Account overview shares the room's dark surfaces; sample data never changes auth. */
.account-screen .private-heading{min-height:174px}
.account-screen .private-heading h1{font-size:36px;letter-spacing:-1px}
.account-screen .private-heading p{font-size:12px}
.account-preview-banner{display:flex;align-items:center;gap:12px;margin-top:22px;padding:12px 16px;border:1px solid #66462e;border-radius:12px;background:#241c15;color:var(--muted);font-size:11px;line-height:1.6}
.account-preview-banner>span{color:#ffc08f;font-weight:600;white-space:nowrap}
.account-preview-banner p{margin:0;flex:1}
.account-preview-banner button{color:#e9be9e;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.account-screen .private-layout{margin-top:27px;gap:34px;grid-template-columns:196px minmax(0,1fr)}
.account-screen .private-layout.without-sidebar{display:block}
.account-sidebar .room-profile{align-items:flex-start;text-align:left;padding:4px 7px 25px}
.account-sidebar .room-profile strong{font-size:16px;color:var(--night-text)}
.account-sidebar .room-profile>span:last-child{color:var(--muted);font-size:9px;letter-spacing:1px}
.account-sidebar .room-avatar{width:48px;height:48px;margin-bottom:12px}
.account-nav{display:flex;flex-direction:column;gap:3px}
.account-nav a{display:flex;align-items:center;gap:9px;padding:9px 11px;color:var(--muted);font-size:12px;border-radius:12px;text-decoration:none}
.account-nav a>svg{width:16px;height:16px;flex-shrink:0;stroke-width:1.5}
.account-nav a>small{margin-left:auto;font-size:11px;font-variant-numeric:tabular-nums}
.account-nav a[aria-current=page]{color:#ffbb87;background:var(--accent-soft)}
.account-nav a:hover{background:#2c251f;color:var(--night-text)}
.account-nav a:focus-visible,.account-record:focus-visible,.account-summary a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.account-sidebar .room-sidebar-bottom{border-color:var(--line);margin-top:24px}
.account-sidebar .room-sidebar-bottom :is(span,button){color:var(--muted);font-size:9px}
.account-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:2px 0 18px}
.account-intro h2{font:400 22px/1.5 LeferiBase,var(--body);color:var(--night-text);margin:0 0 7px;letter-spacing:-.5px}
.account-intro p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
.account-intro .btn{white-space:nowrap;font-size:11px}
.account-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:22px}
.account-summary a{padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-decoration:none;min-width:0}
.account-summary a:hover{border-color:#8b5c39;background:#29211a}
.account-summary a>span{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:11px;white-space:nowrap}
.account-summary svg{width:16px;height:16px;color:#dba171}
.account-summary strong{display:flex;align-items:baseline;gap:7px;color:var(--night-text);font:400 29px/1.4 LeferiBase,var(--body);margin-top:10px}
.account-summary small{font:10px var(--body);color:var(--muted);white-space:nowrap}
.account-list-heading{display:flex;justify-content:space-between;align-items:center;padding:0 0 13px;border-bottom:1px solid var(--line);gap:12px}
.account-list-heading h3{font-size:13px;font-weight:500;margin:0;color:var(--night-text)}
.account-list-heading>span{font-size:10px;color:var(--muted)}
.account-record{display:flex;align-items:center;gap:17px;padding:13px 3px;border-bottom:1px solid #352e27;color:var(--night-text);text-decoration:none}
.account-record:hover{background:#211b16}
.account-record-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#2b241d;color:#d6a17a;flex-shrink:0}
.account-record-icon svg{width:18px;height:18px;stroke-width:1.4}
.account-record-copy{min-width:0;flex:1}
.account-record-meta{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted);line-height:1.6}
.account-visibility{display:inline-flex;align-items:center;gap:4px;font-size:9px;color:#d4a781}
.account-visibility.is-private{color:#b8ada0}.account-visibility svg{width:11px;height:11px}
.account-record h3{font:400 16px/1.4 LeferiBase,var(--body);letter-spacing:-.25px;margin:4px 0;color:var(--night-text);overflow-wrap:anywhere}
.account-record-copy>p{font-size:10px;color:var(--muted);margin:0;line-height:1.5;overflow-wrap:anywhere}
.account-record-end{display:flex;align-items:center;gap:17px;flex-shrink:0;color:var(--muted);font-size:9px}
.account-record-end svg{width:15px;height:15px}
.account-empty{padding:66px 20px;text-align:center;color:var(--muted)}
.account-empty>svg{width:32px;height:32px;color:#bb8d69;margin-bottom:16px}
.account-empty h3{font:400 21px/1.5 LeferiBase,var(--body);color:var(--night-text)}
.account-empty p{font-size:12px;line-height:1.8;margin-bottom:24px}
.account-journal-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:18px}
.account-journal-tools>div{display:flex;gap:7px;flex-wrap:wrap}
.account-journal-tools button{font-size:10px;color:var(--muted);padding:8px 11px;border:1px solid var(--line);border-radius:999px}
.account-journal-tools button[aria-pressed=true]{color:#ffc08f;border-color:#986640;background:#302319}
.account-screen .private-storage-note{margin-left:230px;color:#a2988b}
.account-screen .private-layout.without-sidebar+.private-storage-note{margin-left:auto;margin-right:auto;text-align:center}
.account-screen .journal-reading-top>a{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);text-decoration:none}
.account-screen .journal-reading-top>a svg{width:15px;height:15px}
.account-detail .journal-body{min-height:0}
.account-detail-meta{font-size:12px;line-height:1.8;color:var(--muted)}
.account-score{display:flex;align-items:baseline;gap:8px;color:var(--muted);font-size:11px;margin-top:23px}
.account-score strong{font-size:26px;font-weight:500;color:#f3b381}
.account-detail-footer{padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);line-height:1.8}
@media(max-width:1050px){
 .account-screen .private-layout{grid-template-columns:165px minmax(0,1fr);gap:23px}
 .account-summary{gap:8px}.account-summary a{padding:16px 11px}.account-summary small{font-size:9px}
 .account-record-end{gap:8px}.account-record{gap:12px}.account-screen .private-storage-note{margin-left:188px}
}
@media(max-width:750px){
 .account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-record-end time{display:none}.account-record-end>span{display:none}
 .account-summary strong{margin-top:8px}.account-summary a{padding:14px}
}
@media(max-width:650px){
 .account-screen .private-heading{min-height:0;padding-top:28px;padding-bottom:25px}
 .account-screen .private-heading h1{font-size:29px}.account-screen .private-heading p{font-size:10px;max-width:160px}
 .account-preview-banner{padding:10px 12px;gap:9px;font-size:10px;align-items:flex-start}
 .account-screen .private-layout{display:block;margin-top:23px}
 .account-sidebar{gap:18px;padding-bottom:18px;margin-bottom:23px}
 .account-sidebar .room-profile{padding:0;align-items:center;text-align:left}
 .account-sidebar .room-avatar{width:38px;height:38px;margin:0}
 .account-sidebar .room-profile strong{font-size:13px}.account-sidebar .room-profile>span:last-child{font-size:8px}
 .account-sidebar .room-sidebar-bottom{order:0;margin:0 0 0 auto}
 .account-nav{width:100%;flex-direction:row;order:3;gap:4px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
 .account-nav::-webkit-scrollbar{display:none}
 .account-nav a{padding:9px 7px;font-size:10.5px;gap:5px;white-space:nowrap;flex-shrink:0}
 .account-nav a>svg{display:none}.account-nav a>small{font-size:10px;margin-left:2px}
 .account-intro{padding-bottom:16px}.account-intro h2{font-size:20px}.account-intro p{font-size:11px}
 .account-intro .btn{font-size:10px;padding:10px 12px}
 .account-summary{margin-bottom:20px}.account-summary strong{font-size:27px}
 .account-record{padding:12px 0;gap:11px}.account-record-icon{width:32px;height:35px}
 .account-record h3{font-size:15px}.account-record-copy>p{font-size:10px}
 .account-record-meta{font-size:9px;gap:8px}.account-visibility{font-size:8px}
 .account-record-end{display:none}.account-record-icon svg{width:16px;height:16px}
 .account-screen .private-storage-note{margin-left:0;font-size:9px}
 .account-journal-tools{flex-wrap:wrap;gap:10px}.account-journal-tools button{font-size:9px}
 .account-detail .journal-page-meta{flex-wrap:wrap;row-gap:7px}
}

/* Compact story copy stays together beneath the ivory drawing. */
#app :is(.letter-body,.account-detail-story .journal-body){font-size:13px;line-height:1.65;margin-top:18px;padding:17px 19px;border:1px solid var(--line);border-radius:12px;background:#191612;min-height:0}
#app :is(.letter-body,.account-detail-story .journal-body) p{margin:0 0 9px}
#app :is(.letter-body,.account-detail-story .journal-body) p:last-child{margin-bottom:0}
@media(max-width:520px){
 #app :is(.letter-body,.account-detail-story .journal-body){font-size:12px;line-height:1.65;margin-top:16px;padding:14px}
}

/* Lounge letters: copy on the left, a small note tucked into the upper right. */
#app .story-letter{display:flex;flex-direction:column;min-height:360px;background:#13110e;padding:30px 34px 24px}
.letter-main{display:flow-root}
#app .story-letter .letter-doodle{float:right;width:136px;padding:16px 12px;margin:15px 0 18px 24px}
#app .story-letter .letter-doodle .story-doodle{width:112px;height:104px}
#app .story-letter .letter-heading h2{font-size:26px;line-height:1.35;letter-spacing:-.85px;margin:15px 0 16px}
#app .story-letter .letter-body{font-size:14px;line-height:1.45;background:none;border:0;border-radius:0;margin:0;padding:0}
#app .story-letter .letter-body p{margin:0 0 2px}
#app .story-letter .letter-body p:last-child{margin-bottom:0}
#app .story-letter .letter-signoff{margin-top:auto;padding-top:30px}
#app .story-letter .letter-like{padding-top:17px;gap:5px}
#app .story-letter .letter-like .like-count{margin-left:3px}
.letter-like-prefix{font-size:12px;font-weight:600}
#app .letter-replies{margin-top:18px;padding-top:0}
#app .letter-replies .comment-form{margin:0;gap:9px}
#app .letter-replies #comment-list:not(:empty){margin-bottom:16px}
#app .letter-replies .comment-form input{background:#13110e;border-color:var(--line);color:var(--night-text)}
#app .letter-replies .comment-form input::placeholder{color:var(--muted)}
#app .letter-replies .comment-form button{background:#2b2118;border-color:#65503f;color:#e9d8c8}
#app .letter-replies .comment-form button:hover{background:var(--accent-soft);border-color:var(--accent)}
#app .drink-menu h3{font-size:22px;line-height:1.3;letter-spacing:-.85px;white-space:nowrap}
#app .bartender-note p{line-height:1.5}
@media(min-width:761px){
 #app .reading-room{grid-template-columns:minmax(0,1fr) 320px}
 #app .drink-menu{padding:26px 20px}
}
@media(max-width:1050px) and (min-width:761px){
 #app .story-letter{padding:26px 24px 22px}
 #app .story-letter .letter-doodle{width:112px;padding:13px 10px;margin-left:18px}
 #app .story-letter .letter-doodle .story-doodle{width:92px;height:86px}
 #app .story-letter .letter-heading h2{font-size:24px}
}
@media(max-width:760px){
 #app .letter-replies{order:1;margin-top:0}
 #app .drink-companion{order:2}
 #app .drink-menu h3{white-space:normal;word-break:keep-all}
}
@media(max-width:520px){
 #app .story-letter{min-height:0;padding:24px 20px 19px}
 #app .story-letter .letter-doodle{width:92px;padding:11px 8px;margin:12px 0 12px 15px}
 #app .story-letter .letter-doodle .story-doodle{width:76px;height:70px}
 #app .story-letter .letter-heading h2{font-size:22px;line-height:1.35;letter-spacing:-.7px;margin:12px 0 13px}
 #app .story-letter .letter-body{font-size:12px;line-height:1.45}
 #app .story-letter .letter-signoff{padding-top:24px}
 #app .drink-menu h3{font-size:21px}
 .letter-like-prefix{font-size:11px}
}

/* Small supporting text needs more weight against the night palette. */
:is(#app,#modal-root) :is(
 .account-nav a,.account-preview-banner,.account-intro p,.account-summary a>span,.account-summary small,
 .account-record-meta,.account-visibility,.account-record-copy>p,.account-record-end,.account-list-heading>span,
 .account-detail-meta,.account-detail-footer,.account-journal-tools button,.room-profile>span:last-child,
 .room-sidebar-bottom span,.room-sidebar-bottom button,.private-heading p,.private-status,.private-storage-note,
 .journal-entry-meta,.journal-entry-end,.journal-entry p,.journal-page-meta,.journal-page-footer,.journal-pairing small,
 .journal-search input,#journal-sort,.journal-reading-top,.journal-date span,.journal-preview-note,.private-footer,
 .letter-category,.letter-byline,.letter-like-copy,.detail-toolbar>span,.drink-english,.drink-tags,.drink-base,
 .bartender-note p,.reply-heading>span,.comment-meta small,.comment-form input,.post-report,
 .hero-kicker,.hero-copy>p,.wall-kicker,.lounge-footer,.sort-control,.cat-btn,.wall-back,
 .rw-small,.rw-meta,.rw-muted,.rw-kicker,.rw-tags,.rw-editorial-note,.rw-visibility,.rw-sort-label,
 .rw-product-link,.rw-review-bottom,.rw-footer,.rw-label,.rw-status,
 .fb-kicker,.fb-address,.fb-line,.fb-map-caption,.fb-map-key,.fb-demo-note,.fb-field-note,.fb-form-meta,.fb-footer,
 .field-label,.login-prototype,.bar-footnote,.bar-space-link,.age-notice p
){font-weight:500}
:is(#app,#modal-root) :is(.account-nav small,.account-list-heading h3,.journal-toolbar>div>span,.note-card .story-meta,.note-card .drink-row small,.note-card .drink-row strong,.rw-kicker,.fb-kicker,.wall-kicker,.field-label){font-weight:600}

/* Reviews: neutral night surfaces, orange actions and selected states. */
:is(#app,#modal-root) .rw-editorial,:is(#app,#modal-root) .rw-sidebar .rw-panel{background:var(--panel);border-color:var(--line)}
:is(#app,#modal-root) :is(.rw-score,.rw-ratingtop strong,.rw-productcard strong,.rw-quote strong){color:#ffb579}
:is(#app,#modal-root) .rw-tags span{background:#34291f;color:#dfc6af;border-radius:var(--radius-button)}
:is(#app,#modal-root) .rw-glass-tile{background:#30261e;color:#e0ae84}
.tasting-page .rw-tabs a:nth-child(-n+2){font-size:17px}
.rw-tabs .rw-tab-label{display:inline-block;transform:translate(2px,4px)}
@media(max-width:680px){.tasting-page .rw-tabs a:nth-child(-n+2){font-size:15px}}
@media(max-width:430px){.tasting-page .rw-tabs a:nth-child(-n+2){font-size:13px}}
:is(#app,#modal-root) .rw-tabs a[aria-current=page]{color:#ffc08d}
:is(#app,#modal-root) .rw-tabs a[aria-current=page]:after,:is(#app,#modal-root) .rw-bar i{background:var(--accent)}
:is(#app,#modal-root) :is(.rw-choice span,.rw-checks span,.rw-visibility label){background:#251f19;border-color:#594938;color:#d9cdbf}
:is(#app,#modal-root) :is(.rw-choice input:checked+span,.rw-checks input:checked+span,.rw-visibility label:has(input:checked)){
 background:#39291d;border-color:var(--accent);color:#ffca9d;
}
:is(#app,#modal-root) .rw-wrap :is(input:not([type=radio]):not([type=checkbox]),select,textarea){border-color:#594938}
:is(#app,#modal-root) .rw-formsection summary{color:#e6b18a}
:is(#app,#modal-root) :is(.rw-visibility input,.report-reason input),.report-reason input{accent-color:var(--accent)}
:is(#app,#modal-root) .rw-action-button[aria-pressed=true]{color:#ffb579;border-color:var(--accent);background:var(--accent-soft)}
:is(#app,#modal-root) .rw-wrap a:not(.rw-button):hover{color:var(--accent-hover)}

/* The map's controls use the same accent; NAVER's map and logo are untouched. */
:is(#app,#modal-root) .favorite-bars-page{background:var(--bg)}
:is(#app,#modal-root) .fb-place.selected{border-color:transparent;border-bottom-color:#544536;box-shadow:none;background:transparent}
:is(#app,#modal-root) .fb-place.selected h2{color:#ff963f;font-weight:600;-webkit-text-stroke:.35px currentColor}
:is(#app,#modal-root) .fb-place.selected .fb-thumbnail{border-color:#ff963f}
:is(#app,#modal-root) .fb-number{color:#eeac77}
:is(#app,#modal-root) .fb-heart[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:#ffb579}
:is(#app,#modal-root) .fb-map-search{border-color:#a16b41}
:is(#app,#modal-root) .fb-map-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px #ed893e35,0 5px 18px #0005}
:is(#app,#modal-root) .fb-map-search>button{background:var(--accent);color:var(--on-accent)}
:is(#app,#modal-root) .fb-map-search>button:hover{background:var(--accent-hover)}
:is(#app,#modal-root) .fb-register :is(input,select,textarea):focus{outline-color:var(--accent)}
.report-target{border-left-color:var(--accent);background:var(--panel);border-radius:var(--radius-surface)}
.report-dialog{background:var(--panel);border-color:var(--line)}
.report-form textarea{background:var(--night-input);border-color:#594938}

@media(prefers-reduced-motion:reduce){
 :is(#app,#modal-root) .note-card.story-card{transition:none}
}

/* Shared confirmation and understated delete actions for authored records. */
#app .record-delete{font:600 12px/1.4 var(--body);color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:var(--radius-button);padding:8px 14px;cursor:pointer;white-space:nowrap}
#app .record-delete:hover{color:#ffc899;border-color:var(--accent)}
.account-detail-footer,.journal-page-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.journal-page-footer .record-delete{margin-left:auto}
.delete-dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid #65503f;border-radius:12px;background:var(--panel);color:var(--night-text);box-shadow:0 18px 60px #0007;font:14px/1.6 var(--body)}
.delete-dialog::backdrop{background:#0009}
.delete-dialog h2{font:600 21px/1.4 var(--body);margin:0 0 18px}
.delete-dialog .delete-target{padding:12px 14px;background:var(--bg);border-radius:8px;font-weight:600;overflow-wrap:anywhere;white-space:pre-line;max-height:150px;overflow:auto}
.delete-dialog #delete-description{font-size:12px;color:var(--muted);margin:14px 0 0}
.delete-dialog .delete-error{color:#ffc19a;font-size:12px;margin:12px 0 0}
.delete-dialog .delete-error:empty{display:none}
.delete-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}
.delete-actions button{font:600 13px/1.4 var(--body);border:1px solid #65503f;border-radius:var(--radius-button);padding:10px 24px;color:var(--night-text);background:transparent;cursor:pointer}
.delete-actions [data-delete-confirm]{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:700}
.delete-actions [data-delete-confirm]:hover{background:var(--accent-hover)}
.delete-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* A quiet invitation to keep the conversation before leaving Louis's table. */
#modal-root .conversation-exit-modal{width:650px;padding:34px;background:#1d1814;border-color:#63503f;text-align:center}
.conversation-exit-icon{display:grid;place-items:center;width:104px;height:76px;margin:0 auto 16px}
.conversation-exit-icon img{display:block;width:104px;height:76px}
#modal-root .conversation-exit-modal h2{font:600 23px/1.4 var(--body);letter-spacing:-.6px;padding:0;margin:0 0 12px;color:#f5e9da;white-space:nowrap}
#modal-root .conversation-exit-intro{margin:0;font-size:13px;line-height:1.6;color:#c4b6a6}
.conversation-exit-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0 0;text-align:left}
.conversation-exit-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0;padding:22px 18px;border:1px solid #5e4b3b;border-radius:12px;background:#241e18;color:#f2dfcb;text-align:left;font-family:var(--body);cursor:pointer}
.conversation-exit-choices button[data-exit-choice=public]{background:#332419;border-color:#bd7a48}
.conversation-exit-choices button:hover:not(:disabled){border-color:#efa56d;background:#3b2a1d}
.conversation-exit-choices button:disabled{opacity:.55;cursor:wait}
.exit-choice-icon{display:grid;place-items:center;width:32px;height:32px;color:#edaa74}
.exit-choice-icon svg{width:25px;height:25px}
.conversation-exit-choices strong{font-size:14px;line-height:1.5;letter-spacing:-.4px;word-break:keep-all}
.conversation-exit-choices button>span:not(.exit-choice-icon){font-size:12px;line-height:1.6;color:#cbb9a7;word-break:keep-all}
.conversation-exit-choices small{margin-top:auto;font-size:10px;line-height:1.5;color:#e7ad7d;font-weight:600}
#modal-root .conversation-exit-status{font-size:12px;line-height:1.5;color:#edaa74;margin:14px 0 0}
.conversation-exit-status:empty{display:none}
.conversation-exit-footer{display:flex;justify-content:center;gap:22px;margin:24px 0 0}
.conversation-exit-footer button{font:600 11px/1.5 var(--body);color:#c6b6a4;padding:6px 0;cursor:pointer}
.conversation-exit-footer [data-exit-without-save]{color:#a79584;text-decoration:underline;text-underline-offset:4px}
#modal-root .conversation-exit-demo{margin:22px 0 0;padding-top:16px;border-top:1px solid #42362b;text-align:left;font-size:10px;line-height:1.6;color:#a99887;word-break:keep-all}
.conversation-diary-modal>.eyebrow{display:flex;align-items:center;gap:7px}
.conversation-diary-modal>.eyebrow svg{width:15px;height:15px}
.conversation-diary-modal textarea{min-height:180px}
/* A few small answers lead into a conversation; the composer stays available. */
#app .chat-panel{height:clamp(700px,82svh,790px)}
#app .suggestions{display:block;flex:none;padding:0 20px 14px}
.conversation-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;color:#c2ad97;font-size:11px}
#app .conversation-choice-heading button{padding:3px 0;border:0;background:none;color:#e9ac78;font-size:11px;display:flex;align-items:center;gap:5px}
.conversation-choice-heading svg{width:12px;height:12px}
.conversation-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#app .conversation-choice-grid button{min-height:37px;padding:9px 8px;border:1px solid #66503d;background:#2d231b;color:#f2dfcd;font:500 12px/1.4 var(--body);word-break:keep-all}
#app .conversation-choice-grid button:hover:not(:disabled){border-color:#dc945b;background:#49311f;color:#fff2e4}
#app .suggestions button:disabled{opacity:.5;cursor:wait}
@media(max-width:560px){
 #app .chat-panel{height:710px}
 #app .suggestions{padding:0 17px 13px}
 #app .conversation-choice-grid button{min-height:40px;font-size:11px}
}
@media(max-width:560px){
 #modal-root .conversation-exit-modal{padding:28px 22px}
 #modal-root .conversation-exit-modal h2{font-size:23px;white-space:normal;word-break:keep-all}
 .conversation-exit-choices{grid-template-columns:1fr;gap:10px;margin-top:22px}
 .conversation-exit-choices button{padding:17px 18px;gap:8px}
 .conversation-exit-choices .exit-choice-icon{display:none}
 .conversation-exit-footer{gap:20px;margin-top:20px}
}
