.presentation-mode>header,.presentation-mode>main,.presentation-mode>footer,.presentation-mode>#birthday-music{display:none!important}#photo-deck{position:relative;height:100dvh;min-height:420px;overflow:hidden;background:var(--paper);color:var(--ink)}.deck-top{position:absolute;top:0;left:0;right:0;height:70px;display:flex;align-items:center;justify-content:space-between;padding:20px 4vw;z-index:2;font:18px Georgia,serif}.deck-top small{font:10px 'Microsoft YaHei';letter-spacing:3px;color:var(--green)}.deck-slide{height:100%;padding:85px 7vw 100px;display:flex;align-items:center;justify-content:center;gap:6vw;overflow:hidden}.deck-slide.photo{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr)}.deck-picture{margin:0;min-width:0;height:100%;max-height:75vh;background:#eee6d9;border:12px solid #fffcf5;box-shadow:0 14px 45px #51453b16;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px}.deck-picture img{width:100%;height:100%;object-fit:contain}.deck-copy{max-width:590px;max-height:100%;overflow:auto;scrollbar-width:thin}.deck-number{font:12px Georgia,serif;letter-spacing:4px;color:var(--green);margin-bottom:18px}.deck-copy h1,.deck-copy h2{font-family:'Songti SC',SimSun,serif;font-size:clamp(30px,4vw,58px);line-height:1.45;font-weight:400;margin:14px 0 24px;white-space:pre-line}.deck-copy p{white-space:pre-line;font-size:clamp(14px,1.3vw,18px);line-height:2.1;color:#887b6c}.deck-cover-art{width:min(38vw,400px);height:min(50vh,440px);object-fit:contain;filter:drop-shadow(0 15px 25px #51453b15);border-radius:180px 180px 10px 10px}.deck-cover-emoji{font-size:clamp(90px,18vw,200px);text-align:center;line-height:1.4}.deck-center{text-align:center;max-width:850px}.deck-center p{margin-left:auto;margin-right:auto}.deck-bottom{position:absolute;bottom:0;left:0;right:0;background:var(--paper);z-index:2;padding:8px 4vw 22px}.deck-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px}.deck-controls{display:flex;align-items:center;gap:8px}.deck-controls button,.deck-index button{background:#fffcf5;color:var(--ink);border:1px solid #dfd4c5;border-radius:30px;padding:10px 15px;font:12px 'Microsoft YaHei';cursor:pointer}.deck-controls button:hover{border-color:var(--orange)}.deck-controls button:disabled{opacity:.35;cursor:default}.deck-count{font:13px Georgia,serif;letter-spacing:2px;min-width:65px;text-align:center}.deck-progress{height:2px;background:#e3dacb;margin-top:16px}.deck-progress span{display:block;height:100%;background:var(--orange)}.deck-hint{font-size:10px;color:#998c7e;margin-top:10px}.deck-index{position:absolute;inset:70px 0 98px;background:var(--paper);padding:24px 5vw;overflow:auto;z-index:3;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:16px;align-content:start}.deck-index button{border-radius:7px;padding:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.deck-index img{width:100%;height:95px;object-fit:cover;display:block;margin-bottom:8px;border-radius:4px}.deck-image-error{position:absolute;text-align:center;background:#fffaf2;padding:16px}.deck-loading{font-size:12px;color:#998c7e}.deck-letter .deck-copy{max-width:800px;width:100%;padding:20px 5vw;background:#fffaf2;box-shadow:0 7px 35px #51453b09}.deck-letter .deck-copy h2{font-size:30px}.deck-signature{text-align:right}.deck-photo-badge{font-size:11px;color:var(--green)}@media(max-width:650px){.deck-top{height:57px;padding:15px 20px}.deck-top small{font-size:9px;letter-spacing:1px}.deck-slide{padding:66px 22px 125px;gap:12px;flex-direction:column}.deck-slide.photo{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:12px}.deck-picture{width:100%;border-width:7px;min-height:0;max-height:none}.deck-slide.photo .deck-copy{max-height:24vh;width:100%}.deck-copy h1,.deck-copy h2{font-size:31px;margin:8px 0 10px}.deck-copy p{font-size:13px;line-height:1.8;margin:7px 0}.deck-number{margin-bottom:6px;font-size:10px}.deck-cover-art{height:25vh;width:auto;max-width:100%;border-radius:100px 100px 8px 8px}.deck-cover-emoji{font-size:80px;line-height:1}.deck-bottom{padding:8px 16px 14px}.deck-controls{gap:4px}.deck-controls button{padding:9px 10px;font-size:11px}.deck-count{font-size:11px;min-width:48px}.deck-hint{text-align:center;font-size:9px}.deck-index{inset:57px 0 118px}.deck-letter .deck-copy{padding:20px;max-height:100%}.deck-letter .deck-copy h2{font-size:24px}}
.deck-copy>button{border:0;border-radius:35px;padding:14px 25px;background:var(--orange);color:white;cursor:pointer;font:14px 'Microsoft YaHei';margin:15px 0}.deck-copy>button:focus-visible,.deck-controls button:focus-visible,.deck-index button:focus-visible{outline:3px solid var(--green);outline-offset:3px}@media(max-width:650px){.deck-toolbar{flex-wrap:wrap;justify-content:center;gap:7px}.deck-slide{padding-bottom:150px}.deck-index{bottom:140px}}
