/* The desktop scenes are the owner's original 1440 × 810 designs, unaltered. */
.room-scene,.room-mobile-art{display:none;pointer-events:none;user-select:none}
.inner-page[data-room] .template-copy{display:none!important}
.inner-page[data-room] .section-heading:has(>.template-copy):not(:has(>button:not([hidden]))),.inner-page[data-room] .resume-section:has(.resume-empty){display:none}
.inner-page[data-room] .empty-state:has(>.template-copy){padding:0}
.inner-page[data-room] .primary-button{background:transparent;border:1px solid #77736a;color:var(--ink);padding:8px 15px;font-size:12px}
.inner-page[data-room] .primary-button:hover{background:#fff8}
.inner-page[data-room] .section-heading{justify-content:flex-end;margin-bottom:20px}
.inner-page[data-room] .inner-header{border:0}
.inner-page[data-room] .project-list{display:flex;flex-direction:column;gap:0}
.inner-page[data-room] .project-card{padding:22px 0 24px;border:0;border-bottom:1px solid #a49e8e;background:transparent}
.inner-page[data-room] .project-card:first-child{padding-top:5px}
.inner-page[data-room] .project-card h3{font-size:24px;font-weight:300;margin:8px 0 12px}
.inner-page[data-room] .project-label{font-size:15px;color:var(--ink)}
.inner-page[data-room] .project-link{border:0;margin:12px 0 0;padding:0;font-size:12px}
.inner-page[data-room] .project-controls{margin-top:12px}
.inner-page[data-room] .project-controls button{font-size:11px;padding:0}
.inner-page[data-room] .filters{gap:6px 18px;margin-bottom:6px;border-color:#aaa597}
.inner-page[data-room] .filter{font-size:12px;padding:9px 0}
.inner-page[data-room] .entry-row{padding:21px 0;border-color:#c4beaf}
.inner-page[data-room] .entry-row h3{font-size:19px;font-weight:300}
.inner-page[data-room] .entry-meta{font-size:11px}
.inner-page[data-room] .archive-bottom{margin-top:16px}
.inner-page[data-room] .library-toolbar{gap:20px;margin-bottom:17px}
.inner-page[data-room] .library-search input{font-size:13px;border-color:#aaa597}
.inner-page[data-room] .shelf-filters{margin-bottom:18px;gap:8px}
.inner-page[data-room] .shelf-filters>div{gap:4px}
.inner-page[data-room] .shelf-filters button{font-size:19px;padding:4px 10px}
.inner-page[data-room] .shelf-filters button[aria-pressed=true]{background:transparent;border-color:#8d887d}
.inner-page[data-room] #shelf-count{font-size:12px;letter-spacing:.3px}
.inner-page[data-room] .bookshelf{margin-top:0}
.inner-page[data-room] .shelf-row{min-height:210px;padding:18px 3px 0;gap:5px;border-bottom:2px solid #58554e;box-shadow:none;background:none;margin-bottom:25px}
.inner-page[data-room] .book-spine{flex-basis:60px;width:60px;height:calc(var(--book-height) - 55px);padding:12px 6px 9px;border:1px solid #68645c;border-radius:3px 5px 0 0;background:#fbf8ef!important;box-shadow:inset 3px 0 #fbf8ef,inset 4px 0 #aaa497;color:var(--ink)}
.inner-page[data-room] .book-spine:nth-child(3n){height:calc(var(--book-height) - 72px)}
.inner-page[data-room] .book-spine:hover,.inner-page[data-room] .book-spine:focus-visible{transform:translateY(-5px)}
.inner-page[data-room] .spine-title{font-size:14px;letter-spacing:0}
.inner-page[data-room] .spine-type,.inner-page[data-room] .spine-purpose{font-size:10px;letter-spacing:0}
.inner-page[data-room] .discover-panel{margin-top:24px;padding-top:18px;border-color:#c4beaf}
.inner-page[data-room] .discover-panel summary{font-size:14px}
.inner-page[data-room] .mindmap-scroll{background:none;border:0;max-height:340px;margin-bottom:20px;scrollbar-width:none}
.inner-page[data-room] .mindmap-scroll::-webkit-scrollbar{display:none}
.inner-page[data-room] .mindmap-root{width:120px;height:120px;padding:10px;border:1px solid #4b4840;background:#faf8efd9;color:var(--ink);font-size:24px}
.inner-page[data-room] .mindmap-node{border:1px solid #8e897e;border-radius:24px;box-shadow:none;background:#faf8efed;font-size:14px;font-weight:300}
.inner-page[data-room] .mindmap-node:hover,.inner-page[data-room] .mindmap-node.selected{background:#fffdf7;border-color:#28251e}
.inner-page[data-room] .mindmap-lines path{stroke:#8e897e;stroke-width:1}
.inner-page[data-room] .mindmap-node small{font-size:10px}
.inner-page[data-room] .topic-detail{padding:18px 0;border-color:#c4beaf}
.inner-page[data-room] .topic-detail .section-heading{justify-content:space-between}
.inner-page[data-room] .interest-tags span{font-size:12px;padding:6px 13px}
.inner-page[data-room] .resume-header{border-bottom:1px solid #aaa597;padding-bottom:22px}
.inner-page[data-room] .resume-header h2{font-size:32px;font-weight:300}
.inner-page[data-room] .resume-header p{font-size:15px}
.inner-page[data-room] .resume-section{grid-template-columns:125px 1fr;gap:25px;border-color:#c4beaf;padding:24px 0}
.inner-page[data-room] .resume-section>h3{font-size:25px}
.inner-page[data-room] .resume-row{grid-template-columns:105px 1fr;gap:22px}
.inner-page[data-room] .resume-actions{gap:18px}
.inner-page[data-room] .resume-actions .subtle-button{font-size:12px}

@media(min-width:801px){
  .inner-page[data-room]{position:relative;isolation:isolate;width:min(100%,calc(100svh*16/9));max-width:none;height:auto;min-height:0;aspect-ratio:16/9;margin:0 auto;padding:0;container-type:inline-size}
  .inner-page[data-room] .room-scene{display:block;position:absolute;inset:0;z-index:-1}
  .room-scene img{display:block;width:100%;height:100%;object-fit:contain}
  .inner-page[data-room] .inner-header{position:absolute;left:5.7%;right:5.7%;top:4%;padding:0;gap:25px;align-items:center}
  .inner-page[data-room] .home-link{font-family:var(--label);font-size:16px}
  .inner-page[data-room] .inner-header nav{gap:18px;font-size:14px}
  .inner-page[data-room] .inner-header a[aria-current=page]{text-underline-offset:5px}
  .inner-page[data-room] .page-heading{position:absolute;right:8%;top:10%;margin:0;display:block}
  .inner-page[data-room] .page-heading>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .inner-page[data-room] #edit-profile{font-size:11px;padding:0}
  .inner-page[data-room]>section{position:absolute;margin:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:4px 12px 12px 3px}
  .inner-page[data-room]>section::-webkit-scrollbar{display:none}
  .inner-page[data-room=dev] #projects{left:36%;top:17%;width:48%;height:64%}
  .inner-page[data-room=archive] #archive{left:22%;top:20%;width:47%;height:68%}
  .inner-page[data-room=library] #library-page{left:20%;top:14%;width:57%;height:44%}
  .inner-page[data-room=interests] #interests-page{left:22%;top:15%;width:69%;height:67%}
  .inner-page[data-room=cv] #cv-page{left:20%;top:20%;width:71%;height:68%}
  body:has(.inner-page[data-room]:not([hidden]))>footer{position:fixed;right:5.7vw;bottom:6px;margin:0;padding:0;min-height:0}
}

@media(max-width:800px){
  .inner-page[data-room]{position:relative;padding:26px 24px 28px;min-height:calc(100svh - 40px);display:flex;flex-direction:column}
  .inner-page[data-room] .inner-header{padding:0;display:block}
  .inner-page[data-room] .home-link{font-family:var(--label);font-size:19px}
  .inner-page[data-room] .inner-header nav{display:grid;grid-template-columns:repeat(3,max-content);justify-content:space-between;margin-top:25px;gap:13px 20px;font-size:16px}
  .inner-page[data-room] .page-heading{margin:38px 0 30px;gap:10px}
  .inner-page[data-room] .page-heading h1{font-family:var(--label);text-transform:uppercase;font-size:45px;font-weight:400;letter-spacing:0;line-height:1;margin:0}
  .inner-page[data-room] #edit-profile{padding:0;font-size:11px}
  .inner-page[data-room] .project-card h3{font-size:21px}
  .inner-page[data-room] .project-card{padding:20px 0}
  .inner-page[data-room] .library-toolbar{gap:12px}
  .inner-page[data-room] .shelf-filters button{font-size:18px;padding:4px 9px}
  .inner-page[data-room] .mindmap-scroll{margin-left:-12px;margin-right:-12px;max-height:440px}
  .inner-page[data-room] .resume-header{gap:18px}
  .inner-page[data-room] .resume-header h2{font-size:28px}
  .inner-page[data-room] .resume-section,.inner-page[data-room] .resume-row{grid-template-columns:1fr;gap:12px}
  .inner-page[data-room] .resume-row{gap:5px}
  .inner-page[data-room] .room-mobile-art{display:block;position:relative;order:10;margin-top:auto;padding-top:42px;min-height:230px}
  .room-mobile-art svg{display:none;position:absolute;bottom:0;filter:url(#ink-only);height:auto;overflow:hidden}
  [data-room=dev] [data-room-art=dev],[data-room=archive] [data-room-art=archive],[data-room=library] [data-room-art=library]{display:block}
  .room-desk{left:0;width:70%;max-width:260px;aspect-ratio:339/267}
  .room-bookcase{left:0;width:62px;aspect-ratio:163/485}
  .room-writing-desk{right:0;width:160px;aspect-ratio:317/330}
  .room-books{left:0;width:76%;aspect-ratio:794/231}
  .room-chair{right:0;width:19%;aspect-ratio:164/231}
  .inner-page[data-room=library] .room-mobile-art{min-height:160px}
  .inner-page[data-room=interests] .room-mobile-art,.inner-page[data-room=cv] .room-mobile-art{display:none}
}

@media print{
  .inner-page[data-room]{display:block;width:auto;max-width:none;height:auto;min-height:0;aspect-ratio:auto;position:static;margin:0;padding:0;container-type:normal}
  .inner-page[data-room] .room-scene,.inner-page[data-room] .room-mobile-art,.inner-page[data-room] .inner-header,.inner-page[data-room] .page-heading{display:none}
  .inner-page[data-room]>section{position:static!important;width:auto!important;height:auto!important;overflow:visible;padding:0}
}
