/* Вольск / Дневник странника — edition 1.3 */
:root{--bg:#111a17;--surface:#1a2520;--elevated:#24302a;--text:#eee9dc;--muted:#acb5a8;--gold:#c9b789;--line:#b5b39b26;--paper:#e2dcc8;--ink:#29352d;--radius:16px}
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse at 82% 10%,#32433522,transparent 54%),#111a17;color:var(--text);font-size:14px;overflow-x:hidden}body:before{content:'';position:fixed;inset:0;opacity:.035;pointer-events:none;z-index:50;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' d='M0 0h150v150H0z' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}em{font-weight:400;color:var(--gold)}button{touch-action:manipulation}svg.icon{fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #ddc58b;outline-offset:4px}p{line-height:1.7}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:600}.btn{min-height:50px;padding:14px 22px;gap:12px;border-radius:8px;background:#cbbb92;color:#17241d;border:1px solid #cfbf98;box-shadow:inset 0 1px #fffffb40;font-size:12px;letter-spacing:.015em}.btn:hover:not(:disabled){background:#dfcfaa;box-shadow:0 7px 24px #0002}.btn.secondary{border-color:#b1b49e44;background:transparent;color:var(--text)}.btn.secondary:hover{background:#d1caac12;border-color:#cbbc9477}.icon-btn{width:46px;height:46px;border-radius:50%;background:#d3d3b907;border-color:var(--line)}.text-link{min-height:46px}.field>span{font-size:11px;color:var(--muted)}.field input,.field select,textarea{border:1px solid #bdc4a834;background:#152019;color:var(--text);border-radius:8px;min-height:50px}.field input:focus,.field select:focus,textarea:focus{border-color:#d6c497;box-shadow:0 0 0 3px #b7b08b0d}.password-wrap button{top:3px;height:44px;width:44px}.brand strong{font-size:26px;letter-spacing:.2em}.brand small{font-size:8px;letter-spacing:.37em}.brand img{width:39px;height:48px}.brand{gap:12px}.full{width:100%}.notice{background:#c8bc920a;border-color:var(--line);font-size:12px;line-height:1.6}.writing:after{font-size:.8em}.pill{background:#141f18c9;border-color:#c8bd9040}.muted{color:var(--muted)}
.d-shell{display:grid;grid-template-columns:232px minmax(0,1fr);max-width:1680px;margin:auto;min-height:100svh}.d-rail{padding:43px 25px 24px;position:sticky;top:0;height:100svh;display:flex;flex-direction:column;border-right:1px solid var(--line);background:linear-gradient(145deg,#26322a50,#10191490)}.d-brand{padding:5px 0}.d-rail-rule{height:1px;background:linear-gradient(90deg,#c3b4864d,transparent);margin:36px 0 25px}.d-rail-caption{color:#849181;font-size:8px;margin:0 14px 17px}.d-navigation{display:flex;flex-direction:column;gap:9px}.d-navigation button{display:flex;align-items:center;gap:15px;text-align:left;min-height:55px;border-radius:10px;padding:13px 15px;color:#a5b0a0;border:1px solid transparent;position:relative}.d-navigation button small{margin-left:auto;font-size:9px;color:#73816d}.d-navigation button.active{background:#a5ad8510;border-color:#babc872b;color:#e7dbc0}.d-navigation button.active:before{content:'';position:absolute;left:-26px;width:3px;height:22px;border-radius:4px;background:var(--gold)}.d-navigation button:hover{background:#aeb68e0b}.d-navigation svg{width:21px}.d-rail-quote{margin:auto 0;text-align:center;color:#768770;padding:32px 0}.d-rail-quote>span{font-size:35px;color:#a7a07988}.d-rail-quote p{font-family:Cormorant,Georgia,serif;font-size:27px;line-height:1.25;margin:13px 0 23px}.d-rail-quote small{font-size:8px;letter-spacing:.24em}.d-rail-profile{border-top:1px solid var(--line);padding:22px 0 0;display:flex;align-items:center;gap:11px;text-align:left;min-width:0}.d-rail-profile>span{font-size:11px;min-width:0;overflow-wrap:anywhere}.d-rail-profile small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.d-rail-profile>svg{margin-left:auto}.avatar{background:radial-gradient(circle at 30% 20%,#5c6951,#243625);border-color:#b9bc8390;color:#e9e4c9}.d-workspace{min-width:0;padding:0 5.5%}.d-topline{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.d-location{display:flex;align-items:center;gap:10px;font-size:10px;color:#96a08f}.d-location i{height:3px;width:3px;background:#9ba485;border-radius:50%;margin:0 7px}.d-topline .clock{font-size:11px;color:#aeb39c;letter-spacing:.06em}.d-page{padding:37px 0 15px;animation:diary-appear .45s ease both}.d-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:32px}.d-heading h1{font-size:clamp(40px,4.3vw,66px);line-height:.99;letter-spacing:-.018em;margin:14px 0 0}.d-heading h1 em{line-height:1.1}.d-heading p{font-size:12px;color:var(--muted);margin-top:16px}.d-heading .eyebrow{font-size:9px;color:#b8ba98}.d-heading .btn{flex-shrink:0}.d-chapter-switch{min-height:55px;display:flex;align-items:center;gap:12px;text-align:left;color:#b7baa1;border:1px solid var(--line);padding:12px 16px;border-radius:10px;font-size:10px;line-height:1.5}.d-banner{display:flex;align-items:center;gap:10px;margin:17px 0 0;padding:9px 14px;border:1px solid #d1bd6940;border-radius:8px;background:#c0a56009;color:#c1bf9f;font-size:11px}.d-banner button{margin-left:auto;text-decoration:underline;min-height:36px}.d-footer{margin-top:40px;padding:22px 0 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:#74826e;font-size:9px}.d-footer span:last-child{font-size:8px;letter-spacing:.14em}
.d-paper{background:radial-gradient(ellipse at 30% 0,#f4edda88,transparent 75%),var(--paper);color:var(--ink);position:relative}.d-paper:before{content:'';position:absolute;inset:12px;border:1px solid #6f795329;pointer-events:none}.d-paper .eyebrow{color:#6f7855}.d-paper .btn.secondary{color:var(--ink);border-color:#58684448}.d-paper .btn{background:#2a3e2d;border-color:#2a3e2d;color:#ede9d7}.d-paper .btn:hover{background:#3e5338}.d-paper .btn.secondary{background:transparent}.d-opening{display:grid;grid-template-columns:1.07fr 1fr;border:1px solid var(--line);border-radius:13px;overflow:hidden;min-height:430px}.d-opening-art{position:relative;min-height:430px;overflow:hidden}.d-opening-art>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.d-opening-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 30%,#0a1712b0)}.d-photo-index{position:absolute;z-index:3;left:27px;bottom:25px;display:flex;flex-direction:column;color:#efe9d6}.d-photo-index span{font-size:8px;letter-spacing:.2em}.d-photo-index strong{font:82px Cormorant,Georgia,serif;line-height:1;margin:8px 0}.d-photo-index small{font-size:10px;color:#d0d3bd}.d-opening-copy{padding:40px 36px 28px;display:flex;flex-direction:column;justify-content:center}.d-opening-copy h2{font-size:40px;margin:12px 0 20px}.d-opening-copy .narrative{color:#374532;font-size:calc(24px * var(--font-scale));line-height:1.5;min-height:144px}.d-paper-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #5866403b;padding-top:24px;margin-top:22px}.d-page-count{font-family:Cormorant,Georgia,serif;font-size:24px;white-space:nowrap;color:#344831}.d-page-count i{font-family:Manrope,sans-serif;font-size:11px;font-style:normal;color:#727a63;margin-left:5px}.d-reading-tip{font-size:9px;color:#7e846d;margin-top:18px}.d-path-strip{padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#adb8a3}.d-path-strip b{font:36px Cormorant,Georgia,serif;color:#ded4b8}.d-path-strip small{font:12px Manrope,sans-serif;color:#7a896f}.d-section-line{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0 17px}.d-section-line h3{font-size:25px}.d-section-line>span{font-size:10px;color:#a9b596}.d-traces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.d-trace.location-card{height:410px;position:relative;border-radius:12px;isolation:isolate;background:#213027;box-shadow:none;text-align:left;overflow:hidden;border:1px solid #aeb49338;flex-basis:initial}.d-trace:after{background:linear-gradient(180deg,#111b1630,transparent 30%,#0d1915f5 100%)}.d-trace>img{position:absolute;inset:0;object-fit:cover;width:100%;height:100%;z-index:-2;transition:transform .8s}.d-trace:hover>img{transform:scale(1.045)}.d-trace-top{display:flex;justify-content:space-between;align-items:center;gap:10px;position:relative;padding:17px}.d-trace-top>span:first-child{font:30px Cormorant,Georgia,serif}.d-chip{font-size:9px;letter-spacing:.025em;padding:7px 10px;border:1px solid #c5c19c38;background:#122117ac;border-radius:30px;display:inline-flex;align-items:center;gap:7px;color:#d3d5bb;backdrop-filter:blur(8px)}.d-chip i{width:5px;height:5px;background:#d4c087;border-radius:50%}.d-trace-copy{position:absolute;left:22px;right:22px;bottom:23px}.d-trace-copy h2{font-size:34px;margin:10px 0}.d-trace-copy .eyebrow{font-size:8px}.d-trace-copy p{font-size:11px;line-height:1.6;color:#b8c1ae}.d-round-arrow{display:grid;place-items:center;width:37px;height:37px;border:1px solid #c0b18470;border-radius:50%;margin-top:19px;color:var(--gold)}.d-trace-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px;color:#8f9d84;font-size:10px}.d-trace-footer>span{display:flex;align-items:center;gap:8px}.d-route-bar{display:flex;align-items:center;gap:15px;padding:13px 0;border-block:1px solid var(--line);font-size:10px;color:#aab79b}.d-route-bar button{margin-left:auto;min-height:42px;display:flex;align-items:center;gap:7px;color:#c9c4a4}.d-view-tabs{display:flex;gap:7px;margin:20px 0 18px}.d-view-tabs button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 18px;border-radius:25px;font-size:11px;color:#9eae91;border:1px solid transparent}.d-view-tabs .active{background:#344832;color:#e5dfc5;border-color:#85906c40}.d-route-card{display:grid;grid-template-columns:1.15fr 1fr;min-height:370px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#1b281f}.d-route-photo{position:relative;min-height:370px}.d-route-photo>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.d-route-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 70%,#0e1a17a0)}.d-image-caption{position:absolute;left:23px;right:23px;bottom:22px;z-index:1;font-size:9px;letter-spacing:.05em;color:#dbddc8}.d-route-copy{padding:35px;display:flex;flex-direction:column;justify-content:center}.d-route-copy h2{font-size:44px;margin:13px 0 17px}.d-route-copy>p{color:#b6c0aa;font-size:12px}.d-hint-link{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 0;margin-top:24px;min-height:48px;text-align:left;font-size:12px;color:#d0c29a}.d-hint-link small{margin-left:auto;color:#7f9273;font-size:10px}.d-route-stamp{display:flex;align-items:center;gap:13px;margin-top:14px;font-size:10px;color:#819475;line-height:1.6}.d-route-stamp>svg{height:30px;width:30px}.d-route-action{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 0}.d-route-action>span{font-size:11px;color:#9da98e}.d-map-panel{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#19271e}.d-map-title{display:flex;justify-content:space-between;align-items:center;padding:20px 25px}.d-map-title h2{font-size:32px;margin-top:3px}.d-map-title>img{width:52px;height:62px;object-fit:cover;border-radius:5px;border:1px solid #bec19750}.d-map-panel .map-wrap{height:390px}.d-gps-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 20px;font-size:11px;color:#c1c5ad}.d-map-credit{padding:0 20px 13px;font-size:8px;color:#788b73}.map-controls button{min-height:44px;min-width:44px;background:#152419}.map-controls{bottom:25px}.user-marker{background:#e6dec0;border-color:#698866;box-shadow:0 0 0 7px #adc99322}.leaflet-container{background:#26372d!important}
.d-total{font:65px Cormorant,Georgia,serif;line-height:1;color:#d5c79e;white-space:nowrap}.d-total small{font:16px Manrope,sans-serif;color:#7e8d72;margin-left:6px}.d-shelf-note{display:flex;align-items:center;gap:16px;border-block:1px solid var(--line);padding:18px 0;color:#c8caac}.d-shelf-note>svg{height:32px;width:32px;color:#bca978}.d-shelf-note p{margin:0;line-height:1.5}.d-shelf-note strong{display:block;font:22px Cormorant,Georgia,serif;font-weight:400}.d-shelf-note p span{font-size:11px;color:#99a98d;display:block;margin-top:4px}.d-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:22px 0;white-space:nowrap}.d-filters button{min-height:43px;font-size:10px;border:1px solid #82907330;border-radius:23px;padding:9px 16px;color:#a1b094;flex-shrink:0}.d-filters .active{background:#d6c49a;color:#263621;border-color:#d6c49a}.d-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.d-item{min-width:0;text-align:left;padding:20px;background:radial-gradient(ellipse at 50% 34%,#69765320,transparent 65%),#1b281f;border:1px solid #8b9a7633;border-radius:12px;position:relative;overflow:hidden;animation:diary-appear .5s both;animation-delay:calc(var(--order) * 25ms)}.d-item:hover{border-color:#bdac7690;transform:translateY(-3px);background-color:#213126}.d-item.unfound{background-color:#17221b}.d-item.unfound .d-item-art{filter:saturate(.15);opacity:.42}.d-item-top{display:flex;justify-content:space-between;align-items:center;gap:5px;color:#889c7d;min-height:21px}.d-item-top>span{font-size:8px;letter-spacing:.08em}.d-new{color:#26351d;background:#cabb8e;padding:5px 7px;border-radius:4px;font-size:7px;font-style:normal;letter-spacing:.09em}.d-item-art{height:190px;display:grid;place-items:center;position:relative;margin:8px -8px 10px}.d-item-art:after{content:'';position:absolute;width:65%;height:12px;border-radius:50%;background:#070e0977;filter:blur(8px);bottom:10px;z-index:0}.d-item-art img{width:100%;height:100%;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 15px 12px #0004);transition:transform .5s}.d-item:hover img{transform:translateY(-5px) rotate(-3deg)}.d-item-caption{border-top:1px solid #93a07c26;padding-top:17px}.d-item-caption .eyebrow{font-size:8px}.d-item-caption h3{font-size:27px;line-height:1.05;margin:9px 0 15px;min-height:55px;color:#e2e0cb}.d-item-caption>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#91a282}.d-item-caption svg{color:#c3b384}.d-empty{text-align:center;padding:60px 25px;border:1px dashed #abb48b3b;border-radius:13px;color:#abb69a;grid-column:1/-1}.d-empty h2{font-size:36px;color:#d9d7bb;margin:16px 0}.d-empty p{font-size:12px;margin:0 0 23px}.d-empty-mark{display:grid;place-items:center;margin:auto;border:1px solid #c0b38a4c;width:75px;height:75px;border-radius:50%;color:#bdaa7b}.d-empty-mark svg{width:32px;height:32px}.d-journal-list{display:grid;gap:13px}.d-journal-entry{width:100%;text-align:left;display:flex;align-items:center;gap:25px;padding:17px 22px 17px 17px;border:1px solid var(--line);border-radius:12px;background:#1b281faa}.d-journal-entry:hover{background:#263729;border-color:#a6ad7f69}.d-journal-entry>img{width:88px;height:106px;object-fit:cover;border-radius:5px;transform:rotate(-3deg);border:4px solid #c9c4a5}.d-journal-entry.detail>img{object-fit:contain;background:#28352c;border:0;transform:none}.d-journal-entry>div{flex:1;min-width:0}.d-journal-entry h2{font-size:32px;margin:7px 0}.d-journal-entry p{font-size:11px;color:#a9b69b;line-height:1.6}.d-journal-entry .eyebrow{font-size:8px}.d-entry-seal{display:grid;place-items:center;height:43px;width:43px;border:1px solid #a8a97b4d;border-radius:50%;color:#b8b68a}.d-note{padding:30px 32px;border-radius:4px;background:#dad5bd;color:#3c4a31;border-left:4px solid #7e8960;box-shadow:0 8px 20px #0001}.d-note .eyebrow{color:#7d835e;font-size:8px}.d-note p{font:calc(24px * var(--font-scale))/1.5 Cormorant,Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0}.d-note>span:last-child{display:block;text-align:right;font-size:10px;color:#717957}.d-local-note{font-size:10px;line-height:1.7;color:#829576;margin:24px 0 0}.d-profile-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:25px;align-items:start}.d-passport{padding:32px;border-radius:12px}.d-passport-top{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #65724738;padding-bottom:20px}.d-passport-top>span{font-size:8px;letter-spacing:.2em;color:#707b53}.d-passport-top img{height:45px;width:35px;filter:brightness(.45) sepia(.5)}.d-passport-person{display:flex;align-items:center;gap:24px;padding:32px 0}.d-passport-person .avatar.large{border-radius:6px;width:91px;height:113px;outline:1px solid #5f704438;outline-offset:5px;margin:0;background:linear-gradient(150deg,#819071,#384d35);font-size:52px}.d-passport-person>div:last-child{min-width:0;flex:1}.d-passport-person h2{font-size:37px;line-height:1.04;margin:10px 0;overflow-wrap:anywhere}.d-passport-person .eyebrow{font-size:7px}.d-passport-person p{font-size:12px;color:#5e6c4b;margin-bottom:10px}.d-passport-person small{font-size:10px;color:#85906b}.d-passport-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:23px 0;border-block:1px solid #65724738;text-align:center}.d-passport-stats>div+div{border-left:1px solid #65724730}.d-passport-stats strong{font:38px Cormorant,Georgia,serif;display:block;line-height:1;color:#4d603e}.d-passport-stats span{font-size:8px;letter-spacing:.08em;color:#7d8863;margin-top:9px;display:block}.d-passport-label{font-size:8px;letter-spacing:.17em;margin-top:30px;color:#6d7754}.d-stamps{display:flex;justify-content:space-between;gap:12px;margin:25px 0 30px}.d-stamp{width:88px;height:88px;border-radius:50%;border:1px dashed #75815a69;outline:1px solid #75815a29;outline-offset:-6px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#919a7c;transform:rotate(-8deg)}.d-stamp:nth-child(2){transform:rotate(5deg)}.d-stamp strong{font:33px Cormorant,Georgia,serif;line-height:1}.d-stamp span{font-size:6px;letter-spacing:.1em;margin-top:7px}.d-stamp.collected{border:2px solid #536c4399;outline:1px solid #536c4390;color:#4b663b}.d-passport-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #65724738;padding-top:21px}.d-passport-bottom>span{font-size:7px;letter-spacing:.1em;line-height:1.7;color:#87906e}.d-passport-bottom .btn{font-size:10px;min-height:44px;padding:10px 15px}.d-profile-side{display:grid;gap:20px}.d-current-chapter{position:relative;min-height:250px;overflow:hidden;border-radius:12px;border:1px solid var(--line)}.d-current-chapter>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.d-current-chapter>div{position:relative;padding:28px;background:linear-gradient(90deg,#0e1c17e6,#0e1c1760);min-height:250px}.d-current-chapter h2{font-size:37px;margin:12px 0}.d-current-chapter p{font-size:10px;color:#b9c3a9;margin-bottom:18px}.d-current-chapter .eyebrow{font-size:8px}.d-current-chapter .btn{min-height:44px;font-size:10px;padding:10px 15px;background:#11211877}.d-achievements{border:1px solid var(--line);border-radius:12px;padding:0 24px 8px;background:#1a281f66}.d-achievement{display:flex;align-items:center;gap:14px;padding:17px 0;border-top:1px solid var(--line);color:#7f9074}.d-achievement>span{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.d-achievement strong{font-size:11px;font-weight:500;display:block}.d-achievement p{font-size:9px;margin-top:5px;color:#809477;line-height:1.5}.d-achievement>div{flex:1}.d-achievement.earned{color:#d3c093}.d-achievement.earned p{color:#a1b38e}.d-exit{min-height:48px;display:flex;align-items:center;justify-content:flex-end;gap:9px;font-size:10px;color:#a0ab93}
.d-auth{min-height:100svh;display:grid;grid-template-columns:1.15fr 1fr;background:#121d16}.d-auth-cover{position:relative;min-height:100svh;overflow:hidden;background:linear-gradient(90deg,#0d1a17aa,#0d1a1730),linear-gradient(0deg,#101b16c9,transparent 55%),url(assets/cover-diary.webp) 57% center/cover;display:flex;flex-direction:column;padding:48px 10%;justify-content:space-between}.d-auth-cover>.brand{position:relative;z-index:2}.d-cover-type{position:relative;z-index:2;padding:90px 0 110px}.d-cover-type h1{font-size:clamp(49px,5.3vw,83px);line-height:.99;letter-spacing:-.03em;margin:20px 0 30px;text-shadow:0 3px 18px #0004;color:#f0eddb}.d-cover-type em{color:#d0c3a0}.d-cover-type>p{font-size:14px;color:#d3d8c3}.d-cover-type .eyebrow{font-size:9px;color:#d2c297}.d-cover-line{height:1px;width:60px;background:#b8b18b66;display:block;margin:32px 0 22px}.d-cover-type small{font-size:8px;letter-spacing:.2em;color:#b8c1aa}.d-auth-cover .support{font-size:10px;color:#bcc9b4}.d-auth-panel{padding:45px 13%;display:flex;align-items:center;justify-content:center}.d-auth-form{width:100%;max-width:390px}.d-auth-form h2{font-size:53px;line-height:1;margin:15px 0 20px}.d-auth-form>.muted{font-size:12px}.d-tabs{display:flex;border-bottom:1px solid var(--line);gap:30px;margin:25px 0}.d-tabs button{min-height:46px;padding:10px 0;color:#809477;font-size:11px;border-bottom:1px solid transparent}.d-tabs .active{color:#d9c897;border-color:#d9c897}.d-auth-form .field{margin:17px 0}.d-auth-form form>.btn{margin-top:14px}.d-auth-form>.text-link{font-size:10px;margin-top:12px}.d-auth-note{display:flex;align-items:center;gap:14px;margin-top:28px;border-top:1px solid var(--line);padding-top:22px;color:#859a7a;font-size:10px;line-height:1.7}.d-auth-note svg{width:25px;height:25px;color:#ada97b}.d-onboard{min-height:100svh;background:radial-gradient(ellipse at 50% 35%,#34432f55,transparent 65%),#101b15}.d-onboard>header,.d-chapter-head{display:flex;justify-content:space-between;align-items:center;padding:29px 5%;gap:20px}.d-name-card{max-width:450px;margin:12px auto 0;text-align:center;padding:20px 30px 50px}.d-name-card h1{font-size:45px;line-height:1.02;margin:24px 0 17px}.d-name-card .field{text-align:left}.d-name-card .muted{font-size:12px}.d-wax{width:64px;height:64px;display:grid;place-items:center;margin:27px auto;background:radial-gradient(circle at 30% 30%,#897553,#443d2c);border-radius:48% 45% 47% 49%;box-shadow:inset 0 0 0 5px #a196681a,0 7px 15px #0004;font:32px Cormorant,Georgia,serif;color:#c8ba88;outline:1px solid #c0ad703d;outline-offset:-8px}.d-chapters{max-width:1200px;margin:auto;padding:0 5% 40px}.d-chapter-head{padding:30px 0}.d-chapters>.d-heading{margin:25px 0 32px}.d-chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.d-chapter{position:relative;min-height:490px;border:1px solid #abb3843d;border-radius:12px;overflow:hidden;isolation:isolate}.d-chapter>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;transition:transform 1s}.d-chapter:hover>img{transform:scale(1.035)}.d-chapter-shade{position:absolute;inset:0;background:linear-gradient(180deg,#15211925,transparent 10%,#102019ed 78%);z-index:-1}.d-chapter.sealed>img{filter:saturate(.4)}.d-chapter-roman{position:absolute;top:23px;left:26px;font:60px Cormorant,Georgia,serif;color:#e4dcc1}.d-chapter-content{position:absolute;bottom:27px;left:25px;right:25px}.d-chapter-content h2{font-size:39px;line-height:1;margin:13px 0}.d-chapter-content .eyebrow{font-size:8px}.d-chapter-content p{font-size:11px;color:#b5c3a7;min-height:36px;line-height:1.6}.d-chapter-content .btn{width:100%;margin-top:22px;font-size:11px;padding-inline:12px}.d-chapter-content small{font-size:9px;color:#9dad8e}.d-chapter-progress{height:2px;background:#becda72a;margin:20px 0 10px}.d-chapter-progress i{height:100%;display:block;background:#d5c695}
.modal-backdrop{background:#06110bd9;backdrop-filter:blur(8px);padding:28px}.modal{background:#1b2b20;border:1px solid #99a97c4d;border-radius:17px;box-shadow:0 32px 130px #0008;max-width:620px}.modal-close{z-index:10;background:#15271de0;color:#d3d4b8}.modal .modal-body{padding:32px}.modal h2{font-size:40px}.modal .modal-body>p{font-size:13px;line-height:1.7;color:#b4c3a4}.modal .modal-art{height:195px;position:relative}.modal .modal-art>img{object-fit:cover;width:100%;height:100%}.modal .modal-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 60%,#1b2b20)}.story-modal .modal-body{background:var(--paper);color:var(--ink);padding:30px 35px}.story-modal .modal-art:after{background:linear-gradient(transparent 75%,#e2dcc888)}.story-modal .eyebrow{color:#798459;font-size:9px}.story-modal h2{margin:12px 0 21px;color:#2e4028}.story-modal .story-text,.story-modal .narrative{font:calc(25px * var(--font-scale))/1.5 Cormorant,Georgia,serif;color:#3e4e33;white-space:pre-line;min-height:135px}.story-modal .story-dots{display:flex;gap:6px;margin:20px 0}.story-modal .story-dots i{width:20px;height:2px;background:#7a885a36}.story-modal .story-dots i.active{background:#687c4c}.story-modal .modal-actions{margin-top:25px;padding-top:20px;border-top:1px solid #7a885a3b;display:flex;justify-content:flex-end;gap:10px}.story-modal .btn{background:#354a2d;color:#efe9d5;border-color:#354a2d}.story-modal .btn.secondary{background:transparent;color:#445737;border-color:#52644344}.story-modal .choices{display:grid;gap:10px}.story-modal .choices button{color:#33482d;border-color:#66744755;background:#eee8d755;border-radius:7px;font-size:12px;padding:17px;min-height:54px}.story-modal .choices button.selected{background:#576d3f1c;border-color:#526e3c}.story-modal .choices i{border-color:#6f7e5366}.story-modal .choices .selected i{background:#627b43}.d-bookmark{font-size:9px;color:#7b8967;display:flex;align-items:center;gap:7px;margin-top:17px}.d-bookmark svg{width:12px;height:12px}.d-hints{display:grid;gap:15px;margin:20px 0}.d-hints>div{padding:19px;border-left:1px solid #bba77566;background:#b7b18a08}.d-hints .eyebrow{font-size:8px}.d-hints p{font-size:13px;color:#becbad;margin-top:7px}.d-hints .hint-locked{color:#829775;font-size:11px;border-style:dashed;min-height:60px;display:flex;gap:12px;align-items:center}.d-settings .setting{padding:17px 0;text-align:left}.d-settings .setting strong{font-size:12px}.d-settings .setting small{font-size:10px;color:#8c9f7e}.d-settings h2{margin-bottom:23px}.d-settings input[type=range]{width:120px;accent-color:#c6ba83}.toggle{min-width:45px;min-height:26px;background:#42543b;border-color:#a2ad7b42}.toggle.on{background:#bbae78}.d-settings-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}.d-settings-links .btn{min-height:44px;font-size:10px;padding:10px 14px}textarea{width:100%;resize:vertical;min-height:155px;padding:14px;font:17px/1.6 Cormorant,Georgia,serif}.d-unsealed{text-align:center;padding:45px 30px}.d-unsealed .d-wax{animation:seal-open .7s both}.d-unsealed h2{margin:22px 0}.d-unsealed p{color:#b8c4aa;margin:0 0 25px;font-size:13px}
.item-modal{max-width:940px;width:min(940px,95vw)}.item-detail{display:grid;grid-template-columns:1.1fr 1fr}.item-stage{background:radial-gradient(ellipse at 50% 40%,#5e704b45,transparent 68%),#16241b;min-width:0;display:flex;flex-direction:column}.item-view{height:420px;position:relative}.item-view>img{width:100%;height:100%;object-fit:contain;padding:35px}.item-tools{padding:0 14px 21px;display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.item-tools button{min-height:44px;font-size:10px;border:1px solid transparent;padding:9px 12px;color:#98ad86;border-radius:7px;display:flex;align-items:center;gap:6px}.item-tools .active{border-color:#94a6763d;color:#d0c59c;background:#bec8890a}.item-info{padding:40px 30px!important;display:flex;flex-direction:column;justify-content:center}.item-info>.eyebrow{font-size:9px}.item-info h2{margin:13px 0 17px;font-size:39px}.item-info p{font-size:12px;color:#b7c5a8}.item-info blockquote{font:24px/1.35 Cormorant,Georgia,serif;color:#bfbb8d;border-left:1px solid #aea77655;padding-left:16px;margin:22px 0}.item-provenance{font-size:10px;line-height:1.8;margin:0 0 20px;padding:16px 0;border-block:1px solid var(--line)}.item-provenance>span,.item-provenance>strong{display:block}.item-provenance>strong{font-size:12px;font-weight:400;color:#cbd1b6}.d-discovery{margin-top:17px;padding:18px;background:#c6bb8c0d;border:1px solid #bab78944;border-radius:8px;animation:diary-appear .5s both}.d-discovery .eyebrow{font-size:8px}.d-discovery p{font-size:12px;margin:8px 0;color:#c3cbaa}.d-discovery small{font-size:9px;color:#91a37d}.model-label{color:#7b956e;font-size:8px;position:absolute;left:15px;right:15px;bottom:10px;text-align:center;pointer-events:none}.item-discover-btn{width:100%}.admin-shell{padding-bottom:30px}.admin-shell .panel{background:#1a2b20;border-color:var(--line)}
.intro{background:#101b15}.intro-background{background:linear-gradient(#0b1916a6,#0e1b16bf),url(assets/cover-diary.webp) 56% center/cover;animation:diary-mist 12s ease-out both;filter:none}.intro-enter,.intro-cross{display:none!important}.intro-creators{--merge-distance:clamp(87px,19vw,165px);display:block;gap:0;opacity:1;z-index:2}.playing .intro-creators{animation:none;filter:none;opacity:1}.intro-creators .creator{position:absolute;left:50%;top:50%;opacity:0;margin:0;transform:translate(-50%,-50%)}.intro-creators .dosug{--logo-start:calc(-1 * var(--merge-distance));width:clamp(132px,24vw,200px);filter:invert(1) sepia(.22)}.intro-creators .creator-a{--logo-start:var(--merge-distance);width:clamp(98px,17vw,138px);height:auto;aspect-ratio:1}.playing .intro-creators .creator{animation:diary-drift 6s linear both,diary-dissolve 6s linear both}.playing .intro-title{animation:diary-title 2.5s 5.55s ease both;transform:none}.playing .intro-flare{animation:diary-glow 1.5s 5.1s ease both}.intro-flare{width:8px;height:8px;background:#e0d0a2;box-shadow:0 0 70px 42px #c8b9863d}.playing .intro-progress i{animation:progress 9s linear both}.intro-title h1{color:#eae5cd;text-shadow:0 3px 50px #ded2a119}.intro-title>img{filter:drop-shadow(0 0 18px #d7cc8340)}.intro-top button{min-height:44px;border:1px solid #b7c19b25;border-radius:24px;padding:11px 16px;background:#0d1b1666;font-size:10px}.intro-footer{font-size:10px;color:#c7cfb8}.intro-title:before{content:'';position:absolute;left:50%;top:50%;width:310px;height:310px;border:1px solid #b2b78016;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 80px #b2b78008;z-index:-1}
@keyframes diary-appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes diary-drift{from{transform:translate(-50%,-50%) translateX(var(--logo-start))}to{transform:translate(-50%,-50%) translateX(calc(var(--logo-start) * .18))}}@keyframes diary-dissolve{0%{opacity:0}8%{opacity:1}38%{opacity:.88}62%{opacity:.49}80%{opacity:.16}92%,100%{opacity:0}}@keyframes diary-title{from{opacity:0;filter:blur(10px)}to{opacity:1;filter:none}}@keyframes diary-glow{0%,100%{opacity:0}45%{opacity:.6}}@keyframes diary-mist{from{transform:scale(1)}to{transform:scale(1.04)}}@keyframes seal-open{from{transform:rotate(-25deg) scale(.8);opacity:0}to{transform:rotate(0);opacity:1}}
::view-transition-old(root){animation:diary-out .14s ease both}::view-transition-new(root){animation:diary-appear .3s ease both}@keyframes diary-out{to{opacity:0;transform:translateY(-4px)}}
@media(min-width:1450px){.d-trace.location-card{height:470px}.d-item-art{height:215px}.d-opening{min-height:470px}.d-opening-copy{padding:45px}.d-opening-copy .narrative{font-size:calc(27px * var(--font-scale))}}
@media(max-width:1100px){.d-shell{grid-template-columns:185px minmax(0,1fr)}.d-rail{padding:33px 18px 22px}.d-rail .brand strong{font-size:21px}.d-rail .brand img{width:29px}.d-navigation button{gap:12px;padding-inline:12px}.d-navigation button.active:before{left:-19px}.d-workspace{padding-inline:4%}.d-heading h1{font-size:49px}.d-heading{gap:15px}.d-trace.location-card{height:380px}.d-trace-copy{left:17px;right:17px}.d-trace-copy h2{font-size:29px}.d-trace-top{padding:13px}.d-trace-top .d-chip{font-size:8px;padding:5px 8px}.d-opening-copy{padding:30px 26px}.d-opening-copy h2{font-size:35px}.d-opening-copy .narrative{font-size:calc(22px * var(--font-scale))}.d-item-art{height:155px}.d-item{padding:14px}.d-profile-layout{grid-template-columns:1fr}.d-profile-side{grid-template-columns:1fr 1fr}.d-profile-side .d-exit{grid-column:1/-1}.d-passport{max-width:600px;width:100%;margin:auto}.d-chapter-content{left:20px;right:20px}.d-chapter-content h2{font-size:34px}.d-chapter{min-height:450px}.d-route-copy{padding:28px}.d-route-copy h2{font-size:37px}.d-auth-panel{padding:40px 9%}}
@media(max-width:760px){
 .d-shell{display:block;padding-bottom:calc(88px + env(safe-area-inset-bottom))}.d-rail{position:static;width:100%;height:0;padding:0;background:none;border:none}.d-rail>.d-brand,.d-rail-rule,.d-rail-caption,.d-rail-quote,.d-rail-profile{display:none}.d-navigation{position:fixed;bottom:0;left:0;right:0;z-index:900;height:calc(73px + env(safe-area-inset-bottom));padding:7px 12px calc(5px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#14221af5;border-top:1px solid #8796753d;backdrop-filter:blur(20px);box-shadow:0 -12px 30px #101b1519}.d-navigation button{min-height:57px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:5px 3px;border-radius:10px;font-size:9px;text-align:center;border:0}.d-navigation button svg{width:22px;height:22px}.d-navigation button small{display:none}.d-navigation button.active{background:#c1bf8910;color:#e4d7aa}.d-navigation button.active:before{left:calc(50% - 11px);top:-8px;height:2px;width:22px}.d-workspace{padding:0 20px}.d-topline{height:66px;padding-top:env(safe-area-inset-top)}.d-location{font-size:10px;gap:8px}.d-location i{margin:0 1px}.d-topline .clock{display:none}.d-topline .icon-btn{width:41px;height:41px}.d-page{padding:24px 0 0}.d-heading{margin-bottom:24px;align-items:flex-end;gap:10px}.d-heading h1{font-size:40px;line-height:1.02;margin-top:11px}.d-heading .eyebrow{font-size:8px;letter-spacing:.12em}.d-heading p{font-size:11px;line-height:1.6;margin-top:12px}.d-heading>.btn{font-size:0;width:45px;height:45px;min-height:45px;padding:10px}.d-heading>.btn svg{width:22px;height:22px;flex-shrink:0}.d-chapter-switch{border-radius:50%;width:43px;height:43px;min-height:43px;justify-content:center;padding:8px}.d-chapter-switch span,.d-chapter-switch>svg:last-child{display:none}.d-heading .d-total{font-size:43px}.d-total small{font-size:12px}.d-footer{display:none}.d-banner{font-size:9px;padding:6px 10px;gap:8px}.d-banner svg{flex-shrink:0}.d-banner button{font-size:10px}.d-opening{display:flex;flex-direction:column;min-height:0;border-radius:11px}.d-opening-art{height:clamp(150px,25svh,240px);min-height:0}.d-photo-index{bottom:18px;left:20px}.d-photo-index strong{font-size:48px;margin:4px 0}.d-photo-index span{font-size:7px}.d-photo-index small{font-size:9px}.d-opening-copy{padding:24px 26px 21px}.d-opening-copy .eyebrow{font-size:8px}.d-opening-copy h2{font-size:34px;margin:9px 0 15px}.d-opening-copy .narrative{font-size:calc(22px * var(--font-scale));min-height:105px;line-height:1.42}.d-paper-bottom{margin-top:18px;padding-top:17px;gap:12px}.d-paper-bottom .btn{padding:11px 15px;min-height:46px;font-size:11px}.d-page-count{font-size:22px}.d-page-count i{font-size:9px}.d-reading-tip{font-size:8px;margin-top:12px}.d-path-strip{font-size:11px;padding:11px 0}.d-path-strip b{font-size:31px}.d-section-line{margin:19px 0 14px}.d-section-line h3{font-size:24px}.d-section-line .btn{font-size:10px;min-height:42px;padding:10px 13px}.d-traces.location-gallery{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:0 20px 5px;scrollbar-width:none}.d-trace.location-card{flex:0 0 86%;height:clamp(345px,52svh,455px);scroll-snap-align:center;border-radius:11px}.d-trace-copy{left:24px;right:24px;bottom:23px}.d-trace-copy h2{font-size:36px}.d-trace-copy p{font-size:12px;max-width:100%}.d-trace-top{padding:18px}.d-trace-top>span:first-child{font-size:34px}.d-trace-top .d-chip{font-size:9px;padding:6px 10px}.d-trace-footer{font-size:9px;gap:7px;margin-top:10px}.d-trace-footer>span:last-child{white-space:nowrap;font-size:8px}.d-route-bar{gap:11px;font-size:9px;padding:7px 0}.d-route-bar button{font-size:10px}.d-chip{font-size:8px}.d-view-tabs{margin:15px 0;gap:7px}.d-view-tabs button{flex:1;font-size:11px;min-height:44px;padding:8px 12px}.d-route-card{display:block;min-height:0;border-radius:11px}.d-route-photo{min-height:0;height:clamp(200px,34svh,310px)}.d-image-caption{font-size:8px;left:19px;bottom:16px}.d-route-copy{padding:23px 23px 12px}.d-route-copy .eyebrow{font-size:8px}.d-route-copy h2{font-size:36px;margin:8px 0 13px}.d-route-copy>p{font-size:12px;line-height:1.6}.d-route-stamp{display:none}.d-hint-link{padding:14px 0;margin-top:17px;min-height:48px;font-size:11px;width:100%}.d-route-action{position:sticky;bottom:calc(73px + env(safe-area-inset-bottom));z-index:450;display:flex;flex-direction:column;gap:9px;padding:13px 0 16px;background:linear-gradient(#111a17eb,#111a17);backdrop-filter:blur(8px)}.d-route-action>span{font-size:9px}.d-route-action .btn{width:100%;min-height:51px;font-size:12px}.d-map-panel .map-wrap{height:clamp(260px,46svh,480px)}.d-map-title{padding:17px 19px}.d-map-title h2{font-size:29px}.d-map-title .eyebrow{font-size:8px}.d-map-title>img{width:42px;height:51px}.d-gps-line{font-size:10px;padding:6px 16px}.d-gps-line .text-link{font-size:10px;flex-shrink:0}.d-map-credit{font-size:7px;padding:0 16px 10px}.d-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.d-shelf-note{gap:13px;padding:15px 0}.d-shelf-note strong{font-size:23px}.d-shelf-note p span{font-size:10px;line-height:1.6}.d-shelf-note>svg{width:28px;flex-shrink:0}.d-filters{padding:17px 0;gap:7px;margin-right:-20px}.d-filters button{font-size:10px;min-height:42px;padding:9px 14px}.d-item{padding:13px 12px}.d-item-top>span{font-size:6px}.d-item-top>svg{width:15px;height:15px}.d-new{font-size:6px;padding:4px 5px}.d-item-art{height:145px;margin:3px -7px 6px}.d-item-caption{padding-top:13px}.d-item-caption .eyebrow{font-size:7px;letter-spacing:.08em}.d-item-caption h3{font-size:24px;min-height:49px;margin:8px 0 12px}.d-item-caption>div{font-size:8px;gap:5px}.d-item-caption>div>span{max-width:85%}.d-item-caption svg{width:14px;height:14px}.d-journal-entry{padding:13px;gap:17px}.d-journal-entry>img{width:61px;height:80px;border-width:3px}.d-journal-entry h2{font-size:27px;margin:7px 0}.d-journal-entry .eyebrow{font-size:7px}.d-journal-entry p{font-size:10px;line-height:1.5}.d-entry-seal{display:none}.d-journal-entry>svg{width:18px;flex-shrink:0}.d-note{padding:22px}.d-note p{font-size:calc(22px * var(--font-scale))}.d-local-note{font-size:9px;margin-top:20px}.d-empty{padding:40px 22px}.d-empty h2{font-size:32px}.d-empty p{font-size:11px}.d-passport{padding:24px;border-radius:10px}.d-passport:before{inset:9px}.d-passport-top{padding-bottom:16px}.d-passport-top>span{font-size:7px;letter-spacing:.1em}.d-passport-top img{height:33px;width:25px}.d-passport-person{gap:20px;padding:25px 0}.d-passport-person .avatar.large{width:72px;height:92px;font-size:44px;outline-offset:4px}.d-passport-person h2{font-size:32px}.d-passport-person p{font-size:10px}.d-passport-person small{font-size:9px}.d-passport-person .eyebrow{font-size:6px;letter-spacing:.08em}.d-passport-stats{padding:20px 0}.d-passport-stats strong{font-size:35px}.d-passport-stats span{font-size:8px}.d-passport-label{margin-top:24px;font-size:7px}.d-stamps{gap:9px;margin:21px 0 26px}.d-stamp{width:76px;height:76px}.d-stamp strong{font-size:31px}.d-stamp span{font-size:5px}.d-passport-bottom .btn{font-size:9px;padding:10px 13px}.d-passport-bottom>span{font-size:6px}.d-profile-side{display:flex;flex-direction:column}.d-profile-layout{gap:20px}.d-current-chapter>div{min-height:225px;padding:24px}.d-current-chapter{min-height:225px}.d-current-chapter h2{font-size:34px}.d-achievements{padding:0 21px 7px}.d-exit{justify-content:center}.d-auth{display:block}.d-auth-cover{min-height:0;height:clamp(250px,39svh,360px);padding:25px 25px 0;background-position:62% 46%}.d-auth-cover>.brand strong{font-size:22px}.d-auth-cover>.brand img{height:37px;width:29px}.d-auth-cover>.brand small{font-size:6px}.d-cover-type{padding:24px 0 25px}.d-cover-type h1{font-size:43px;line-height:.97;margin:0;text-shadow:0 2px 25px #0008}.d-cover-type h1 br:nth-child(2){display:none}.d-cover-type .eyebrow,.d-cover-type>p,.d-cover-line,.d-cover-type small{display:none}.d-auth-cover .support{font-size:8px;position:absolute;right:20px;bottom:24px;writing-mode:vertical-rl;opacity:.75}.d-auth-panel{padding:28px 26px 35px}.d-auth-form{max-width:430px}.d-auth-form>.eyebrow{font-size:8px}.d-auth-form h2{font-size:40px;margin:12px 0 14px}.d-auth-form h2 br{display:none}.d-auth-form>.muted{font-size:11px}.d-tabs{margin:19px 0;gap:28px}.d-auth-form .field{margin:15px 0}.d-auth-form form>.btn{margin-top:12px}.d-auth-form>.text-link{font-size:10px}.d-auth-note{margin-top:20px;padding-top:17px;font-size:9px}.d-onboard>header{padding:22px}.d-onboard>header .btn{min-height:43px;font-size:10px}.d-name-card{padding:15px 27px 30px;margin:0 auto}.d-name-card h1{font-size:39px}.d-name-card>.eyebrow{font-size:8px}.d-chapters{padding:0 22px 30px}.d-chapter-head{padding:22px 0}.d-chapter-head .btn{min-height:43px;padding:10px 15px;font-size:10px}.d-chapter-head .brand strong{font-size:21px}.d-chapter-head .brand img{height:35px;width:27px}.d-chapter-head .brand small{font-size:6px}.d-chapters>.d-heading{margin:15px 0 24px}.d-chapter-grid{display:flex;gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -22px;padding:0 22px 15px;scrollbar-width:none}.d-chapter{flex:0 0 88%;min-height:clamp(390px,58svh,490px);scroll-snap-align:center}.d-chapter-content{left:23px;right:23px;bottom:25px}.d-chapter-content h2{font-size:40px}.d-chapter-content p{font-size:12px}.d-chapter-roman{font-size:63px;top:23px;left:25px}.d-chapter-content small{font-size:9px}.modal-backdrop{padding:12px 10px}.modal{max-height:calc(100svh - 24px);border-radius:14px}.modal .modal-body{padding:27px 25px}.modal h2{font-size:36px}.modal .modal-art{height:clamp(105px,20svh,170px)}.modal-close{width:43px;height:43px;right:12px;top:12px}.story-modal{display:flex;flex-direction:column;overflow:hidden}.story-modal .modal-art{flex-shrink:0}.story-modal .modal-body{padding:24px 27px;overflow:auto;min-height:0}.story-modal .story-text,.story-modal .narrative{font-size:calc(23px * var(--font-scale));min-height:115px;line-height:1.48}.story-modal h2{font-size:33px;margin:10px 0 18px}.story-modal .eyebrow{font-size:8px;padding-right:4px}.story-modal .modal-actions{position:sticky;bottom:-24px;background:linear-gradient(#e2dcc8e0,#e2dcc8 30%);padding:18px 0 6px;margin-top:20px;z-index:2}.story-modal .btn{font-size:11px;padding:11px 16px;min-height:48px}.story-modal .choices button{font-size:11px;padding:15px;min-height:52px}.d-settings .setting strong{font-size:11px}.d-settings .setting small{font-size:9px;line-height:1.5}.d-settings .setting{gap:15px}.d-settings .setting>span{max-width:70%}.d-settings input[type=range]{width:105px}.d-settings h2{font-size:38px}.item-modal{width:100%}.item-detail{display:block}.item-view{height:clamp(255px,39svh,370px)}.item-tools{padding-bottom:13px}.item-tools button{font-size:9px;min-height:42px;padding:8px 11px}.item-info{padding:25px!important}.item-info h2{font-size:36px;margin:11px 0 16px}.item-info blockquote{font-size:23px;margin:18px 0}.item-info p{font-size:12px}.item-provenance{font-size:9px;margin-bottom:17px;padding:14px 0}.model-label{font-size:7px}.intro-title>img{height:102px}.intro-title h1{font-size:68px}.intro-title>span{font-size:10px;letter-spacing:.52em}.intro-title>p{font-size:22px}.intro-title:before{width:260px;height:260px}.intro-footer{bottom:max(35px,env(safe-area-inset-bottom));font-size:9px}.intro-top{top:max(20px,env(safe-area-inset-top));left:22px;right:22px}
}
@media(max-width:370px){.d-workspace{padding-inline:16px}.d-heading h1{font-size:35px}.d-location{font-size:9px}.d-opening-copy{padding:22px}.d-item-art{height:125px}.d-item-caption h3{font-size:22px}.d-item{padding:11px 10px}.d-stamp{width:65px;height:65px}.d-passport{padding:21px}.d-passport-person h2{font-size:28px}.d-passport-person{gap:17px}.d-page-count{font-size:19px}.d-paper-bottom .btn{padding:10px 12px}}
@media(max-height:700px) and (max-width:760px){.d-heading h1{font-size:36px}.d-heading{margin-bottom:20px}.d-page{padding-top:20px}.d-opening-art{height:145px}.d-opening-copy .narrative{font-size:calc(20px * var(--font-scale));min-height:98px}.d-opening-copy h2{font-size:30px}.d-opening-copy{padding:21px 24px 18px}.d-reading-tip{display:none}.story-modal .modal-art{height:105px}.story-modal .story-text{font-size:calc(21px * var(--font-scale))}}
.daylight{--muted:#d0d9c1;--line:#c6d2ad50;--text:#f6f0dc}.daylight .d-workspace{background:#19281e}.daylight .d-heading .eyebrow,.daylight .d-location,.daylight .d-route-action>span,.daylight .d-local-note{color:#c4d0ae}.daylight .d-item-caption>div,.daylight .d-shelf-note p span,.daylight .d-trace-copy p,.daylight .d-route-copy>p{color:#d0dbbd}.daylight .d-item,.daylight .d-route-card,.daylight .d-journal-entry{border-color:#a7b59070}.daylight .d-route-action{background:#19281e}.daylight .d-navigation{background:#213320f9}.reduce-motion *{scroll-behavior:auto!important}.reduce-motion .d-page,.reduce-motion .d-item,.reduce-motion .fog,.reduce-motion .intro-background{animation:none!important}.reduce-motion .intro-creators,.reduce-motion .intro-flare{display:none}.reduce-motion .playing .intro-title{animation:none!important;opacity:1!important;filter:none!important;transform:none!important}.reduce-motion::view-transition-old(root),.reduce-motion::view-transition-new(root){animation:none!important}
