/* Original country prints, mirrored at each tile boundary for continuous repeats. */
.credit-balance-strip{box-sizing:border-box;max-width:1480px;margin:0 auto;padding:12px 56px 0;display:flex;justify-content:flex-end}.credit-balance{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;max-width:100%;min-height:52px;border:2px solid #285f59;border-radius:16px;background:#e1eee2;color:#234e48;padding:8px 18px;font:700 19px/1.2 var(--body);box-shadow:0 2px 0 #285f5920}.credit-balance-number{font-size:30px;line-height:1}.credit-balance-free{font:600 15px/1.2 var(--body);border-left:1px solid #285f5960;padding-left:10px}.payment-success-dialog,.payment-check-dialog{box-sizing:border-box;width:min(620px,calc(100% - 24px));max-width:620px;max-height:94dvh;overflow:auto;padding:32px 24px;text-align:center}.payment-success-dialog h2{position:relative;margin:14px auto 20px;font-size:clamp(40px,9vw,64px);line-height:1.1}.payment-celebration-mark{display:block;margin:8px auto;width:82px;height:82px}.payment-success-balance{position:relative;margin:0 auto 26px!important;max-width:17ch;font:800 clamp(28px,7.8vw,44px)/1.2 var(--body);overflow-wrap:anywhere;color:#285f59}.payment-success-dialog .primary,.payment-check-dialog .primary,.payment-check-dialog .secondary{position:relative;width:100%;min-height:62px;font-size:25px;margin:8px 0}.payment-success-dialog .payment-test-note{position:relative;font-size:16px;margin:16px 0 0}.payment-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:22px}.payment-confetti span{position:absolute;left:50%;top:28%;width:9px;height:15px;border-radius:2px;opacity:0}.payment-check-dialog h2{font-size:clamp(30px,6.8vw,44px);margin:12px 24px 20px}.payment-check-dialog p{font-size:21px;overflow-wrap:anywhere}body.extra-large .credit-balance{font-size:22px}body.extra-large .payment-success-balance{font-size:clamp(30px,8vw,48px)}body[data-view=waiting] .credit-balance-strip{display:none}@media(max-width:700px){.credit-balance-strip{padding:10px 20px 0;justify-content:center}.payment-success-dialog,.payment-check-dialog{padding:28px 18px}.credit-balance{width:100%;max-width:360px;gap:8px}.payment-success-dialog .primary{font-size:24px}.payment-celebration-mark{width:68px;height:68px}}@media(prefers-reduced-motion:reduce){.payment-confetti{display:none}}
body{background-color:#f8f1e3;background-image:linear-gradient(#f8f1e3d9,#f8f1e3d9),url(assets/country-floral-repeat.svg);background-size:auto,850px 850px}
.site-header{background:#f8f1e3b8;border-bottom-color:#837f5b35}
.hero{padding-top:70px;padding-bottom:65px;min-height:650px}
.hero h1{font-size:clamp(66px,7.8vw,114px);text-shadow:0 2px 18px #f8f1e3}
.hero-copy .primary{margin-top:40px}
.hero-art{min-height:520px;padding-top:10px}
.hero-card{border:0;padding:0;background:transparent;overflow:visible;border-radius:3px;width:355px;max-width:100%;aspect-ratio:4/5;box-shadow:0 12px 26px #402c2930}
.hero-card>img{width:100%;height:100%;object-fit:contain;border-radius:3px}
.mini-card{width:230px;height:288px;border:0;padding:0;background:transparent;top:180px;border-radius:3px}
.mini-card>img{height:100%;object-fit:contain}
.browse-section{max-width:none;background-color:#f1efe2;background-image:linear-gradient(#f1efe2dd,#f1efe2dd),url(assets/country-meadow-repeat.svg);background-size:auto,900px 900px;padding-left:max(40px,calc((100vw - 1368px)/2));padding-right:max(40px,calc((100vw - 1368px)/2));border-top:1px solid #918c6a40}
.section-heading h2{font-size:clamp(42px,4.6vw,64px)}
.category{background:#fffaf1d9;border-color:#809077}
.gallery{gap:35px}
.template-picture,.template:nth-child(n) .template-picture{border:0;border-radius:7px;aspect-ratio:4/5;box-shadow:0 6px 18px #303c2822;background:var(--paper)}
.template-picture>img{height:100%;object-fit:cover}
.template-footer{background:#fdf9efed;color:#314330;border:1px solid #809077;border-radius:18px;box-shadow:0 3px 0 #80907760;min-height:102px}
.template-footer small{color:#435540}
.template:hover .template-footer,.template:focus-visible .template-footer{background:#314d3d;color:#fffaf1;border-color:#314d3d}
.template:hover .template-footer small,.template:focus-visible .template-footer small{color:#fffaf1}
.how-section{background-color:#f4eadd;background-image:linear-gradient(#f4eadddf,#f4eadddf),url(assets/country-floral-repeat.svg);background-size:auto,800px 800px}
.how-section .eyebrow{display:none}
footer{background:#f8f1e3d9}
.round-back{display:grid;place-items:center;width:66px;height:66px;min-width:66px;border-radius:50%;background:#fffaf1;border:2px solid #4b6350;padding:16px;margin:0 0 26px;box-shadow:0 3px 0 #4b635025}
.round-back svg{width:30px;height:30px;fill:none;stroke:#314d3d;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
#editor-view{max-width:1380px;padding-top:28px}
.editor-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:64px;align-items:start}
.editor-grid #card-form{min-width:0;background:#fffaf1ed;border:1px solid #9da88f55;border-radius:28px;padding:30px}
.preview-column{order:0;min-width:0;max-width:none;width:100%}
.preview-sticky{top:22px;text-align:center}
.shape-picker legend{font-family:var(--body);font-weight:800;font-size:34px;letter-spacing:-.7px;margin:0 0 18px;text-align:left}
.shape-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.shape-option{display:flex;flex-direction:column;min-height:123px;border-radius:18px;padding:13px 5px;font-size:24px;gap:7px;box-shadow:0 2px 0 #58674920}
.shape-ratio{font-size:18px}
.shape-description{min-height:2.8em;font-size:21px;line-height:1.35;margin:15px auto 20px;max-width:33ch;color:#364735}
.shape-stage{height:540px;background:#f9f5ebc7;border:1px solid #87957b60;border-radius:26px;box-shadow:inset 0 0 30px #969d7c12}
.picture-frame .live-preview{background:#e5e8db;border:0;box-shadow:0 12px 28px #34432b30;border-radius:2px}
#preview-composite{width:100%;height:100%;display:block;object-fit:contain}
#preview-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#4c6148;text-align:center;font-size:clamp(16px,2vw,25px);font-weight:700;line-height:1.2;padding:8px}
#preview-empty svg{width:65px;max-width:35%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shape-caption{font-size:19px;margin-top:14px}
.preview-sticky .preview-label{font-size:17px;margin:12px 0;display:block}
.preview-sticky>#look-caption:empty{display:none}
.editor-grid fieldset{margin-bottom:32px}
.editor-grid legend{font-size:28px;line-height:1.3;margin-bottom:15px;letter-spacing:-.4px}
.upload-grid{grid-template-columns:1fr;gap:18px}
.upload-box{min-height:125px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;text-align:left;padding:22px;border-radius:20px;background:#f5f1e7;border-color:#839278}
.upload-box .upload-icon{font-size:45px;flex-shrink:0;font-weight:400;color:#52634c}
.upload-box strong{font-size:26px;line-height:1.3}
.secondary-upload{min-height:118px;flex-wrap:wrap;column-gap:12px;row-gap:3px}
.secondary-upload strong{flex:1;min-width:150px;font-size:23px}
.secondary-upload .optional{width:100%;padding-left:53px;color:#56614b;font-size:19px}
.upload-box:has(img:not([hidden])){flex-direction:column;align-items:center;justify-content:center;padding:22px 14px;background:#f6f0e4;gap:18px;text-align:center}
.upload-box img{width:100%;max-width:100%;height:320px;object-fit:contain;border-radius:12px;filter:drop-shadow(0 10px 10px #303c2838);order:-1;animation:photo-float 5s ease-in-out infinite}
.secondary-upload img{height:220px}
.secondary-upload:has(img:not([hidden])) .optional{padding-left:0}
@keyframes photo-float{0%,100%{transform:translateY(2px) rotate(-.6deg)}50%{transform:translateY(-5px) rotate(.6deg)}}
.remove-photo{font-size:19px;color:#4d5e45}
.message-choices{gap:11px;margin:0 0 22px}
.message-choice{font-size:24px;padding:18px 22px;min-height:70px;border-color:#9ba58c;background:#fffdf6}
.message-choice[aria-pressed=true]{background:#e7eddd;border-color:#50694c;box-shadow:inset 5px 0 #50694c}
#theme-field>label,.advanced-options>label{display:block;font-size:25px;font-weight:800;line-height:1.3;margin:0 0 12px}
select{width:100%;max-width:100%;min-height:68px;appearance:auto;border:2px solid #8c9a7e;border-radius:14px;background:#fffdf6;color:#344730;padding:12px;font:700 23px/1.3 var(--body);cursor:pointer}
select:focus-visible,summary:focus-visible{outline:4px solid var(--teal);outline-offset:4px}
.suggestion-preview{background:transparent;border:0;border-radius:0;padding:18px 2px 0}
#chosen-message{font:400 24px/1.4 Courgette,Georgia,serif;color:#3f5138}
.suggestion-preview small{display:block;font-size:16px;color:#5d6555;margin-top:12px}
.look-option>img{aspect-ratio:4/5;object-fit:cover}
.look-option>.look-name{font-size:23px}
.look-option>small{font-size:17px}
.advanced-options{margin-bottom:28px;border-top:1px solid #a8b09a;border-bottom:1px solid #a8b09a;padding:10px 0}
.advanced-options>summary{font-size:25px;font-weight:800;cursor:pointer;min-height:68px;display:list-item;padding:16px 2px;list-style-position:inside}
.advanced-options[open]>summary{margin-bottom:15px}
.font-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.font-option{display:flex;align-items:center;gap:10px;font-size:26px;line-height:1.3;border:2px solid #a3ad96;border-radius:14px;background:#fffdf6;padding:16px 12px;min-height:72px;cursor:pointer}
.font-option:has(:checked){background:#e7eddd;border-color:#50694c}
.font-option input{accent-color:var(--teal);width:22px;height:22px;flex-shrink:0}
.advanced-options .frame-colours{margin-top:25px;margin-bottom:14px}
.background-options{grid-template-columns:1fr 1fr}
.background-options .option{font-size:19px}
.create-action{border:0;padding-top:0}
.create-action .privacy-note{text-align:center;font-size:18px;line-height:1.4;margin:20px 0 0}
body.extra-large .message-choice,body.extra-large .upload-box strong,body.extra-large legend,body.extra-large select{font-size:30px}
body.extra-large .shape-option{font-size:27px}
body.extra-large .font-options{grid-template-columns:1fr}
@media(max-width:1050px){.editor-grid{gap:30px}.editor-grid #card-form{padding:22px}.hero-card{width:300px}.hero-art{min-height:460px}.mini-card{width:195px;height:244px;top:180px}.shape-options{gap:7px}.shape-option{font-size:21px}.shape-stage{height:490px}.font-options{grid-template-columns:1fr}}
@media(max-width:700px){
  body{background-size:auto,650px 650px}.site-header{padding:18px 20px;gap:10px}.header-actions{gap:7px}.quiet{font-size:19px;white-space:nowrap}#size-toggle{font-size:20px}.wordmark{font-size:35px}
  .hero{min-height:0;padding:42px 24px 25px;gap:35px}.hero h1{font-size:clamp(58px,14.7vw,88px)}.hero-copy .primary{margin-top:30px}.hero-art{min-height:395px;padding-left:72px;padding-right:4px;padding-top:0}.hero-card{width:260px;height:auto;margin-right:10px}.hero-card>img{height:100%}.mini-card{width:185px;height:232px;top:130px;left:1px}
  .browse-section{padding:36px 0 40px;background-size:auto,660px 660px}.section-heading h2{font-size:45px}.gallery{gap:22px}.template-footer{min-height:102px}.how-section{background-size:auto,650px 650px}
  #editor-view{padding:22px 18px 40px}.round-back{width:60px;height:60px;min-width:60px;margin-bottom:24px;padding:14px}.editor-grid{display:flex;flex-direction:column;gap:20px}.preview-column{order:0;width:100%;max-width:480px}.preview-sticky{position:static}.editor-grid #card-form{width:100%;padding:23px 17px;border-radius:23px}
  .shape-picker legend{font-size:30px;text-align:left}.shape-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shape-option{display:flex;flex-direction:column;min-height:116px;font-size:21px;padding:12px 3px;gap:7px;text-align:center}.shape-icon{margin:0 auto!important}.shape-ratio{font-size:17px}.shape-stage{height:410px}.shape-description{font-size:20px;min-height:0;margin:14px auto 18px}.shape-caption{font-size:18px}.preview-sticky .preview-label{font-size:16px;display:block}.preview-sticky>#look-caption:not(:empty){display:block;font-size:18px}
  .editor-grid legend{font-size:27px}.upload-box{padding:22px 15px;min-height:120px}.upload-box strong{font-size:25px}.secondary-upload strong{font-size:23px;min-width:140px}.upload-box img{height:310px}.secondary-upload img{height:225px}.upload-box:has(img:not([hidden])){padding:22px 9px;gap:18px}
  .message-choice{font-size:23px;padding:18px 15px}.style-options{gap:10px}.look-option>.look-name{font-size:22px;padding:13px 10px 5px}.look-option>small{font-size:16px;padding:0 10px}.font-options{grid-template-columns:minmax(0,1fr)}.font-option{font-size:26px;padding:16px;gap:12px;min-width:0}.font-option input{width:22px;height:22px}
  #theme-field>label,.advanced-options>label{font-size:24px}select{font-size:22px;padding:12px 8px}.create-action .primary{font-size:25px}.background-options .option{font-size:19px}
  body.extra-large .shape-options{grid-template-columns:1fr}body.extra-large .shape-option{display:grid;grid-template-columns:44px 1fr auto;min-height:76px;text-align:left;padding:12px 20px}body.extra-large .style-options{grid-template-columns:1fr 1fr}body.extra-large .look-option>.look-name{font-size:26px}
}
@media(max-width:360px){.site-header{padding:15px 12px}.wordmark{font-size:29px}.wordmark .brand-mark{width:34px;height:34px}.quiet,#size-toggle{font-size:18px;padding:5px}.header-actions{gap:2px}.hero{padding-left:19px;padding-right:19px}.hero h1{font-size:55px}.hero-art{padding-left:60px;min-height:350px}.hero-card{width:215px}.mini-card{width:155px;height:194px;top:135px}.shape-stage{height:370px}.shape-option{font-size:19px}.shape-ratio{font-size:16px}.shape-icon.landscape{width:38px}.editor-grid #card-form{padding:21px 14px}.font-options{grid-template-columns:1fr}.upload-box img{height:275px}.look-option>.look-name{font-size:19px}.look-option>small{font-size:16px}.background-options{grid-template-columns:1fr}body.extra-large .style-options{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.upload-box img{animation:none}}

/* Primary action, optional upload, and clear removal controls. */
h1,h2,h3,legend,.look-name,.template-footer,.shape-description{ text-wrap:balance; overflow-wrap:normal; word-break:normal; hyphens:none }
p{ text-wrap:pretty }
.upload-grid>div{position:relative}
.secondary-upload,.secondary-upload:has(img:not([hidden])){background:#e4edf2;border-color:#648399;color:#263e50}
.secondary-upload .upload-icon,.secondary-upload .optional{color:#3b586d}
.remove-photo{position:absolute;right:12px;top:12px;width:60px;height:60px;padding:0;display:grid;place-items:center;border:3px solid #fffaf1;border-radius:50%;background:#b22e35;color:white;font:500 45px/1 Arial,sans-serif;box-shadow:0 4px 12px #39232330;z-index:2;text-decoration:none}
.remove-photo:hover{background:#8b1721}
.remove-photo:focus-visible{outline:4px solid #243b50;outline-offset:3px}
.upload-status:empty,.credit-note:empty{display:none}
.upload-status{font-size:20px;color:#3f5138;margin-top:16px}
.create-action{margin:8px 0 32px}
.create-action .primary{width:100%;min-height:92px;font:900 clamp(28px,3vw,36px)/1.25 var(--body);background:#285849;color:#fffdf3;border:3px solid #23483e;border-radius:22px;box-shadow:0 6px 0 #17382e}
.create-action .primary:hover{background:#1b4639;transform:translateY(-2px)}
.credit-note{font-size:21px;text-align:center;font-weight:800;margin:20px 0 0;color:#344730}
.advanced-options{margin-top:8px}
#credits-dialog .primary{width:100%;margin:16px 0}
#face-dialog p,#credits-dialog p{font-size:24px;line-height:1.45}
.credit-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0}
.credit-pack{display:flex;flex-direction:column;gap:8px;align-items:center;border:2px solid #87957b;border-radius:18px;background:#fffaf1;color:#344730;padding:22px 12px;font-size:24px;min-height:130px}
.credit-pack span{font-size:35px;font-weight:900}
.credit-pack[aria-pressed=true]{border:3px solid #285849;background:#e5eddb;box-shadow:0 4px 0 #285849}
@media(max-width:500px){.credit-packs{grid-template-columns:1fr}.credit-pack{flex-direction:row;justify-content:space-between;min-height:90px;padding:16px 24px}}
@media(max-width:360px){.remove-photo{width:56px;height:56px}.look-option>.look-name{font-size:20px}.create-action .primary{font-size:29px}}

/* The selected category is already named on its button. */
.gallery-top{justify-content:flex-end;margin:10px 0 18px}
@media(min-width:761px){.gallery-top{display:none}.categories{margin-bottom:26px}}

.wordmark .brand-name .brand-o{color:#c79a48;font:inherit;letter-spacing:inherit;margin:0}
button.picture-frame{display:block;padding:0;background:transparent;text-align:inherit}
button.picture-frame:hover{filter:brightness(1.02)}
button.picture-frame:focus-visible{outline:4px solid var(--teal);outline-offset:6px}
.shape-picker{position:relative}
.photo-preview-wrap{position:relative;width:fit-content;max-width:100%}
.remove-photo.primary-remove{position:absolute;top:8px;right:8px;width:88px;height:auto;min-width:44px;min-height:64px;max-width:calc(100% - 16px);display:flex;flex-direction:column;align-items:center;gap:3px;margin:0;padding:2px;border:0;border-radius:8px;background:transparent;color:#3f5847;font:700 16px/1.2 var(--body);box-shadow:none;text-decoration:none}
.primary-remove .remove-photo-icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid #a9b79f;border-radius:50%;background:#fffaf1;font:400 24px/1 Arial,sans-serif}
.primary-remove .remove-photo-label{max-width:100%;padding:3px 5px;border-radius:6px;background:#fffaf1f2;font:inherit;text-align:center}
.remove-photo.primary-remove:hover{background:transparent}
.primary-remove:hover .remove-photo-icon,.primary-remove:hover .remove-photo-label{background:#e7eddd}
body.extra-large .primary-remove{width:110px;font-size:19px}
#scene-caption{text-align:center;margin:10px 0 0;font-size:20px}
.polaroid-dialog{box-sizing:border-box;width:min(620px,calc(100% - 24px));max-height:94dvh;padding:28px 22px;overflow:auto;text-align:center}.polaroid-dialog h2{font-size:clamp(30px,6vw,44px);margin:8px 28px 18px}.polaroid-preview{display:block;margin:0 auto 18px;max-width:100%;width:auto;height:auto;max-height:44dvh;box-shadow:0 4px 18px #402c2920}.polaroid-choices{display:grid;gap:12px}.polaroid-choices button{width:100%;min-height:60px;font-size:24px;padding:16px 14px}.polaroid-dialog p{margin:14px auto}.polaroid-dialog .field-hint{font-size:17px}.polaroid-dialog .polaroid-status:empty{display:none}body.extra-large .polaroid-choices button{font-size:28px}body.extra-large .polaroid-dialog .field-hint{font-size:21px}
body[data-view=waiting] .site-header,body[data-view=waiting]>footer{display:none}
.waiting-view{min-height:100svh;max-width:650px;margin:auto;padding:36px 22px;text-align:center}
.waiting-view h1{font:800 clamp(28px,5.7vw,42px)/1.2 var(--body);letter-spacing:-.025em;margin:0 auto 20px;max-width:20ch}
#waiting-status{font-size:20px}
.waiting-view .game-panel{border:0;box-shadow:none;background:transparent;padding:0;margin:22px 0 0}
.waiting-view .game-invitation{padding:12px 0;margin:0;background:transparent;border:0}
#memory-game .flower-game,body.extra-large #memory-game .flower-game{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(100%,390px);margin:18px auto}
#memory-game .flower-tile,.match-centre{aspect-ratio:1;min-width:0;min-height:0;padding:5px;border-radius:16px}
#memory-game .memory-art{width:90%;height:90%}
#memory-game .card-back-flower{width:auto;height:auto;font-size:45px}
.match-centre{display:grid;place-items:center;color:var(--gold);font-size:44px}
#game-message{font-size:21px}
.waiting-view .ready-banner{margin:18px 0;padding:16px;gap:12px;font-size:22px}

/* Quiet print caption; this frame is screen presentation, not an image filter. */
.result-print{display:grid;justify-items:center;align-content:start;justify-self:center;max-width:100%;margin:0;padding:12px 12px 0;background:#fffaf1;box-shadow:0 6px 24px #402c2920}.result-print>.result-image{display:block;max-width:100%;max-height:min(56dvh,620px);width:auto;height:auto;border:0;box-shadow:none;transform:none}.result-caption{box-sizing:border-box;width:100%;padding:20px 12px 16px;text-align:center;color:#57463e;font:18px/1.55 "Courier New",Courier,monospace}.result-caption p{margin:0;max-width:none}.result-caption-title{font-size:21px;font-weight:700;overflow-wrap:anywhere}.result-caption .preview-label{margin:7px 0 0;font:16px/1.45 var(--body);color:#65544d}.result-details{margin-top:8px}.result-details summary{cursor:pointer;min-height:44px;display:list-item;list-style-position:inside;padding:9px 0;font-size:16px;text-decoration:underline;text-underline-offset:4px}.result-details summary:focus-visible{outline:3px solid var(--teal);outline-offset:3px}.result-details p{padding-top:8px;font-size:16px;overflow-wrap:anywhere}.result-details p:empty{display:none}.result-support{margin-top:24px;font-size:19px}.result-support a{text-underline-offset:4px}.result-actions #start-another{min-height:48px;font-size:21px}#result-view #save-status:empty,#result-view #library-save-status:empty{display:none}body.extra-large .result-caption-title{font-size:25px}body.extra-large .result-details summary,body.extra-large .result-details p{font-size:20px}body.extra-large .result-support,body.extra-large .result-actions #start-another{font-size:24px}@media(max-width:700px){.result-print{max-width:100%;padding:10px 10px 0}.result-print>.result-image{max-height:65dvh}.result-caption{padding:18px 8px 12px}.result-grid .result-caption .preview-label{font-size:16px}}

/* Match the homepage print: the image owns its frame; metadata sits beneath. */
.result-print{padding:12px 12px 0;background:transparent;box-shadow:none;min-width:0}
.result-print>.result-image{max-width:100%;max-height:min(60dvh,660px);border-radius:3px;box-shadow:0 12px 26px #402c2930;transform:rotate(2deg);backface-visibility:hidden;transform-origin:center}
.result-print>.result-image.is-polaroid{border-radius:0;box-shadow:1px 2px 0 #bdb7aa,0 14px 28px #402c2930}
.result-caption{padding-top:28px}
#keep-polaroid{font-size:20px;min-height:48px;text-align:left;text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){.result-print{width:100%;padding:10px 10px 0}.result-print>.result-image{max-width:calc(100% - 16px);max-height:60dvh}.result-caption{padding-top:24px}}
@media(prefers-reduced-motion:reduce){.result-print>.result-image{transform:none}}
.result-grid{align-items:start}
@media(max-width:700px){
 .result-grid{display:flex;flex-direction:column;gap:0}
 .result-grid>div{display:contents}
 .result-grid>div>*{order:5}
 .result-grid #result-title{order:1;font-size:clamp(44px,12vw,64px)}
 .result-grid>div>.intro{order:2}
 .result-grid>.result-print{order:3;margin:4px auto 26px}
 .result-grid .result-actions{order:4;width:100%}
}
