/* Controls affect only the allowed Home tiles; normal rows keep their style. */
.home-start-actions .new-destinations>h3{gap:8px;flex-wrap:nowrap}
.home-start-actions .home-layout-row{min-width:0}
.home-start-actions .home-layout-row .new-choice{border-bottom:1px solid #eeeaf3}
.home-start-actions .home-layout-row:last-child .new-choice{border-bottom:0}
.home-start-actions .home-layout-controls[hidden],.home-start-actions .home-layout-status[hidden]{display:none!important}
.home-start-actions.home-layout-editing .home-layout-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:4px;border-bottom:1px solid #eeeaf3}
.home-start-actions.home-layout-editing .home-layout-row .new-choice{min-width:0;border-bottom:0;overflow-wrap:anywhere}
.home-start-actions .home-layout-controls{display:flex;gap:4px;padding-right:0}
.home-start-actions .home-layout-move{flex:0 0 44px;min-width:44px;min-height:44px;padding:6px;border:1px solid #cdbdde;border-radius:9px;background:#fff;color:#503863;font:600 20px/1 Arial,sans-serif;touch-action:manipulation;cursor:pointer}
.home-start-actions .home-layout-move[aria-disabled=true]{opacity:.45;cursor:default}
.home-start-actions .home-layout-status{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;padding:0;margin:0}
.home-start-actions{position:relative}
.home-start-actions .home-layout-row{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-y}
.home-start-actions .home-layout-grip{flex:0 0 44px;min-width:44px;width:44px;min-height:44px;padding:6px;border:0;border-radius:8px;background:transparent;color:#8b7d97;font:24px/1 Arial,sans-serif;cursor:grab;touch-action:none}
.home-start-actions .home-layout-controls .home-layout-move{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;padding:0;border:0}
.home-start-actions .home-layout-controls .home-layout-move:focus{position:relative;width:44px;height:44px;clip-path:none;padding:6px;border:1px solid #cdbdde}
.home-start-actions .home-layout-row:has(.home-layout-move:focus){grid-template-columns:minmax(0,1fr) 92px}
.home-start-actions .home-layout-drag-source{opacity:.2}
.home-start-actions .home-layout-drag-ghost{position:absolute;z-index:50;pointer-events:none;display:flex;align-items:center;border-radius:14px;background:#fff;box-shadow:0 8px 22px #50386335;outline:1px solid #d8c7e8;transform:scale(1.025)}
.home-start-actions .home-layout-drag-ghost .new-choice{flex:1;min-width:0;border:0}
.home-start-actions .home-layout-drag-ghost .home-layout-controls{display:none}
.home-start-actions.home-layout-dragging{cursor:grabbing}
@media(prefers-reduced-motion:reduce){.home-start-actions .home-layout-drag-ghost{transform:none}}
@media(max-width:360px){.home-start-actions.home-layout-editing .new-choice{gap:8px;padding:10px}}
@media print{.home-start-actions .home-layout-controls,.home-start-actions .home-layout-status{display:none!important}}

/* Each Home flame uses its section color with the original artwork's light and texture. */
.home-start-actions .new-choice small{display:none}
.home-start-actions .home-charlotte-flame{position:relative;isolation:isolate;width:42px;height:46px;transform-origin:50% 82%;filter:drop-shadow(0 2px 1px #42326340) drop-shadow(0 0 2px var(--gem-color));animation:home-charlotte-flicker 2.8s ease-in-out infinite;animation-delay:var(--home-flame-delay,0s)}
.home-start-actions .home-charlotte-flame::before{content:"";position:absolute;inset:0;background:var(--gem-color);-webkit-mask:url('/charlotte-flame.webp') center/contain no-repeat;mask:url('/charlotte-flame.webp') center/contain no-repeat;pointer-events:none}
.home-start-actions .home-charlotte-flame-image{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:grayscale(1);mix-blend-mode:luminosity}
.home-start-actions .home-charlotte-flame.gem-0{--home-flame-delay:-1.2s}
.home-start-actions .home-charlotte-flame.gem-1{--home-flame-delay:-.4s}
.home-start-actions .home-charlotte-flame.gem-2{--home-flame-delay:-2.1s}
.home-start-actions .home-charlotte-flame.gem-3{--home-flame-delay:-.8s}
.home-start-actions .home-charlotte-flame.gem-4{--home-flame-delay:-1.8s}
.home-start-actions .home-charlotte-flame.gem-5{--home-flame-delay:-.2s}
@keyframes home-charlotte-flicker{0%,100%{transform:scale(.985,1.01) rotate(-.5deg)}16%{transform:scale(1.01,.99) rotate(.45deg)}34%{transform:scale(.99,1.02) rotate(-.2deg)}58%{transform:scale(1.02,.98) rotate(.3deg)}78%{transform:scale(.995,1.015) rotate(-.35deg)}}
@media(prefers-reduced-motion:reduce){.home-start-actions .home-charlotte-flame{animation:none;transform:none}}

/* Submenus use recognizable line symbols; Home retains its original flames. */
.submenu-icon{flex:0 0 42px;width:42px;height:46px;display:inline-flex;align-items:center;justify-content:center;color:var(--gem-color,#9973d4)}
.submenu-icon svg{display:block;width:26px;height:26px}

.more-back{min-height:44px;margin:0 0 10px;padding:8px 12px;font-size:16px;display:inline-flex;gap:5px;align-items:center}.more-back span{font-weight:400}.more-submenu .destination-row{font-size:16px!important;min-height:52px}.more-section-menu .new-choice strong{font-size:18px}.more-section-menu .new-choice{min-height:76px}.more-section-menu .new-choice>span:nth-child(2){flex:1;min-width:0}.more-standalone-back{margin:12px;display:inline-flex;min-height:44px;align-items:center;color:#513987;font-size:16px}@media print{.more-back,.more-standalone-back{display:none!important}}

/* Match Charlotte's bright rainbow palette, one hue per Home flame. */
.home-start-actions .home-charlotte-flame.gem-0{--gem-color:#e92389}
.home-start-actions .home-charlotte-flame.gem-1{--gem-color:#6a3df5}
.home-start-actions .home-charlotte-flame.gem-2{--gem-color:#14afe2}
.home-start-actions .home-charlotte-flame.gem-3{--gem-color:#22b975}
.home-start-actions .home-charlotte-flame.gem-4{--gem-color:#fa9020}
.home-start-actions .home-charlotte-flame.gem-5{--gem-color:#ffd33d}

.home-start-actions .home-layout-grip:focus-visible,.home-start-actions .home-layout-move:focus-visible{outline:3px solid #8e6db1;outline-offset:2px}

/* Two-column Home layout requested by Mandy, October 10. */
.home-start-actions .new-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:transparent;border:0;box-shadow:none}
.home-start-actions .new-destinations>h3{grid-column:1/-1;margin:0 0 4px;padding:0;font-size:18px;line-height:1.4}
.home-start-actions .home-layout-row .new-choice{width:100%;height:100%;min-height:112px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:14px 8px;border:1px solid #e6deef;border-radius:18px;background:#fff;box-shadow:0 3px 12px #4e35690a;text-align:center}
.home-start-actions .home-layout-row:last-child .new-choice{border-bottom:1px solid #e6deef}
.home-start-actions .new-choice strong{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.home-start-actions .new-choice .row-chevron{display:none}
.home-start-actions .new-choice>span:nth-child(2){flex:0 1 auto}
.home-start-actions .new-choice:focus-visible{outline:3px solid #8154c8;outline-offset:2px}
.home-start-actions.home-layout-editing .home-layout-row{grid-template-columns:minmax(0,1fr);border-bottom:0}
.home-start-actions.home-layout-editing .home-layout-controls{justify-content:center}

.estimate-home-confirmation{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:#f8f5fa;color:#503863;font:600 22px/1.5 Arial,sans-serif;text-align:center;opacity:1;transition:opacity .3s ease;pointer-events:none}.estimate-home-confirmation.is-fading{opacity:0}@media(prefers-reduced-motion:reduce){.estimate-home-confirmation{transition:none}}
