/* The Living Cardroom · leather, foil, paper and felt. */
.living-hero{position:relative;isolation:isolate;overflow:hidden;min-height:690px;background:#060c09;border-bottom:1px solid var(--line)}
.living-backdrop{position:absolute;inset:0;z-index:-1;overflow:hidden}.living-backdrop>img{width:100%;height:100%;object-fit:cover;opacity:.32;filter:saturate(.65)}.living-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#050c09f5 0%,#050c09c9 42%,#050c0950 75%,#050c09ad),linear-gradient(0deg,#030905 0%,transparent 50%)}
.living-light{position:absolute;width:600px;height:950px;top:-450px;opacity:.18;filter:blur(35px);background:conic-gradient(from 170deg at 50% 0%,transparent,#edce8b,transparent 20%);transform-origin:top;pointer-events:none}.light-one{left:40%;transform:rotate(-16deg)}.light-two{right:-12%;transform:rotate(18deg);opacity:.1}
.living-hero-grid{max-width:1500px;margin:auto;display:grid;grid-template-columns:1fr 1.18fr;align-items:center;gap:12px;padding:70px 5% 30px;min-height:610px}
.living-copy{position:relative;z-index:4}.living-copy .eyebrow{color:var(--gold);font-size:11px!important;letter-spacing:2.5px}.living-copy h1{font:clamp(65px,6.5vw,108px)/.94 var(--display);letter-spacing:-2px;margin:25px 0 28px}.living-copy h1 em{font:italic .93em/1 Georgia,serif;color:var(--gold);letter-spacing:-4px;display:inline-block;margin-top:4px}.living-copy .lede{font-size:19px;line-height:1.8;color:#d2cec2;max-width:37ch}.living-guide-note{font-size:10px;letter-spacing:2.2px;color:var(--gold);margin:19px 0 25px}.living-copy .actions{gap:22px}.living-copy .hero-credit{font-size:11px;letter-spacing:1.4px;color:#abae9f;margin-top:35px}.hero-founder-link{color:var(--gold);text-decoration:none;padding-bottom:4px;border-bottom:1px solid #d8bb7440;transition:border-color .25s}.hero-founder-link:hover:where(body:not(.touch-input) *){border-bottom-color:var(--gold)}.hero-founder-link:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
.living-diorama{position:relative;min-width:0;height:510px;perspective:1400px}.diorama-aura{position:absolute;inset:8% -15% -8%;background:radial-gradient(ellipse,#d4b66c17,transparent 67%);filter:blur(20px)}.diorama-world{position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:rotateX(var(--room-y,0deg)) rotateY(var(--room-x,0deg));transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.living-table{position:absolute;inset:155px -35px -10px;border-radius:50%;transform:rotateX(52deg) rotateZ(-9deg);background:radial-gradient(ellipse at 40% 35%,#224c39,#0c261c 68%);border:19px solid #1b1712;box-shadow:0 1px 0 #b7a06a,inset 0 0 0 2px #b49a6266,inset 0 0 0 12px #0c1c13,inset 0 0 0 13px #b59c5b70,0 45px 18px #000a,0 65px 0 #100f0b,0 68px 1px #8f754344;overflow:hidden}.table-inlay{position:absolute;inset:38px;border:1px solid #c4ac6340;border-radius:50%}.table-dd{position:absolute;left:44%;top:49%;font:italic 56px Georgia;color:#dfc58b25;letter-spacing:-8px}.table-glint{position:absolute;inset:90px 0 0;pointer-events:none;background:radial-gradient(ellipse at 45% 28%,#f9df9111,transparent 50%)}
.room-books{position:absolute;inset:35px 7% 90px;display:flex;align-items:center;justify-content:center;gap:38px;transform-style:preserve-3d}.room-book{--leather:#183e30;position:relative;display:block;width:210px;height:292px;flex-shrink:0;transform-style:preserve-3d;transform:translateY(10px) rotateX(12deg) rotateZ(-13deg);transition:transform .65s cubic-bezier(.2,.75,.15,1);isolation:isolate}.book-burgundy{--leather:#4b1c2a;transform:translateY(48px) rotateX(12deg) rotateZ(13deg)}.book-shadow{position:absolute;inset:25px -10px -25px;background:#0009;filter:blur(15px);transform:translateZ(-20px)}.book-pages{position:absolute;inset:4px -9px -7px 6px;background:repeating-linear-gradient(0deg,#bcae8d 0 1px,#e4d9be 1px 3px);border-radius:3px 9px 9px 3px;border:1px solid #92784b;transform:translateZ(-5px);box-shadow:4px 5px 0 #1c2820}.book-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 17px 18px;border-radius:3px 9px 8px 3px;background:linear-gradient(120deg,#ffffff0e,transparent 45%),repeating-linear-gradient(31deg,transparent 0 3px,#00000008 3px 4px),var(--leather);box-shadow:inset 7px 0 8px #0006,inset 0 0 0 1px #e2cb8b80,5px 8px 10px #0007;transform-origin:4px center;transition:transform .75s cubic-bezier(.2,.75,.15,1),box-shadow .75s;backface-visibility:hidden;color:#e6cd93}.cover-frame{position:absolute;inset:13px;border:1px solid #ddbf7980;pointer-events:none}.cover-frame:before,.cover-frame:after{content:'✦';position:absolute;left:50%;font-size:12px;transform:translateX(-50%);background:var(--leather);padding:0 7px}.cover-frame:before{top:-10px}.cover-frame:after{bottom:-9px}.book-volume{font-size:6px;letter-spacing:1.3px;line-height:1.8;padding:0 8px;opacity:.8}.book-suit{font:52px/1 Georgia;margin:23px 0 13px;text-shadow:0 2px 0 #0008,0 -1px 0 #fff6}.book-title{font:41px/.95 var(--display);letter-spacing:1px;filter:drop-shadow(0 2px 0 #0009)}.book-subtitle{font-size:7px;letter-spacing:1.1px;line-height:1.8;margin-top:15px;max-width:19ch;min-height:28px}.book-signature{font-size:6px;letter-spacing:1.4px;margin-top:auto}.book-open-label{font-size:8px;letter-spacing:.9px;margin-top:11px;opacity:.85}.book-spine{position:absolute;width:20px;height:100%;left:-11px;top:3px;background:linear-gradient(90deg,#070f09,var(--leather));color:#d8be80;font:10px var(--display);writing-mode:vertical-rl;text-align:center;letter-spacing:2px;padding:15px 0;transform:rotateY(-66deg);transform-origin:right;box-shadow:inset 0 0 0 1px #d9bf7b44}.book-cards{position:absolute;inset:30px 20px;z-index:-1;pointer-events:none;transform-style:preserve-3d}.book-cards>span{position:absolute;left:42px;top:50px;width:79px;height:111px;transition:transform .8s cubic-bezier(.2,.75,.15,1),opacity .5s;opacity:0;box-shadow:0 7px 18px #0008;border-radius:5px}.book-cards svg{width:100%;height:100%}.room-book:hover:where(body:not(.touch-input) *),.room-book:focus-visible{transform:translateY(-22px) rotateX(3deg) rotateZ(-7deg)}.book-burgundy:hover:where(body:not(.touch-input) *),.book-burgundy:focus-visible{transform:translateY(15px) rotateX(3deg) rotateZ(8deg)}.room-book:hover:where(body:not(.touch-input) *) .book-cover,.room-book:focus-visible .book-cover{transform:rotateY(-24deg);box-shadow:inset 7px 0 8px #0007,0 15px 24px #0008}.room-book:hover:where(body:not(.touch-input) *) .book-cards>span,.room-book:focus-visible .book-cards>span{opacity:1}.room-book:hover:where(body:not(.touch-input) *) .book-cards>span:nth-child(1),.room-book:focus-visible .book-cards>span:nth-child(1){transform:translate(-47px,-100px) rotate(-20deg)}.room-book:hover:where(body:not(.touch-input) *) .book-cards>span:nth-child(2),.room-book:focus-visible .book-cards>span:nth-child(2){transform:translate(2px,-120px) rotate(0deg)}.room-book:hover:where(body:not(.touch-input) *) .book-cards>span:nth-child(3),.room-book:focus-visible .book-cards>span:nth-child(3){transform:translate(55px,-95px) rotate(20deg)}.room-book:focus-visible{outline:2px solid #efd79b;outline-offset:20px;border-radius:6px}
.table-token{position:absolute;bottom:40px;left:16%;width:59px;height:59px;border-radius:50%;background:radial-gradient(circle,#153727 50%,#8e7843 52%,#0c291c 56%);border:4px dashed #c5aa69;display:grid;place-items:center;color:#e6ca82;font:italic 24px Georgia;transform:rotateX(35deg) rotateZ(-15deg);box-shadow:0 5px 0 #0b170e,0 8px 12px #0008}.token-b{left:27%;bottom:16px;background:radial-gradient(circle,#4b1726 50%,#8e7843 52%,#431322 56%);transform:rotateX(35deg) rotateZ(12deg)}.living-prompt{position:absolute;left:0;right:0;bottom:-20px;text-align:center;color:var(--gold);font-size:10px;letter-spacing:2px}.living-prompt small{display:block;font-size:12px;color:#aab3a3;letter-spacing:0;margin-top:8px}.living-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1500px;margin:0 auto;padding:40px 5% 23px;font-size:9px;letter-spacing:1.7px;color:#adb4a3}.living-bottom a{color:var(--gold);padding:10px 0}.living-bottom i{display:inline-block;width:4px;height:4px;background:var(--gold);border-radius:50%;margin-right:9px}
body[data-theme="ruby"] .living-table{background:radial-gradient(ellipse at 40% 35%,#58303e,#28131e 68%)}body[data-theme="ink"] .living-table{background:radial-gradient(ellipse at 40% 35%,#293c59,#101b2d 68%)}body[data-theme="amber"] .living-table{background:radial-gradient(ellipse at 40% 35%,#655038,#2d2116 68%)}body[data-theme="ruby"] .light-one{filter:blur(35px) hue-rotate(310deg)}body[data-theme="ink"] .light-one{filter:blur(35px) hue-rotate(150deg)}
/* A gold-foil founder bookplate, with no chip rim or gaming marks. */
.founder-bookplate.founder-monogram{position:relative;width:min(100%,310px);height:auto;aspect-ratio:7/8;display:block;border:0!important;outline:0;background:none;box-shadow:0 24px 60px #0005;margin-bottom:30px;border-radius:3px;overflow:hidden}.founder-bookplate img{display:block;width:100%;height:100%;object-fit:contain}.founder-bookplate.founder-monogram:after{content:'';inset:0;position:absolute;background:linear-gradient(115deg,transparent 25%,#fff0cb13 45%,#fff0cb32 49%,#fff0cb13 53%,transparent 72%);transform:translateX(-120%);animation:bookplate-light 9s ease-in-out infinite;pointer-events:none}.founder-bookplate:hover:where(body:not(.touch-input) *):after{animation-duration:3s}@keyframes bookplate-light{0%,55%{transform:translateX(-120%)}80%,100%{transform:translateX(120%)}}
/* Watch and read are separate, calm experiences. */
.holdem-head{max-width:900px}.holdem-mode{display:grid;grid-template-columns:1fr 1fr;max-width:860px;gap:14px;margin:25px 0 30px}.holdem-mode button{text-align:left;padding:19px 22px;border:1px solid var(--line);background:var(--panel-deep);color:var(--text);border-radius:6px;font-size:19px}.holdem-mode button>span{color:var(--gold);font-size:12px;letter-spacing:1px;margin-right:12px}.holdem-mode small{display:block;font-size:13px;color:var(--muted);margin:8px 0 0 30px}.holdem-mode button[aria-pressed="true"]{border-color:var(--gold);background:linear-gradient(110deg,#d2b16a16,transparent),var(--panel-deep)}.holdem-cinema{background:#050d08;border:1px solid var(--line);box-shadow:0 25px 65px #0004}.holdem-cinema video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#071a11}.holdem-film-bar{display:flex;justify-content:space-between;gap:15px;padding:16px 22px;font-size:13px;color:var(--muted)}.film-chapters{margin-top:22px;border-bottom:1px solid var(--line);padding-bottom:15px}.film-chapters summary,.holdem-step-copy summary{color:var(--gold);cursor:pointer;font-size:16px;padding:10px 0}.film-chapters>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.film-chapters button{display:flex;gap:12px;align-items:center;min-height:48px;padding:12px 16px;background:var(--panel-deep);border:1px solid var(--line);text-align:left;color:var(--text);font-size:15px}.film-chapters button b{color:var(--gold);font-weight:500}.film-chapters button span{margin-left:auto;color:var(--muted);font-size:12px}.film-disclosure{max-width:85ch;color:var(--muted);font-size:14px;margin-top:20px}.holdem-step-nav{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:25px 0;color:var(--gold);font-size:13px;letter-spacing:1px}.holdem-step-nav label{display:flex;align-items:center;gap:12px;letter-spacing:0;color:var(--muted)}.holdem-step-copy{padding:28px 32px;background:var(--panel-deep);border:1px solid var(--line);border-bottom:0}.holdem-step-copy h2{font-size:39px;margin:12px 0 18px}.holdem-step-copy>p:not(.eyebrow){font-size:19px;max-width:75ch;line-height:1.8}.holdem-step-copy details{max-width:80ch;margin-top:15px}.holdem-step-copy details p{font-size:16px;color:var(--muted)}.holdem-illustrated figure{margin:0;border:1px solid var(--line)}.holdem-illustrated figure img{display:block;width:100%;height:auto}.holdem-illustrated figcaption{padding:12px 20px;color:var(--muted);font-size:12px}.holdem-quick-rule{margin:45px 0 10px;padding:25px 0;border-top:1px solid var(--line)}.holdem-quick-rule>strong{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold)}.holdem-quick-rule p{font-size:21px;margin:12px 0 20px}.holdem-quick-rule .secondary{margin-right:22px}
@media(max-width:1100px){.living-hero-grid{grid-template-columns:1fr 1fr;padding-top:45px}.room-books{gap:20px;transform:scale(.86);inset:20px -30px 75px}.living-copy h1{font-size:78px}.living-copy .lede{font-size:17px}.living-diorama{height:450px}.living-bottom>span:last-child{display:none}}
@media(max-width:760px){.living-hero-grid{grid-template-columns:1fr;padding:42px 6% 20px;gap:10px}.living-copy h1{font-size:69px;margin:20px 0}.living-copy .lede{font-size:17px;max-width:36ch}.living-copy .hero-credit{margin-top:25px;line-height:2}.living-diorama{height:405px;max-width:480px;width:100%;margin:15px auto 0;perspective:1200px}.room-books{inset:0 -15px 60px;gap:28px;transform:scale(.78)}.living-table{inset:130px -20px 5px;border-width:12px}.living-prompt{bottom:-5px}.living-bottom{padding:20px 6%;font-size:8px;letter-spacing:1px}.living-bottom>span{max-width:160px;line-height:1.8}.living-guide-note{font-size:9px;letter-spacing:1.4px}.table-token{width:43px;height:43px;font-size:18px;bottom:35px}.token-b{bottom:15px}.living-copy .actions{gap:16px}.living-copy .primary,.living-copy .secondary{font-size:14px!important}.founder-bookplate.founder-monogram{max-width:240px}.holdem-mode{gap:10px}.holdem-mode button{font-size:16px;padding:16px 12px}.holdem-mode button>span{display:none}.holdem-mode small{font-size:12px;margin-left:0;line-height:1.5}.holdem-film-bar{display:block;font-size:12px;padding:13px 15px;line-height:1.7}.holdem-film-bar span{display:block}.film-chapters>div{grid-template-columns:1fr}.holdem-step-copy{padding:24px 20px}.holdem-step-copy h2{font-size:33px}.holdem-step-copy>p:not(.eyebrow){font-size:17px}.holdem-step-nav{flex-direction:column;align-items:flex-start}.holdem-step-nav label{width:100%;font-size:14px}.holdem-step-nav select{max-width:100%}.holdem-quick-rule p{font-size:18px}.holdem-quick-rule .secondary{display:inline-flex;margin:5px 15px 5px 0}}
@media(max-width:370px){.living-copy h1{font-size:60px}.room-books{transform:scale(.65);gap:24px;inset:-10px -44px 65px}.living-diorama{height:350px}.living-table{inset:110px -15px 5px}.living-prompt{font-size:9px;letter-spacing:1.3px}.living-bottom a{font-size:8px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.diorama-world,.room-book,.book-cover,.book-cards>span{transition:none!important;transform:none!important}.founder-bookplate.founder-monogram:after{animation:none;display:none}}
body.minimal .diorama-world,body.minimal .room-book,body.minimal .book-cover,body.minimal .book-cards>span{transition:none!important}body.minimal .founder-bookplate.founder-monogram:after{animation:none;display:none}
/* Keep the book covers above the table surface at every angle. */
.diorama-world{transform-style:flat}.living-table{z-index:1}.room-books{z-index:3}.table-glint{z-index:2}.table-token{z-index:4}
.founder-bookplate.founder-monogram{background:#06190f;transform:perspective(900px) rotateX(var(--crest-y,0deg)) rotateY(var(--crest-x,0deg));transition:transform .6s cubic-bezier(.2,.7,.2,1),box-shadow .6s;box-shadow:0 25px 65px #0008,0 0 45px #d5b26509;will-change:transform}.founder-bookplate:hover:where(body:not(.touch-input) *){box-shadow:0 30px 75px #0009,0 0 55px #d5b2651a}.founder-bookplate.founder-monogram:after{animation-duration:7s;background:linear-gradient(115deg,transparent 25%,#ffe7a811 44%,#fff5da2b 50%,#ffe7a811 56%,transparent 73%)}
@media(prefers-reduced-motion:reduce){.founder-bookplate.founder-monogram{transform:none!important;will-change:auto}}body.minimal .founder-bookplate.founder-monogram{transform:none!important;will-change:auto}
/* On a phone, bring the rulebooks into the first view instead of burying them below the copy. */
@media(max-width:760px){.living-hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:30px}.living-copy{display:contents}.living-copy>.eyebrow{order:1;margin:0 0 10px}.living-copy h1{order:2;font-size:clamp(44px,13vw,56px);margin:8px 0 0;line-height:1.02}.living-diorama{order:3;height:360px;margin:0 auto 15px}.living-copy>.lede{order:4}.living-guide-note{order:5;margin:15px 0}.living-copy>.actions{order:6}.living-copy>.hero-credit{order:7}.living-prompt{bottom:0}.room-books{inset:0 -15px 48px}.living-table{inset:115px -20px 5px}}
@media(max-width:370px){.living-diorama{height:325px}.room-books{inset:0 -44px 55px}.living-table{inset:100px -15px 5px}}
.holdem-head{margin-bottom:25px}.holdem-head h1{font-size:clamp(46px,5.5vw,70px);margin:12px 0 18px}.holdem-tools{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:22px;align-items:end;margin:20px 0 25px}.holdem-tools .holdem-mode{margin:0;gap:10px}.holdem-tools .holdem-mode button{font-size:16px;padding:16px 14px}.holdem-tools .holdem-mode small{margin-left:0}.holdem-tools .holdem-mode button>span{display:none}.holdem-tools .dealer-toolbar .guide-select{max-width:none}
@media(max-width:900px){.holdem-tools{grid-template-columns:1fr;gap:16px}.holdem-head h1{font-size:46px}.holdem-tools .holdem-mode button{font-size:15px}}
.founder-portrait{padding:20px 0!important;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}.founder-room{align-items:start}.founder-bookplate.founder-monogram{width:min(100%,310px);margin:0 auto 28px;box-shadow:0 22px 50px #0005}.founder-bookplate.founder-monogram:after{animation:none;opacity:0;transform:translateX(-25%);transition:opacity .5s,transform .9s}.founder-bookplate.founder-monogram:hover:where(body:not(.touch-input) *):after{opacity:1;transform:translateX(25%)}
/* A deliberate book-opening transition before entering the selected room. */
.book-inner-page{position:absolute;inset:7px -2px 0 5px;z-index:0;display:flex;align-items:center;flex-direction:column;padding:26px 16px;background:linear-gradient(110deg,#cbbd99,#f1e7cc 12%,#e9dcba);border:1px solid #a78c55;border-radius:1px 5px 5px 1px;box-shadow:inset 6px 0 7px #473a2630;color:#284334;text-align:center}.book-inner-page:before{content:'';position:absolute;inset:13px;border:1px solid #9c855a70}.book-inner-page small{font:7px Georgia;letter-spacing:2px}.book-inner-page strong{font:30px/1 var(--display);margin:18px 0 10px}.book-inner-page i{width:65px;height:91px;display:block;box-shadow:0 7px 14px #45361530;transform:rotate(-8deg)}.book-inner-page i svg{width:100%;height:100%}.book-inner-page em{font:italic 12px Georgia;margin-top:17px}.book-cover{z-index:2}.book-entering .room-book{pointer-events:none}.book-entering .room-book:not(.book-selected){opacity:.12;transform:translateY(65px) scale(.85);transition:opacity .5s,transform .8s}.book-selected{z-index:8;animation:book-advance .98s cubic-bezier(.22,.7,.16,1) both}.book-entering .book-selected .book-cover{animation:cover-reveal .95s cubic-bezier(.22,.7,.16,1) both}.book-entering .book-selected .book-cards{z-index:1}.book-entering .book-selected .book-cards>span{opacity:1}.book-entering .book-selected .book-cards>span:nth-child(1){transform:translate(-70px,-110px) rotate(-25deg)}.book-entering .book-selected .book-cards>span:nth-child(2){transform:translate(0,-140px) rotate(-2deg)}.book-entering .book-selected .book-cards>span:nth-child(3){transform:translate(70px,-105px) rotate(22deg)}.book-entering .diorama-aura{background:radial-gradient(ellipse,#edce7f3a,transparent 70%);transition:background .6s}.book-entering .living-prompt small{color:var(--gold)}
@keyframes cover-reveal{0%{transform:rotateY(-20deg)}35%{transform:rotateY(-75deg)}100%{transform:rotateY(-157deg)}}
@keyframes book-advance{0%{transform:translateY(0) rotateX(10deg) rotateZ(-7deg) scale(1)}100%{transform:translateY(-15px) rotateX(0) rotateZ(0) scale(1.18)}}
@media(prefers-reduced-motion:reduce){.book-selected,.book-selected .book-cover{animation:none!important}}
/* Bespoke photographed leather and foil replace the flat cover graphics. */
.table-token,.table-dd{display:none!important}.room-book{width:218px;height:327px}.book-cover{padding:0;background:#112b20 url('assets/poker-leather-cover.webp') center/cover no-repeat;box-shadow:inset 3px 0 5px #0009,1px 1px 0 #c5a56175,7px 11px 20px #0009}.book-burgundy .book-cover{background-image:url('assets/teen-patti-leather-cover.webp')}.book-cover>*{display:none}.book-cover:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 20%,#fff6da25 46%,transparent 72%);opacity:0;transition:opacity .7s;mix-blend-mode:screen}.room-book:hover:where(body:not(.touch-input) *) .book-cover:after,.room-book:focus-visible .book-cover:after{opacity:.45}.book-spine{display:none}.book-pages{inset:5px -7px -5px 6px;background:repeating-linear-gradient(0deg,#a28b5c 0 .5px,#cfbd92 .5px 2px);border-color:#6e5734;box-shadow:3px 4px 0 #111b14}.room-books{gap:40px}.room-book{transform:translateY(4px) rotateX(7deg) rotateZ(-9deg)}.book-burgundy{transform:translateY(35px) rotateX(7deg) rotateZ(10deg)}.room-book:hover:where(body:not(.touch-input) *) .book-cover,.room-book:focus-visible .book-cover{transform:rotateY(-14deg)}.book-entering .book-selected .book-inner-page{animation:paper-reveal .98s cubic-bezier(.2,.75,.15,1) both}
@keyframes paper-reveal{0%,20%{filter:brightness(.6);transform:rotateY(6deg)}65%{filter:brightness(1.13);transform:rotateY(-7deg)}100%{filter:brightness(1);transform:rotateY(0)}}
@media(max-width:1100px){.room-books{gap:26px}}
@media(max-width:760px){.room-books{gap:30px;transform:scale(.74)}}
@media(max-width:370px){.room-books{gap:24px;transform:scale(.62)}}
@media(prefers-reduced-motion:reduce){.book-entering .book-selected .book-inner-page{animation:none!important}}
.room-book{--book-start-y:4px;--book-start-z:-9deg}.book-burgundy{--book-start-y:35px;--book-start-z:10deg}.room-book:hover:where(body:not(.touch-input) *),.room-book:focus-visible{transform:translateY(var(--book-start-y)) rotateX(7deg) rotateZ(var(--book-start-z))}
@keyframes book-advance{0%{transform:translateY(var(--book-start-y)) rotateX(7deg) rotateZ(var(--book-start-z)) scale(1)}100%{transform:translateY(-15px) rotateX(0) rotateZ(0) scale(1.18)}}
