/* The image fills the whole poster; titles and a small activity caption float above it. */
.poster-view.painted-poster,.gallery-page .poster-view.painted-poster,.sheet .poster-view.painted-poster{position:relative;padding:0!important;display:block!important;overflow:hidden;background:white;isolation:isolate}.painted-poster>.scene-frame,.gallery-page .painted-poster>.scene-frame,.sheet .painted-poster>.scene-frame{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:-1;overflow:hidden}.painted-poster .painted-scene,.gallery-page .painted-poster .painted-scene,.sheet .painted-poster .painted-scene{width:100%!important;height:100%!important;max-width:none;aspect-ratio:auto;border-radius:0;display:block}.painted-poster .painted-background{object-fit:cover}.painted-poster>.poster-header,.gallery-page .painted-poster>.poster-header,.sheet .painted-poster>.poster-header{position:absolute;top:2.3%;left:4.5%;right:4.5%;height:3.2%!important;display:flex;align-items:center;justify-content:space-between;margin:0}.painted-poster .poster-header>.poster-logo,.gallery-page .painted-poster .poster-header>.poster-logo,.sheet .painted-poster .poster-header>.poster-logo{width:18%;height:100%;background:#fffef3e6;border-radius:3px;padding:1px 3px;object-fit:contain}.painted-poster .poster-header>span{display:none}.painted-poster>h2,.gallery-page .painted-poster>h2,.sheet .painted-poster>h2{position:absolute;top:7%;left:4.5%;max-width:91%;margin:0;padding:4px 9px;background:#fffef2ed;border-radius:5px;font-size:clamp(22px,3vw,34px);line-height:1.12;color:#304b5b;box-shadow:0 2px 7px #3a594b0d}.painted-poster>.poster-hint{display:none!important}.painted-poster>.poster-guide,.gallery-page .painted-poster>.poster-guide,.sheet .painted-poster>.poster-guide{position:absolute;bottom:3.5%;left:4.5%;width:91%;min-height:0!important;margin:0!important;padding:6px 10px!important;display:flex;align-items:center;gap:8px;background:#fffef1ef;border:1px solid #fffef166;border-radius:7px}.painted-poster .poster-guide>.guide-character,.gallery-page .painted-poster .poster-guide>.guide-character,.sheet .painted-poster .poster-guide>.guide-character{display:block!important;width:10%;height:42px;flex:none}.painted-poster .poster-guide strong,.gallery-page .painted-poster .poster-guide strong{font-size:14px}.painted-poster .poster-guide p,.gallery-page .painted-poster .poster-guide p{font-size:10px;line-height:1.25;margin:2px 0 0}.painted-poster>.poster-foot,.gallery-page .painted-poster>.poster-foot,.sheet .painted-poster>.poster-foot{position:absolute;bottom:.7%;left:4.5%;right:4.5%;margin:0!important;font-size:7px;background:#fffef1df;padding:1px 5px;border-radius:3px}.painted-poster .scene-label{background:#fffdf0ed;font-size:10px;max-width:145%;white-space:normal;z-index:2}.painted-poster .scene-object .scene-image{width:100%;height:100%}.growing-plant{position:relative;width:100%;height:100%}.plant-support{position:absolute;inset:0}.plant-produce{position:absolute;width:55%;height:48%;left:38%;top:39%}.plant-produce .art{width:100%;height:100%}.plant-cucumber .plant-produce{width:43%;height:49%;left:43%;top:30%;transform:rotate(-45deg)}.plant-tomato .plant-produce{width:47%;height:41%;left:48%;top:43%}.plant-pepper .plant-produce{width:44%;height:48%;left:49%;top:39%}.plant-pumpkin .plant-produce{width:68%;height:80%;left:20%;top:20%}.plant-potato .plant-produce{width:70%;height:33%;left:15%;top:69%}.plant-potato .plant-support{height:72%}.plant-onion .plant-support{height:72%}.plant-onion .plant-produce{width:73%;height:47%;left:13%;top:53%}.activity-preview>div{flex:1}.activity-preview .activity-help{width:30px;height:30px;min-height:30px;padding:3px;flex:none;font-family:Georgia,serif;font-style:italic}.activity-intro{font-size:14px;background:#e3edf3;padding:14px;border-radius:8px}.activity-steps{font-size:14px;padding-left:22px}.activity-steps li{padding:7px 0}.theme-activity-options button{text-align:left!important;line-height:1.25;min-height:48px}.activities .button-row{gap:6px}.guide-choice{margin-top:14px}.private-only[hidden]{display:none!important}@media(max-width:600px){.painted-poster>h2{font-size:clamp(17px,4.2vw,24px);padding:3px 6px}.painted-poster .poster-guide strong{font-size:11px}.painted-poster .poster-guide p{font-size:8px}.painted-poster .poster-guide>.guide-character{height:32px}.painted-poster>.poster-guide{padding:4px 7px!important;gap:5px}.painted-poster .scene-label{font-size:7px}.painted-poster>.poster-foot{font-size:6px}}@media print{.sheet .painted-poster>h2{font-size:22pt}.sheet .painted-poster .poster-guide strong{font-size:11pt}.sheet .painted-poster .poster-guide p{font-size:8pt}.sheet .painted-poster .poster-guide>.guide-character{height:14mm}.sheet .painted-poster .scene-label{font-size:8pt}}

/* Quantities share the illustrated deck artwork and remain countable in groups of five. */
.quantity-dots,.quantity-fruit{display:block;width:100%;height:100%;min-height:0;overflow:visible}
.quantity-fruit{display:flex;flex-direction:column;justify-content:center;gap:3px}
.quantity-row{display:flex;align-items:center;justify-content:center;height:46%;min-height:0;gap:1px}
.count-fruit{display:block;flex:0 0 19%;height:100%;min-width:0}
.quantity-fruit .count-fruit .illustration-crop{height:100%}
.painted-scene .scene-number{container-type:inline-size}
.painted-scene .scene-number .number-visual{grid-template-rows:29% 71%;width:100%;height:100%;gap:0;overflow:visible}
.painted-scene .scene-number .number-visual .number{font-size:24cqw!important;line-height:1;color:#263f50;background:#fffbeaeb;border:1px solid #d2bd85;border-radius:30%;padding:0 .12em;min-width:1em;text-align:center;text-shadow:none;box-shadow:0 1px 3px #352f1924;z-index:1}
.painted-scene .scene-number .hands{height:100%!important;width:100%!important;mix-blend-mode:normal;gap:1px}
.painted-scene .scene-number .hands>svg{max-width:48%;height:100%;overflow:hidden}
.painted-scene .scene-number .quantity-fruit,.painted-scene .scene-number .quantity-dots{width:100%;height:100%}
.painted-scene .scene-number .scene-label{font-size:9cqw!important;line-height:1.15;padding:1px 4px;top:calc(100% + 2px);max-width:100%;background:#fffbedf2;color:#263f50}
.theme-activity-options button{text-align:center!important;justify-content:center;align-items:center}

.theme-icon{display:inline-block;width:22px;height:22px;vertical-align:middle;flex:none}.themes button{display:inline-flex;align-items:center;gap:6px}.themes button>span{display:inline-flex;margin:0}.choice-icon .theme-icon{width:32px;height:32px}.deck-card header .theme-icon{width:18px;height:18px}.tile-index{border:1px solid #9bb6c5;padding:1mm 2mm;margin-left:2mm}.series-art .illustration-crop{height:100%}

.theme-picture{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;flex:none}.theme-picture>.illustration-crop,.theme-picture>.art,.theme-picture>svg{width:100%;height:100%;min-height:0}.theme-picture .art>svg{height:100%;width:100%}.themes button{gap:7px;min-height:48px}.choice-icon .theme-picture{width:62px;height:56px}.deck-card header .theme-picture{width:24px;height:24px}
.choice-grid>.select-card{position:relative}.choice-grid>.select-card>.buddy{position:absolute;top:5px;right:5px;bottom:auto;width:25px;height:25px;padding:1px;display:block;overflow:hidden}.choice-grid>.select-card>.buddy>*{display:block;width:100%;height:100%;object-fit:contain}.select-card>.art{position:relative}

.activity-theme{break-inside:avoid;margin:0 0 3mm}.activity-theme>h3{font:700 9pt Arial;margin:0 0 1.5mm}.activity-card-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-left:.2mm solid #94aeba;border-top:.2mm solid #94aeba}.activity-cut-card{height:54mm;box-sizing:border-box;position:relative;padding:3mm;display:flex;flex-direction:column;align-items:center;text-align:center;border-right:.2mm solid #94aeba;border-bottom:.2mm solid #94aeba;background:white;color:#304b5b}.activity-pal{display:block;width:11mm;height:11mm;margin-bottom:2mm}.activity-pal>*{width:100%;height:100%;object-fit:contain}.activity-cut-card>strong{font:700 9pt/1.2 Arial}.activity-cut-card>p{font:8pt/1.35 Arial;margin:2mm 0;flex:1}.activity-cut-card>small{font:6pt Arial;color:#698594}.activity-groups{display:grid;gap:0}

.mini-card,.choice-grid>.select-card,.card-big{position:relative;border:1.5px solid #4c6f84;background:#fffef8}
.mini-card:before,.choice-grid>.select-card:before,.card-big:before{content:'';position:absolute;inset:5px;border:1px dashed #c1d6df;pointer-events:none;z-index:1}
.card-head{display:flex;justify-content:space-between;align-items:center;width:100%;height:22px;flex:none;position:relative;z-index:2;padding:0 2px}
.card-head>img{width:64px;height:20px;object-fit:contain}.card-head>.theme-picture{width:24px;height:24px}
.card-topic{position:relative;flex:none;width:100%;height:24px;margin-top:6px;background:#e3edf3;border:1px solid #d5e4ec;border-radius:3px;display:flex;align-items:center;justify-content:center;padding:0}
.topic-name{display:block;width:100%;text-align:center;font:600 8px/1.1 Arial;letter-spacing:.6px;text-transform:uppercase;color:#3d5e73}
.card-pal{position:absolute;left:2px;bottom:0;width:29px;height:30px;display:block}.card-pal>*{width:100%;height:100%;object-fit:contain}
.mini-card .art{flex:1;min-height:0}.mini-card .label{height:35px;margin:5px 0 0}
.choice-grid>.select-card{padding:10px;display:flex;flex-direction:column;align-items:center;min-height:0}.choice-grid>.select-card .art{height:100px;width:100%;flex:none}.choice-grid>.select-card .label{height:30px;margin:5px 0 0}.choice-grid>.select-card .card-head{height:18px}.choice-grid>.select-card .card-head>img{width:49px;height:16px}.choice-grid>.select-card .card-head>.theme-picture{width:20px;height:20px}.choice-grid>.select-card .card-topic{margin-top:4px;height:21px}.choice-grid>.select-card .card-topic .card-pal{width:24px;height:25px}.choice-grid>.select-card .topic-name{font-size:7px;letter-spacing:.2px}
.card-big .card-head{height:17px}.card-big .card-head>img{width:48px;height:16px}.card-big .card-head>.theme-picture{width:18px;height:18px}.card-big .card-topic{height:20px}.card-big .card-pal{width:23px;height:24px}.card-big .label{height:25px;margin-top:4px}.card-big .topic-name{font-size:7px;letter-spacing:.2px}
.sheet .cut-card{padding:4mm;background:#fffef8}.sheet .cut-card:before{content:'';position:absolute;inset:1.3mm;border:.35mm solid #4c6f84;pointer-events:none}.sheet .cut-card:after{content:'';position:absolute;inset:2.4mm;border:.15mm dashed #c1d6df;pointer-events:none}.sheet .cut-card .card-head{height:5mm;padding:0}.sheet .cut-card .card-head>img{width:17mm;height:5mm}.sheet .cut-card .card-head>.theme-picture{width:6mm;height:6mm}.sheet .cut-card .art{height:auto;width:100%;flex:1;min-height:0}.sheet .cut-card .label{height:9mm;max-height:9mm;margin-top:1.5mm;flex:none}.sheet .cut-card .card-topic{height:6mm;margin-top:1mm;flex:none}.sheet .cut-card .topic-name{font-size:6pt;letter-spacing:.2mm}.sheet .cut-card .card-pal{width:8mm;height:8mm;left:.5mm;bottom:0}
.packet-chip{position:relative;display:inline-flex}.packet .packet-chip>button[data-theme]{padding-right:27px}.packet .packet-chip>.remove-theme{position:absolute;right:1px;top:1px;width:20px;height:20px;min-height:20px;padding:3px;border:0;background:transparent;border-radius:5px}.packet .remove-theme>svg{width:13px;height:13px;display:block}.packet .remove-theme:hover{background:#e3edf3;color:#8c3d3a}.packet .remove-theme:focus-visible{outline:2px solid #4c6f84;outline-offset:1px}

.number-visual.number-character-only,.painted-scene .scene-number .number-visual.number-character-only{display:block;grid-template-rows:none;width:100%;height:100%}.number-character-only>.illustration-crop{height:100%;width:100%}.card-mini-digit{font:bold 16px/1 Arial;color:#4c6f84}.card-thumbnail{display:block;flex:none;width:24px;height:22px}.card-thumbnail>.art{width:100%!important;height:100%!important;min-height:0;flex:none!important}.card-thumbnail .illustration-crop{height:100%}.sheet .cut-card .card-thumbnail{width:6mm;height:6mm}.sheet .cut-card .card-mini-digit{font-size:10pt}.choice-grid>.select-card .card-thumbnail{width:20px;height:18px}.card-big .card-thumbnail{width:18px;height:17px}

.mode-thumbnail{display:block;width:100%;height:34px;margin:0 auto 3px}.mode-thumbnail>svg,.mode-thumbnail>.illustration-crop{height:100%;width:100%}.mode-thumbnail>.quantity-dots{height:100%}#visual-options .number-theme-controls button{padding:5px 3px;font-size:10px;min-height:57px;line-height:1.15}.number-character-only{overflow:visible}
.themes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr));width:100%;max-width:100%;min-width:0;overflow:visible}.themes button{width:100%;max-width:100%;min-width:0;justify-content:center;white-space:normal;line-height:1.2}.themes button>span{flex-shrink:0}.intro,.tools,.editor,.preview-area{min-width:0}.tools{max-width:100%}
.painted-scene[data-scene="shapes"] .scene-image{isolation:isolate}.painted-scene[data-scene="shapes"] .scene-image::before{content:'';position:absolute;inset:62% -10% -7%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,#fff 0%,#fffffff2 24%,#ffffff8c 47%,#ffffff00 72%)}

.card-big>.art{width:100%;align-self:stretch;min-width:0}
.sheet .cut-card.activity-cut-card{width:60mm;height:85mm;padding:4mm;justify-content:flex-start;text-align:center;background:#fffef8}.sheet .activity-cut-card>.activity-pal{height:22mm;width:24mm;flex:none;margin:3mm 0 2mm}.sheet .activity-cut-card>strong{font:700 11pt/1.2 Arial;margin:1mm 0;flex:none}.sheet .activity-cut-card>p{font:9pt/1.3 Arial;margin:1.8mm 0 1mm;flex:1;min-height:0;width:100%}.sheet .activity-cut-card>.card-topic{margin-top:auto}.photo-crop{touch-action:none;cursor:grab;outline-offset:3px}.photo-crop:active{cursor:grabbing}.photo-crop:focus-visible{outline:3px solid #4c6f84}.photo-crop>img{pointer-events:none;user-select:none;-webkit-user-drag:none}

.card-topic{background:var(--topic-bg,#e3edf3);border-color:var(--topic-edge,#d5e4ec)}.mono .card-topic{background:#eeeeee;border-color:#929da3}

.poster-view.painted-poster>.poster-foot{background:none!important;padding:0!important;justify-content:flex-end;color:#fff;font-size:9px;text-shadow:0 1px 2px #203c4edd}@media print{.sheet .poster-view.painted-poster>.poster-foot{font-size:7pt}}
