/* v6.0.8 Reader's Journal -- inherited palette from RYU v6.0 */
.ryu-records-tab[hidden]{display:none!important}.ryu-records-tab{order:3!important}
.brand-mark.ryu-admin-brand-link{cursor:pointer;text-decoration:none;color:inherit;display:flex;align-items:center;justify-content:center;transition:filter .18s}
.brand-mark.ryu-admin-brand-link:hover,.brand-mark.ryu-admin-brand-link:focus-visible{filter:drop-shadow(0 0 9px rgba(204,166,95,.4));outline:1px solid rgba(206,169,107,.58);outline-offset:3px}
.ryu-records-dialog{border:1px solid #97794e;border-radius:18px;padding:0;max-width:min(1030px,96vw);width:960px;max-height:92dvh;color:#eee0c7;background:#191414;box-shadow:0 25px 90px #000a;overflow:auto;font-family:'Noto Serif KR','KoPub Batang',Georgia,serif;overscroll-behavior:contain}
.ryu-records-dialog::backdrop{background:rgba(3,4,7,.78);backdrop-filter:blur(7px)}
.rr-shell{padding:24px clamp(16px,3vw,38px) 34px;background:radial-gradient(ellipse at 80% 0%,#42302655,transparent 53%),#191414}
.rr-top{display:flex;align-items:center;justify-content:space-between;color:#b89462;letter-spacing:2px;font-family:Georgia,serif;font-size:11px;border-bottom:1px solid #86674765;padding-bottom:14px}
.rr-top button{border:1px solid #a78d6170;color:#e4c799;background:transparent;padding:5px 12px;border-radius:8px;font-size:25px;cursor:pointer}
.rr-header{padding:26px 0 18px;border-bottom:1px solid #83624045;margin-bottom:18px}.rr-header h2{font-size:clamp(30px,3vw,39px);font-weight:600;margin:7px 0}.rr-header p{color:#b9a992;font-size:14px;margin:4px 0}.rr-eyebrow{letter-spacing:2.2px;color:#c59c6f;font:11px Georgia,serif}
.rr-profile{background:linear-gradient(110deg,#38231e,#1e1717 70%);border:1px solid #916d47;border-radius:13px;padding:20px;display:grid;grid-template-columns:155px 1fr;gap:26px;align-items:center;box-shadow:inset 0 0 0 4px #241814}
.rr-avatar-wrap{border:1px solid #bc9667;padding:7px;border-radius:6px;background:#20191a}.rr-avatar{width:155px;height:155px;object-fit:cover;display:block;border:1px solid #a17b55;border-radius:4px;max-width:100%}
.rr-identity h3{font-size:30px;margin:7px 0;color:#ffefdc}.rr-bio{color:#c9a16a;font-size:15px}.rr-identity dl{display:grid;grid-template-columns:minmax(62px,95px) 1fr;gap:8px;font-size:14px;margin:16px 0 0}.rr-identity dt{color:#bca889}.rr-identity dd{margin:0;overflow-wrap:anywhere}
.rr-grade-badge,.rr-author-badge{display:inline-flex;align-items:center;gap:8px;color:#e1bb82;border:1px solid #a67f5277;padding:4px 12px;border-radius:24px;font:12px 'Noto Serif KR',serif}
.rr-author-badge{font-size:21px;width:41px;height:41px;justify-content:center;border-radius:50%;background:#291c1b;box-shadow:inset 0 0 0 2px #332825}
.rr-books,.ryu-grade-stack{display:inline-flex;align-items:end;gap:1.5px;height:18px;vertical-align:middle;color:var(--rr-grade,#c7a36e);margin-right:5px}
.rr-books i,.ryu-grade-stack i{display:inline-block;width:4px;height:13px;background:linear-gradient(90deg,currentColor,transparent);border:1px solid currentColor;border-radius:1px;position:relative}
.rr-books i:before,.ryu-grade-stack i:before{content:'';position:absolute;top:3px;left:0;width:100%;height:1px;background:currentColor}
.rr-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}.rr-stat{border:1px solid #88634355;background:#281d1a;border-radius:10px;padding:17px 8px;display:flex;align-items:center;flex-direction:column;gap:5px}.rr-stat strong{color:#e8c78d;font-size:24px}.rr-stat span{color:#cfb79b;font-size:12px}
.rr-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rr-paper{border:1px solid #80603c77;background:#271b17;border-radius:11px;padding:18px 20px;margin:12px 0;color:#ddc9af}.rr-paper h3{margin:0 0 12px;font-size:19px;color:#f0d9b0}.rr-paper p{font-size:14px;line-height:1.8}.rr-paper small,.rr-muted{color:#a28d77;font-size:12px}
.rr-actions{background:#231b19}.rr-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0 0}
.rr-paper button,.rr-buttons button{font:inherit;border:1px solid #a08056;color:#efd3a8;background:#35231c;border-radius:7px;padding:10px 16px;cursor:pointer}.rr-paper button:hover,.rr-paper button:focus-visible{background:#60432f}
.rr-paper form{display:grid;gap:11px}.rr-paper label{display:flex;flex-direction:column;gap:6px;font-size:13px}.rr-paper input:not([type=checkbox]),.rr-paper select{background:#17181e;color:#f0dfc3;border:1px solid #80674a;border-radius:6px;min-height:42px;padding:8px 12px;font-size:15px}
.rr-paper .rr-check{display:flex;flex-direction:row;align-items:center;gap:9px}.rr-avatar-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.rr-avatar-list button{padding:3px;aspect-ratio:1;background:#271e1a;border:1px solid #544437;border-radius:6px}.rr-avatar-list button.selected{border:3px solid #e6bb7c}.rr-avatar-list img{display:block;width:100%;height:100%}
.rr-form-label{font-size:13px;color:#d4bd98}.rr-error{color:#d5a29b}.rr-recovery-code{overflow-wrap:anywhere;display:block;background:#1d1919;padding:18px;color:#f0d9b0}.ryu-comment-author{cursor:pointer;color:#ddc4a2}.ryu-comment-author:hover{text-decoration:underline}.ryu-author-seal{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c49c6a;border-radius:50%;color:#d8b379;width:24px;height:24px;margin-right:8px;font:17px Georgia,serif}
.ryu-grade-stack[data-grade='reader']{color:#96999b}.ryu-grade-stack[data-grade='regular']{color:#b88c71}.ryu-grade-stack[data-grade='excellent']{color:#93a7a0}.ryu-grade-stack[data-grade='collector']{color:#c3a16e}.ryu-grade-stack[data-grade='vip']{color:#d6ba82}
.ryu-grade-edit-row{display:flex;align-items:center;gap:10px;margin:7px 0}.ryu-grade-edit-row strong{width:110px}.ryu-grade-edit-row input{min-height:35px;color:inherit;background:#171d20;border:1px solid #977a55;padding:6px;border-radius:5px}.ryu-grade-edit-row input[type=color]{width:47px;padding:3px}.ryu-grade-editor-controls{padding:12px 0}
@media(max-width:650px){.rr-shell{padding:15px 14px 25px}.ryu-records-dialog{width:98vw;max-height:96dvh}.rr-profile{grid-template-columns:102px 1fr;gap:14px;padding:12px}.rr-avatar{width:102px;height:102px}.rr-identity h3{font-size:21px}.rr-identity dl{font-size:12px;grid-template-columns:52px 1fr}.rr-stats{grid-template-columns:repeat(2,1fr)}.rr-columns{grid-template-columns:1fr}.rr-avatar-list{grid-template-columns:repeat(6,minmax(0,1fr))}.rr-top{font-size:9px;letter-spacing:1px}.rr-identity .rr-bio{font-size:13px}}
/* Transparent rail button matches the other three tabs and respects the existing theme. */
.drawer-rail #ryu-records-rail{display:grid;place-items:center;align-content:center;gap:5px;width:59px;min-width:59px;min-height:61px;margin:0;padding:8px 4px;border:1px solid transparent!important;border-radius:8px 0 0 8px;background:transparent!important;color:#d5ac76;box-shadow:none!important;cursor:pointer;font:600 11px/1.25 'Noto Serif KR',serif}
.drawer-rail #ryu-records-rail:hover{background:transparent!important;border-color:#c4a07488!important;color:#f4d6a9}
.drawer-rail #ryu-records-rail:focus-visible{outline:1px solid #d2ab77;outline-offset:1px}
.drawer-rail #ryu-records-rail[hidden]{display:none!important}

.ryu-post-author{display:inline-flex;align-items:center;border:0;background:transparent;color:#caa778;gap:8px;cursor:pointer;margin:6px 0 15px;padding:3px 5px;font:13px 'Noto Serif KR',serif}.ryu-post-author:hover{text-decoration:underline}

/* v6.0.10: book-image reading journal, separate nickname security form */
.ryu-records-dialog .rr-cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:18px;align-items:start}
.ryu-records-dialog .rr-cover-button{display:flex;flex-direction:column;align-items:center;gap:9px;background:transparent;border:1px solid transparent;color:inherit;border-radius:8px;padding:8px;min-height:170px;width:100%;text-align:center;cursor:pointer}
.ryu-records-dialog .rr-cover-button:hover,.ryu-records-dialog .rr-cover-button:focus-visible{border-color:#b18a55;background:#a6804a16}
.ryu-records-dialog .rr-cover-art{display:flex;align-items:center;justify-content:center;max-width:140px;width:100%;height:168px}
.ryu-records-dialog .rr-cover-art img{max-height:168px;max-width:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 9px 20px #0008;border:1px solid #b18a5555;border-radius:3px}
.ryu-records-dialog .rr-cover-fallback{font-family:serif;letter-spacing:.2em;color:#bba17b}
.ryu-records-dialog .rr-cover-caption{display:flex;flex-direction:column;gap:4px;align-items:center;font-size:13px;line-height:1.4}
.ryu-records-dialog .rr-cover-caption small{font-size:11px;color:#b9a080}
.ryu-records-dialog .rr-book-highlight .rr-cover-button{max-width:185px;align-items:flex-start;text-align:left}
.ryu-records-dialog .rr-nickname-paper form{display:grid;gap:12px;max-width:520px}
.ryu-records-dialog .rr-nickname-paper input[readonly],.ryu-records-dialog .rr-nickname-paper input:disabled{opacity:.7;background:#201b1a}
.ryu-records-dialog .rr-nickname-paper #rr-nickname-check{min-height:23px;color:#d6b586}
@media(max-width:560px){.ryu-records-dialog .rr-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ryu-records-dialog .rr-cover-art{height:134px}.ryu-records-dialog .rr-cover-art img{max-height:134px}}

/* v6.7.1b: reader pass status aligned to the collector seal without drawing attention away from books. */
.rr-identity .rr-pass-status{display:inline-flex;align-items:center;margin:0 0 5px 7px;padding:3px 9px;vertical-align:middle;border:1px solid rgba(191,159,99,.48);border-radius:999px;color:#e0c99f;background:rgba(34,44,37,.54);font:500 11px/1.5 'Noto Sans KR',sans-serif;white-space:normal;max-width:100%;box-sizing:border-box}
@media(max-width:600px){.rr-identity .rr-pass-status{margin-left:4px;font-size:10px}}
