/* v26b */

  @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Inter:wght@400;500&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Fredoka:wght@400;500;600&display=swap');

  :root {
    --orange: #F4942A;
    --blue:   #2474BC;
    --peach2: #FDF1EA;
    --peach-tint: #FAE8DE;
    --off-white: #F7F6F3;
    --white-warm: #FFFDFB;
    --charcoal: #3D3D3A;
    --feat: #6E6E68;
    --line: #F0DACE;
  }

  .dgq-app, .dgq-app *, .dgq-app *::before, .dgq-app *::after { box-sizing: border-box; }
  body {
    margin: 0; padding: 0;
    background: var(--off-white);
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* PAGE WRAP — v26 gradient background */
  .page-wrap {
    background: linear-gradient(180deg, var(--peach2), var(--peach-tint) 180px, var(--off-white) 100%);
    min-height: 100vh;
    padding: 0 0 4rem 0;
    position: relative;
    overflow: hidden;
  }

  /* DECORATIVE SCATTERED FIGURES — v26 style */
  .dec {
    position: absolute;
    z-index: 0;
    height: auto;
    pointer-events: none;
  }

  /* PAGE HEADER — v26 style */
  .page-header {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 1.5rem 1.5rem;
    position: relative;
    z-index: 2;
  }
  .page-header .eyebrow {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    opacity: .8;
    margin-bottom: 12px;
  }
  .page-header h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 1.0;
    color: var(--blue);
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
  }
  .page-header h1 .small {
    display: block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
  }
  .page-header p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--feat);
    margin: 0;
    line-height: 1.6;
  }

  /* FRAME OUTER WRAPPER */
  .d4-frame-outer {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
  }


  /* ===== FRAME INTERNO — MOOD CARAMELLA ORIGINALE ===== */
.d4-frame { max-width: 680px; width: 100%; background: #FFF8F0; border-radius: 28px; border: 3px solid #FFB266; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 28px rgba(244,146,46,0.14); position: relative; }
  .d4-blob-a { position: absolute; z-index: 0; top: -30px; right: -25px; width: 150px; height: 150px; background: #FFE0B0; border-radius: 50%; z-index: 0; opacity: 0.55; pointer-events: none; }
  .d4-blob-b { position: absolute; z-index: 0; bottom: 110px; left: -35px; width: 120px; height: 120px; background: #D6E9FB; border-radius: 50%; z-index: 0; opacity: 0.5; pointer-events: none; }
  .d4-content { padding: 1.75rem 1.75rem 1.25rem 1.75rem; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
  .d4-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
  .d4-momento { font-family: 'Fredoka',sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #C25400; font-weight: 600; }
  .d4-progress { font-family: 'Fredoka',sans-serif; font-size: 12px; color: #B59878; text-align: right; }
  .d4-progress-bar { display: flex; gap: 3px; margin-top: 6px; justify-content: flex-end; }
  .d4-dot { width: 16px; height: 4px; background: #FCE0BE; border-radius: 3px; transition: background 0.3s; }
  .d4-dot.active { background: #FF8000; }
  .d4-dot.done { background: #FFB266; }
  .d4-time { font-family: 'Fredoka',sans-serif; font-size: 36px; color: #C25400; margin: 0 0 0.45rem 0; line-height: 1; font-weight: 600; }
  .d4-scene-text { font-family: 'Fredoka',sans-serif; font-size: 15px; line-height: 1.6; color: #7A5230; margin: 0 0 1.25rem 0; font-weight: 400; }
  .d4-instruction { font-family: 'Fredoka',sans-serif; font-size: 12px; color: #378ADD; font-weight: 500; margin: 0 0 0.85rem 0; text-align: center; }
  .d4-options { display: flex; flex-direction: column; gap: 8px; }
  .d4-option { background: white; border: 1.5px solid #F3E2CC; border-radius: 14px; padding: 12px 16px; font-family: 'Fredoka',sans-serif; font-size: 13.5px; color: #5C3F22; cursor: pointer; transition: all 0.18s; text-align: left; line-height: 1.5; width: 100%; }
  .d4-option:hover { border-color: #FF8000; background: #FFF4E6; transform: translateX(2px); }
  .d4-footer { padding: 0.9rem 1.75rem; border-top: 2px dashed #FCE0BE; background: rgba(255,255,255,0.4); display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
  .d4-back { background: none; border: none; color: #C0A578; cursor: pointer; padding: 4px 10px; font-size: 12px; font-family: 'Fredoka',sans-serif; border-radius: 6px; }
  .d4-back:hover:not(:disabled) { color: #FF8000; }
  .d4-back:disabled { opacity: 0.3; cursor: not-allowed; }
  .d4-intro-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem 0; text-align: center; }
  .d4-intro-eyebrow { font-family: 'Fredoka',sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #C25400; font-weight: 600; margin: 0 0 1rem 0; }
  .d4-intro-title { font-family: 'Pacifico',cursive; font-size: 36px; color: #F4922E; margin: 0 0 0.6rem 0; line-height: 1.15; }
  .d4-intro-sub { font-family: 'Fredoka',sans-serif; font-size: 16px; color: #B59878; line-height: 1.5; margin: 0 0 1.5rem 0; font-weight: 400; }
  .d4-intro-body { font-family: 'Fredoka',sans-serif; font-size: 13.5px; color: #7A5230; line-height: 1.7; margin: 0 auto 1.75rem auto; max-width: 420px; }
  .d4-start { background: #FF8000; color: white; border: none; border-radius: 30px; padding: 13px 32px; font-family: 'Fredoka',sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.18s; }
  .d4-start:hover { background: #E67200; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,128,0,0.3); }
  .d4-bubble-stage { position: relative; width: 100%; height: 210px; }
  .d4-bubble { position: absolute; background: white; border: 1.5px solid #F3E2CC; border-radius: 18px; padding: 9px 14px; font-family: 'Fredoka',sans-serif; font-size: 12.5px; color: #5C3F22; cursor: pointer; transition: all 0.2s; max-width: 220px; line-height: 1.4; box-shadow: 0 2px 8px rgba(244,146,46,0.08); opacity: 0; transform: scale(0.7); }
  .d4-bubble.visible { opacity: 1; transform: scale(1); }
  .d4-bubble:hover { border-color: #FF8000; background: #FFF4E6; transform: scale(1.04); z-index: 10; }
  .d4-bed-illust { display: flex; justify-content: center; margin-bottom: 0.5rem; }
  .d4-bed-icon { width: 90px; height: 90px; }
  .d4-bed-icon svg { width: 100%; height: 100%; display: block; }
  .d4-kitchen-stage { position: relative; width: 100%; height: 260px; background: white; border-radius: 18px; padding: 12px; overflow: hidden; box-shadow: inset 0 2px 8px rgba(0,0,0,0.03); }
  .d4-counter { position: absolute; bottom: 0; left: 0; right: 0; height: 105px; background: #FBEEDD; border-top: 2px dashed #F4C896; }
  .d4-dest { position: absolute; top: 12px; width: 72px; height: 72px; background: #FFF; border: 2px solid #E0DCC8; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Fredoka',sans-serif; font-size: 9px; color: #999; text-align: center; padding: 3px; font-weight: 500; line-height: 1.2; gap: 2px; transition: all 0.15s; }
  .d4-dest-cabinet { left: 12px; border-color: #A7CE6A; color: #4E7A14; }
  .d4-dest-trash { right: 12px; border-color: #E89BAA; color: #A8344E; }
  .d4-dest.active { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(255,128,0,0.15); border-color: #FF8000; }
  .d4-dest-icon { width: 40px; height: 40px; }
  .d4-dest-icon svg { width: 100%; height: 100%; display: block; }
  .d4-object { position: absolute; cursor: grab; transition: transform 0.2s, opacity 0.3s; user-select: none; touch-action: none; width: 56px; height: 56px; }
  .d4-object svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.12)); }
  .d4-object:active { cursor: grabbing; transform: scale(1.1) rotate(-3deg); z-index: 100; }
  .d4-object.placed { opacity: 0.3; cursor: default; pointer-events: none; }
  .d4-kitchen-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-family: 'Fredoka',sans-serif; font-size: 12px; color: #B59878; }
  .d4-finish-btn { background: #FF8000; border: none; border-radius: 22px; padding: 8px 16px; font-family: 'Fredoka',sans-serif; font-size: 12px; color: white; cursor: pointer; font-weight: 500; transition: all 0.15s; }
  .d4-finish-btn:hover { background: #E67200; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(255,128,0,0.3); }
  .d4-list-stage { position: relative; width: 100%; height: 180px; background: white; border: 1.5px solid #F3E2CC; border-radius: 16px; overflow: hidden; margin-bottom: 0.75rem; }
  .d4-list-paper { padding: 16px 22px; font-family: 'Fredoka',sans-serif; font-size: 14px; line-height: 1.6; color: #7A5230; animation: d4scroll 16s linear infinite; }
  .d4-list-paper p { margin: 4px 0; }
  @keyframes d4scroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
  .d4-list-fade { position: absolute; left: 0; right: 0; height: 40px; pointer-events: none; }
  .d4-list-fade-top { top: 0; background: linear-gradient(to bottom, white, rgba(255,255,255,0)); }
  .d4-list-fade-bottom { bottom: 0; background: linear-gradient(to top, white, rgba(255,255,255,0)); }
  .d4-list-counter { position: absolute; top: 10px; right: 14px; background: #FF8000; color: white; padding: 4px 10px; border-radius: 14px; font-family: 'Fredoka',sans-serif; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
  .d4-list-counter > div { width: 14px; height: 14px; }
  .d4-list-counter svg { width: 100%; height: 100%; }
  .d4-clock-stage { display: flex; flex-direction: column; align-items: center; padding: 0.5rem 0; }
  .d4-clock { width: 110px; height: 110px; border: 3px solid #FCE0BE; border-radius: 50%; position: relative; background: white; margin-bottom: 0.75rem; }
  .d4-clock-arc { position: absolute; top: -3px; left: -3px; width: 110px; height: 110px; }
  .d4-clock-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: 'Fredoka',sans-serif; font-size: 20px; font-weight: 600; color: #C25400; }
  .d4-slider-wrap { width: 95%; max-width: 480px; }
  .d4-slider-tabs { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6px; }
  .d4-slider-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; transition: opacity 0.2s; opacity: 0.5; padding: 4px 2px; }
  .d4-slider-tab.active { opacity: 1; }
  .d4-slider-tab-icon { width: 36px; height: 36px; }
  .d4-slider-tab-icon svg { width: 100%; height: 100%; }
  .d4-slider-tab-label { font-family: 'Fredoka',sans-serif; font-size: 10px; color: #C25400; font-weight: 500; text-align: center; line-height: 1.2; }
  .d4-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: #FCE0BE; border-radius: 3px; outline: none; cursor: pointer; }
  .d4-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: #FF8000; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 6px rgba(255,128,0,0.4); }
  .d4-slider::-moz-range-thumb { width: 22px; height: 22px; background: #FF8000; border-radius: 50%; cursor: pointer; border: none; }
  .d4-slider-current { text-align: center; font-family: 'Fredoka',sans-serif; font-size: 14px; color: #7A5230; margin-top: 12px; min-height: 22px; padding: 0 1rem; }
  .d4-confirm-btn { display: block; margin: 0.75rem auto 0 auto; background: #FF8000; color: white; border: none; border-radius: 22px; padding: 9px 24px; font-family: 'Fredoka',sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; }
  .d4-confirm-btn:hover { background: #E67200; }
  .d4-roads { display: flex; gap: 10px; margin-bottom: 1rem; }
  .d4-road { flex: 1; background: white; border: 2px dashed #F4C896; border-radius: 16px; padding: 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .d4-road-arrow { width: 50px; height: 50px; }
  .d4-road-arrow svg { width: 100%; height: 100%; }
  .d4-road-title { font-family: 'Fredoka',sans-serif; font-size: 12px; font-weight: 600; color: #5C3F22; margin: 0; }
  .d4-road-detail { font-family: 'Fredoka',sans-serif; font-size: 11px; color: #B59878; margin: 2px 0 0 0; }
  .d4-vs { display: flex; align-items: center; justify-content: center; font-family: 'Fredoka',sans-serif; color: #C25400; font-size: 14px; padding: 0 4px; font-weight: 500; }
  .d4-phone-stage { display: flex; justify-content: center; padding: 0.25rem 0; }
  .d4-phone { width: 220px; background: #3A4A6B; border-radius: 26px; padding: 14px 12px; box-shadow: 0 6px 18px rgba(58,74,107,0.25); }
  .d4-phone-top { display: flex; justify-content: space-between; font-size: 10px; color: #C7D4EC; margin-bottom: 10px; padding: 0 6px; }
  .d4-phone-caller { text-align: center; color: white; padding: 8px 0; }
  .d4-phone-caller-avatar { width: 70px; height: 70px; margin: 0 auto 8px auto; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 6px; }
  .d4-phone-caller-avatar svg { width: 100%; height: 100%; }
  .d4-phone-caller-name { font-family: 'Fredoka',sans-serif; font-size: 14px; font-weight: 600; margin: 0; }
  .d4-phone-caller-label { font-family: 'Fredoka',sans-serif; font-size: 11px; color: #A9B8D6; margin: 4px 0 0 0; animation: d4pulse 1.4s infinite; }
  @keyframes d4pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
  .d4-phone-actions { display: flex; gap: 8px; justify-content: space-around; margin-top: 12px; padding: 0 4px; }
  .d4-phone-btn { flex: 1; background: rgba(255,255,255,0.1); border: none; color: white; border-radius: 14px; padding: 9px 4px; font-family: 'Fredoka',sans-serif; font-size: 10px; cursor: pointer; transition: all 0.15s; line-height: 1.3; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .d4-phone-btn:hover { background: rgba(255,255,255,0.18); }
  .d4-phone-btn.green { background: #5BB86A; font-weight: 600; }
  .d4-phone-btn.red { background: #E8704F; font-weight: 600; }
  .d4-phone-btn-icon { width: 22px; height: 22px; }
  .d4-phone-btn-icon svg { width: 100%; height: 100%; }
  .d4-phone-followup { background: white; border: 1.5px solid #F3E2CC; border-radius: 16px; padding: 14px; margin-top: 12px; }
  .d4-phone-followup-q { font-family: 'Fredoka',sans-serif; font-size: 13.5px; color: #5C3F22; margin: 0 0 10px 0; text-align: center; font-weight: 500; }
  .d4-fridge-stage { display: flex; justify-content: center; padding: 0.25rem 0; }
  .d4-fridge { width: 280px; background: white; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(244,146,46,0.12); }
  .d4-fridge-closed { padding: 16px; text-align: center; cursor: pointer; transition: background 0.2s; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
  .d4-fridge-closed:hover { background: #FFF8F0; }
  .d4-fridge-closed-icon { width: 150px; height: 150px; }
  .d4-fridge-closed-icon svg { width: 100%; height: 100%; }
  .d4-fridge-label { font-family: 'Fredoka',sans-serif; font-size: 12px; color: #B59878; margin: 0; }
  .d4-fridge-open { padding: 10px 14px 14px 14px; background: linear-gradient(to bottom, #FFFAE5 0%, white 60%); min-height: 240px; border: 2.5px solid #FFB266; border-radius: 18px; }
  .d4-fridge-light { font-family: 'Fredoka',sans-serif; font-size: 10px; color: #C25400; text-align: center; margin: 0 0 8px 0; letter-spacing: 0.1em; font-weight: 600; }
  .d4-fridge-shelf { border-bottom: 1px dashed #F4C896; padding: 6px 4px; display: flex; gap: 10px; justify-content: center; align-items: center; }
  .d4-fridge-item { width: 40px; height: 40px; }
  .d4-fridge-item svg { width: 100%; height: 100%; }
  .d4-fridge-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
  .d4-fridge-btn { background: white; border: 1.5px solid #F3E2CC; border-radius: 12px; padding: 9px 12px; font-family: 'Fredoka',sans-serif; font-size: 12px; color: #5C3F22; cursor: pointer; text-align: left; transition: all 0.15s; line-height: 1.4; }
  .d4-fridge-btn:hover { border-color: #FF8000; background: #FFF4E6; }
  .d4-fridge-stand-still { text-align: center; padding: 8px; font-family: 'Fredoka',sans-serif; font-size: 11px; color: #B59878; }
  .d4-night-stage { background: #2E3550; border-radius: 18px; padding: 1.25rem 1rem; position: relative; overflow: hidden; }
  .d4-night-sofa { position: relative; height: 140px; }
  .d4-night-table { background: #6B5238; border-radius: 10px; padding: 14px 20px; display: flex; gap: 18px; justify-content: center; align-items: center; margin: 18px auto 0 auto; max-width: 300px; }
  .d4-watching-item { width: 44px; height: 44px; animation: d4watching 2.5s ease-in-out infinite; }
  .d4-watching-item svg { width: 100%; height: 100%; }
  .d4-watching-item:nth-child(2) { animation-delay: 0.4s; }
  .d4-watching-item:nth-child(3) { animation-delay: 0.8s; }
  @keyframes d4watching { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.05); } }
  .d4-night-lamp { position: absolute; right: 20px; top: -8px; width: 64px; height: 64px; }
  .d4-night-lamp svg { width: 100%; height: 100%; }
  .d4-night-instr { font-family: 'Fredoka',sans-serif; font-size: 12.5px; color: #C7D4EC; text-align: center; margin: 0 0 12px 0; }
  .d4-night-options { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
  .d4-night-option { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #EEE; border-radius: 12px; padding: 10px 14px; font-family: 'Fredoka',sans-serif; font-size: 13px; cursor: pointer; text-align: left; transition: all 0.18s; width: 100%; }
  .d4-night-option:hover { background: rgba(255,128,0,0.22); border-color: #FF8000; color: white; }

  /* ===== CARD FINALE ===== */
  .card-reveal { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 1rem; animation: cardFade 0.8s ease; }
  @keyframes cardFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  .card-reveal-intro { font-family: 'Fredoka',sans-serif; font-size: 15px; color: #B59878; text-align: center; margin: 0 0 1.5rem 0; }
  .cw-card { width: 340px; border-radius: 28px; padding: 24px 22px 22px 22px; position: relative; overflow: hidden; }
  .cw-blob1 { position: absolute; top: -25px; right: -15px; width: 90px; height: 90px; border-radius: 50%; z-index: 0; }
  .cw-blob2 { position: absolute; bottom: 70px; left: -30px; width: 80px; height: 80px; border-radius: 50%; z-index: 0; }
  .cw-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.85rem; position: relative; z-index: 1; }
  .cw-brand-fun { font-family: 'Pacifico',cursive; font-size: 18px; color: #F4922E; line-height: 0.9; }
  .cw-brand-org { font-family: 'Fredoka',sans-serif; font-size: 10px; color: #378ADD; font-weight: 600; letter-spacing: 0.12em; }
  .cw-edition { font-family: 'Fredoka',sans-serif; font-size: 9px; color: #A89878; text-align: right; line-height: 1.4; }
  .cw-tag { display: inline-block; padding: 4px 14px; border-radius: 20px; font-family: 'Fredoka',sans-serif; font-size: 10px; font-weight: 500; margin-bottom: 12px; position: relative; z-index: 1; }
  .cw-titolo { font-family: 'Fredoka',sans-serif; font-size: 26px; margin: 0 0 0.6rem 0; line-height: 1.08; font-weight: 600; position: relative; z-index: 1; }
  .cw-frase { font-family: 'Fredoka',sans-serif; font-size: 13.5px; line-height: 1.5; margin: 0 0 1.1rem 0; position: relative; z-index: 1; }
  .cw-illust { display: flex; justify-content: space-around; margin: 0 0 1.1rem 0; position: relative; z-index: 1; }
  .cw-ill-item { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; }
  .cw-ill-icon { width: 40px; height: 40px; transition: opacity 0.3s; }
  .cw-ill-icon svg { width: 100%; height: 100%; }
  .cw-ill-label { font-family: 'Fredoka',sans-serif; font-size: 8.5px; color: #8A6E48; text-align: center; line-height: 1.2; }
  .cw-indicators { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; position: relative; z-index: 1; }
  .cw-ind { display: flex; align-items: flex-start; gap: 8px; font-family: 'Fredoka',sans-serif; font-size: 11.5px; line-height: 1.45; }
  .cw-ind-pill { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
  .cw-ponte { border-radius: 14px; padding: 12px 14px; font-family: 'Fredoka',sans-serif; font-size: 11.5px; line-height: 1.5; margin-bottom: 1rem; position: relative; z-index: 1; }
  .cw-foot { font-family: 'Pacifico',cursive; font-size: 12px; color: #F4922E; text-align: center; position: relative; z-index: 1; }
  .cw-actions { width: 340px; margin-top: 1.25rem; }
  .cw-share { width: 100%; background: white; border: 1.5px solid #F3E2CC; border-radius: 16px; padding: 12px; font-family: 'Fredoka',sans-serif; font-size: 13px; color: #C25400; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; transition: all 0.15s; }
  .cw-share:hover { border-color: #FF8000; background: #FFF4E6; }
  .cw-share svg { width: 18px; height: 18px; }
  .cw-mail { margin-top: 1rem; background: #FFF8F0; border-radius: 16px; padding: 16px; }
  .cw-mail-q { font-family: 'Fredoka',sans-serif; font-size: 13px; color: #5C3F22; margin: 0 0 10px 0; text-align: center; font-weight: 500; }
  .cw-mail-row { display: flex; gap: 8px; }
  .cw-mail-input { flex: 1; border: 1.5px solid #F3E2CC; border-radius: 12px; padding: 10px 14px; font-family: 'Fredoka',sans-serif; font-size: 13px; outline: none; }
  .cw-mail-input:focus { border-color: #FF8000; }
  .cw-mail-btn { background: #FF8000; color: white; border: none; border-radius: 12px; padding: 10px 20px; font-family: 'Fredoka',sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; }
  .cw-privacy { font-family: 'Fredoka',sans-serif; font-size: 10px; color: #B59878; margin: 8px 0 0 0; text-align: center; line-height: 1.4; }
  .cw-debug { margin-top: 1.5rem; font-family: monospace; font-size: 10px; color: #D8C4A8; text-align: center; }
  .cw-restart { margin-top: 1rem; background: none; border: 1.5px solid #F3E2CC; border-radius: 20px; padding: 8px 18px; font-family: 'Fredoka',sans-serif; font-size: 12px; color: #B59878; cursor: pointer; }
  .cw-restart:hover { border-color: #FF8000; color: #C25400; }

  @media (max-width: 540px) {
    body { padding: 1rem 0.5rem; }
    .d4-content { padding: 1.25rem 1rem 1rem 1rem; }
    .d4-time { font-size: 32px; }
  }
