:root{
  --sage:#617068; --sage2:#7d8c84; --sage3:#4d5a53;
  --petal:#FAF5F4; --petal2:#F1EAE6; --linen:#C9C3C0; --linen2:#E7DBD8;
  --rose:#C4A3A3; --rose2:#D9BDBD; --rose3:#9c7b7b;
  --plum:#6D5C5F; --char:#1E2120; --gold:#B9975B;
}
@font-face{font-family:"Ancizar Sans";src:url(fonts/ancizar.woff2) format("woff2");font-weight:100 1000;font-display:swap}
@font-face{font-family:"Manrope";src:url(fonts/manrope.woff2) format("woff2");font-weight:200 800;font-display:swap}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:var(--petal2);color:var(--char);overflow:hidden;overscroll-behavior:none}
body{font-family:"Manrope",system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
#app{position:fixed;inset:0;max-width:520px;margin:0 auto;overflow:hidden;
  background-color:var(--petal);background-image:url(img/wc/bg.jpg?v=3);background-size:cover;background-position:center;}
@media (min-width:521px){#app{box-shadow:0 0 0 1px rgba(196,163,163,.35),0 30px 80px rgba(109,92,95,.25)}}
canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
button,input,a{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--sage);outline-offset:2px;border-radius:10px}
[hidden]{display:none!important}

/* HUD */
.hud{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:max(10px,env(safe-area-inset-top)) 14px 0;pointer-events:none;z-index:2}
.hud-score{font-family:"Ancizar Sans",serif;font-weight:600;font-size:30px;color:var(--plum);line-height:1;background:rgba(250,245,244,.82);padding:6px 12px 7px;border-radius:14px;box-shadow:0 2px 10px rgba(109,92,95,.12);min-width:64px;font-variant-numeric:tabular-nums}
.hud-score small{font-family:"Manrope";font-size:13px;font-weight:800;color:var(--sage);margin-left:6px;vertical-align:middle}
.hud-lives{display:flex;gap:4px;background:rgba(250,245,244,.82);padding:7px 10px;border-radius:14px;box-shadow:0 2px 10px rgba(109,92,95,.12)}
.hud-lives i{width:20px;height:18px;display:block;background:url(img/icons/heart.svg) center/contain no-repeat;transition:opacity .3s,transform .3s}
.hud-lives i.off{opacity:.2;transform:scale(.8);filter:grayscale(1)}
.icon-btn{pointer-events:auto;width:40px;height:40px;border-radius:50%;border:0;background:rgba(250,245,244,.86);box-shadow:0 2px 10px rgba(109,92,95,.14);font-size:18px;color:var(--plum);cursor:pointer;display:grid;place-items:center}
.icon-btn.muted span{opacity:.35;text-decoration:line-through}

/* screens */
.screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom));background:rgba(250,245,244,.55);opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s;z-index:3}
.screen.show{opacity:1;visibility:visible}
.card{width:100%;max-width:420px;max-height:100%;background:rgba(255,255,255,.93);border:1px solid rgba(196,163,163,.45);border-radius:26px;box-shadow:0 18px 50px rgba(109,92,95,.18);padding:22px 20px 20px;text-align:center;overflow:auto;-webkit-overflow-scrolling:touch}
.logo{width:min(220px,62%);height:auto;display:block;margin:0 auto 4px}
h1,h2{font-family:"Ancizar Sans",serif;font-weight:500;color:var(--plum);letter-spacing:.01em}
h1{font-size:34px;line-height:1.1;margin:2px 0 8px}
h2{font-size:34px;line-height:1.1;margin:2px 0 6px}
h2 small{font-family:"Manrope";font-size:15px;font-weight:600;color:var(--sage)}
h3{font-family:"Ancizar Sans",serif;font-weight:600;font-size:20px;color:var(--plum);margin:0 0 6px}
.lead{font-size:14.5px;line-height:1.5;color:#3d4240;margin:0 auto 12px;max-width:34ch}
.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--sage)}
.sub{font-size:14px;color:#4a4f4d;margin-bottom:12px;line-height:1.45}
.legend{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:6px 4px;margin:0 0 10px}
.legend li{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:700;color:var(--plum)}
.legend img{width:38px;height:38px}
.specials{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.specials div{display:flex;align-items:center;gap:8px;text-align:left;background:var(--petal);border-radius:14px;padding:8px}
.specials img{width:40px;height:40px;flex:none}
.specials p{font-size:11.5px;line-height:1.3;color:#4a4f4d}
.specials b{color:var(--plum);font-size:12.5px}
.contest{font-size:14px;color:var(--plum);background:#f6ecea;border-radius:12px;padding:8px 10px;margin-bottom:14px;line-height:1.4}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:12px 22px;font-weight:800;font-size:15px;cursor:pointer;text-decoration:none;transition:transform .12s,box-shadow .2s,background .2s;min-height:46px}
.btn:active{transform:scale(.97)}
.btn.primary{background:var(--plum);color:#fff;box-shadow:0 8px 20px rgba(109,92,95,.3)}
.btn.primary:hover{background:#5d4e51}
.btn.sage{background:var(--sage);color:#fff;box-shadow:0 6px 16px rgba(97,112,104,.28)}
.btn.ghost{background:#fff;color:var(--plum);box-shadow:inset 0 0 0 1.5px var(--rose)}
.btn.big{width:100%;font-size:17px;padding:15px 22px;min-height:54px}
.btn[disabled]{opacity:.6;pointer-events:none}
.row-links{display:flex;justify-content:center;gap:4px 14px;flex-wrap:wrap;margin-top:12px}
.link-btn{background:none;border:0;color:var(--sage3);font-weight:700;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 2px}

/* end */
.gift-card{display:flex;align-items:center;gap:12px;text-align:left;background:linear-gradient(135deg,#fbefef,#f5f0e6);border:1.5px solid var(--rose);border-radius:18px;padding:12px 14px;margin:4px 0 12px;animation:pop .5s ease}
.gift-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--sage)}
.gift-label{font-family:"Ancizar Sans",serif;font-size:22px;color:var(--plum);font-weight:600;line-height:1.15}
@keyframes pop{0%{transform:scale(.85);opacity:0}70%{transform:scale(1.03)}100%{transform:scale(1);opacity:1}}
.save-form{text-align:left;background:var(--petal);border-radius:18px;padding:14px;margin-bottom:12px}
.form-intro{font-size:14px;line-height:1.45;color:#3d4240;margin-bottom:10px;text-align:center}
.save-form label{display:block;margin-bottom:10px}
.save-form label span{display:block;font-size:12.5px;font-weight:800;color:var(--plum);margin:0 0 4px 4px}
.save-form input{width:100%;border:1.5px solid var(--linen);background:#fff;border-radius:12px;padding:12px 14px;font-size:16px;color:var(--char)}
.save-form input:focus{outline:none;border-color:var(--sage);box-shadow:0 0 0 3px rgba(97,112,104,.18)}
.form-err{color:#9a4a4a;font-size:13.5px;font-weight:700;min-height:0;margin:-2px 0 8px;text-align:center}
.form-err:empty{display:none}
.tiny{font-size:12px;color:#5f6462;line-height:1.4;margin-top:6px}
.saved-note{background:#eef2ef;color:var(--sage3);border-radius:14px;padding:10px 12px;font-size:14px;font-weight:700;margin-bottom:12px;line-height:1.4}
.share-box{border:1.5px dashed var(--rose);border-radius:18px;padding:12px 14px 14px;margin:4px 0 14px}
.share-title{font-family:"Ancizar Sans",serif;font-size:19px;font-weight:600;color:var(--plum);line-height:1.2}
.share-box .tiny{margin:4px 0 10px}
.board-wrap{text-align:left;margin-bottom:14px}
.board-wrap h3{text-align:center}
.board-wrap .tiny{text-align:center;margin:-2px 0 8px}
.board{list-style:none;counter-reset:r;border-radius:14px;overflow:hidden;background:var(--petal)}
.board li{display:flex;align-items:center;gap:10px;padding:9px 14px;font-size:15px;border-bottom:1px solid #efe6e3}
.board li:last-child{border-bottom:0}
.board li .rk{min-width:26px;white-space:nowrap;font-weight:800;color:var(--sage)}
.board li .nm{flex:1;font-weight:700;color:var(--char);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board li .sc{font-variant-numeric:tabular-nums;font-weight:800;color:var(--plum)}
.board li.me{background:#f3e6e6}
.board li.first .rk::after{content:" 🏆"}
.board .empty{justify-content:center;color:#6b706e;font-weight:600;font-size:14px}
.end-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.end-actions .btn{flex:1 1 140px}

/* prize */
.prize-card .bow{display:block;margin:0 auto 4px;width:90px;height:auto}
.prize-card h2{font-size:30px}
.code-box{background:#fff;border:2px solid var(--plum);border-radius:18px;padding:10px 12px 12px;margin:12px 0 10px;box-shadow:0 6px 18px rgba(109,92,95,.12)}
.code{font-family:"Manrope";font-weight:800;font-size:40px;letter-spacing:.08em;color:var(--plum);user-select:all;-webkit-user-select:all;line-height:1.15}
.save-it{font-size:14px;line-height:1.45;color:#3d4240;margin-bottom:12px}
.fine{font-size:12px;color:#5f6462;line-height:1.4;margin:10px 0 8px}

/* sheet */
.sheet{position:absolute;inset:0;z-index:6;background:rgba(30,33,32,.35);display:flex;align-items:flex-end;justify-content:center}
.sheet-card{position:relative;width:100%;max-height:86%;overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:20px 18px max(20px,env(safe-area-inset-bottom));animation:up .28s ease}
@keyframes up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.sheet-card .close{position:absolute;right:12px;top:12px;font-size:24px}
.sheet-card h3{text-align:center;margin-bottom:10px}
.share-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.share-grid .btn{width:100%}
.mini-prize{background:var(--petal);border-radius:14px;padding:10px 12px;margin-bottom:8px;text-align:left}
.mini-prize b{font-size:20px;letter-spacing:.06em;color:var(--plum)}
.toast{position:absolute;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translate(-50%,20px);background:var(--char);color:#fff;padding:10px 16px;border-radius:999px;font-size:14px;font-weight:700;opacity:0;transition:.3s;z-index:9;pointer-events:none;white-space:nowrap}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-height:700px){.legend img{width:32px;height:32px}.card{padding:16px 16px}.logo{width:min(180px,55%)}h1{font-size:30px}.lead{font-size:13.5px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- v3: watercolor theme, pause, prize celebration, avoid items ---------- */
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input{-webkit-user-select:text;user-select:text}
body.in-game #app{touch-action:none}
.screen:not(.show){pointer-events:none}
.card{background:rgba(255,253,251,.9);background-image:radial-gradient(90% 60% at 0% 0%,rgba(232,196,196,.28),transparent 60%),radial-gradient(80% 50% at 100% 100%,rgba(196,214,200,.25),transparent 60%);border:1px solid rgba(196,163,163,.35);box-shadow:0 14px 40px rgba(109,92,95,.16),inset 0 0 40px rgba(244,226,222,.35)}
h1{font-size:44px;margin:0 0 2px;color:#8c5f66}
.lead{font-size:16px;margin:0 auto 2px;color:var(--plum)}
.game-name{font-family:"Ancizar Sans",serif;font-size:18px;color:var(--sage);letter-spacing:.06em;margin-bottom:8px}
.beat{display:inline-block;background:#fff6e8;border:1.5px solid #e7cf9f;color:#6b5330;border-radius:999px;padding:6px 14px;font-size:14px;margin-bottom:10px}
.beat span{color:#8b7a63;font-size:12.5px}
.legend-wrap{background:rgba(255,255,255,.55);border-radius:18px;padding:8px 8px 6px;margin-bottom:8px}
.legend-h{font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--sage);margin:2px 0 4px}
.legend-h.bad{color:#9a5d5d;margin-top:6px}
.legend img{width:36px;height:36px;object-fit:contain}
.legend.bad{grid-template-columns:repeat(4,1fr)}
.legend.bad li{color:#7d5656}
.legend.bad img{border-radius:50%;box-shadow:0 0 0 2px rgba(160,80,80,.35);background:rgba(255,255,255,.6);padding:2px}
.specials{margin-bottom:4px}
.specials img{object-fit:contain}
.gift-sp img{animation:giftPulse 1s ease-in-out infinite;filter:drop-shadow(0 0 8px rgba(233,190,110,.9))}
@keyframes giftPulse{0%,100%{transform:scale(1) rotate(-4deg)}50%{transform:scale(1.18) rotate(4deg)}}
.how{font-size:13px;color:#4a4f4d;margin:2px 0 8px}
.test-banner{background:#fff3d6;color:#6b5330;border:1px dashed #d8b46a;border-radius:12px;padding:6px 10px;font-size:13px;font-weight:700;margin:6px 0}
.cta-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.cta-row .btn{flex:1 1 150px;font-size:14px;padding:10px 14px;min-height:44px}
.snd{font-size:13px}
.snd.muted .lbl{opacity:.6}
/* HUD */
.hud{display:block;padding:max(8px,env(safe-area-inset-top)) 10px 0}
.hud-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hud-row.second{margin-top:6px}
.hud-score{font-size:28px;min-width:72px;text-align:center}
.hud-logo{height:40px;width:auto;max-width:42%;background:rgba(255,253,251,.82);border-radius:14px;padding:4px 10px;box-shadow:0 2px 10px rgba(109,92,95,.12)}
.icon-btn.pause{width:46px;height:46px;position:relative}
.icon-btn.pause span{width:14px;height:16px;border-left:5px solid var(--plum);border-right:5px solid var(--plum)}
.hud-beat{background:rgba(255,246,232,.9);border:1px solid #ecd6a8;color:#6b5330;border-radius:999px;padding:5px 12px;font-size:13px;font-weight:700;box-shadow:0 2px 8px rgba(109,92,95,.1)}
.flash{position:absolute;left:50%;top:32%;transform:translate(-50%,-50%) scale(.6);z-index:4;pointer-events:none;opacity:0;font-family:"Ancizar Sans",serif;font-weight:700;font-size:38px;color:#b0802f;text-shadow:0 2px 0 #fff,0 0 18px rgba(255,220,140,.9);white-space:nowrap}
.flash.soft{font-size:28px;color:var(--sage)}
.flash.show{animation:flashIn 1.9s ease forwards}
@keyframes flashIn{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.12)}22%,40%,58%{opacity:1;transform:translate(-50%,-50%) scale(1)}31%,49%{opacity:.35}80%{opacity:1}100%{opacity:0;transform:translate(-50%,-60%) scale(1)}}
/* overlays */
.overlay{position:absolute;inset:0;z-index:7;background:rgba(250,245,244,.72);display:flex;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.card.small{max-width:360px}
.card.small .btn.big{margin-top:10px}
.card.small .end-actions{margin-top:10px}
.prize-ov{background:rgba(250,240,236,.82)}
.gift-big{width:110px;height:auto;animation:giftPulse 0.9s ease-in-out infinite;filter:drop-shadow(0 0 14px rgba(233,190,110,.95))}
.won{font-size:18px;color:var(--plum);margin:4px 0 10px}
.won b{font-family:"Ancizar Sans",serif;font-size:24px;display:block;color:#8c5f66}
.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.confetti span{position:absolute;top:-40px;animation:fall 2.6s ease-in forwards}
@keyframes fall{to{transform:translate(var(--dx),110vh) rotate(260deg);opacity:.9}}
.prize-card .bow{width:80px}
/* end */
.eyebrow.hot{color:#b0802f;font-size:15px;animation:flashIn 2s ease 1}
.share-box{background:rgba(255,255,255,.6)}
.share-big{font-family:"Ancizar Sans",serif;font-size:30px;font-weight:700;color:#8c5f66;line-height:1.05}
.share-sub{font-size:14px;color:#4a4f4d;margin:4px 0 10px;line-height:1.4}
.mypts{background:rgba(255,255,255,.6);border-radius:18px;padding:10px;margin-bottom:12px}
.pts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.pts div{background:var(--petal);border-radius:12px;padding:8px 4px}
.pts b{display:block;font-size:20px;color:var(--plum)}
.pts span{font-size:11px;color:#5f6462;line-height:1.25;display:block}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.duo div{background:var(--petal);border-radius:14px;padding:10px;text-align:center}
.duo span{display:block;font-size:12px;font-weight:800;color:var(--sage);text-transform:uppercase;letter-spacing:.08em}
.duo b{font-size:26px;color:var(--plum)}
.center{text-align:center}
.sheet-lead{font-size:15px;line-height:1.45;text-align:center;margin-bottom:10px;color:#3d4240}
.btn.wa{background:#25D366;color:#fff}
.mono{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;word-break:break-all}
.gift-card img{width:56px;height:auto}
@media (max-height:700px){h1{font-size:36px}.legend img{width:30px;height:30px}.legend li{font-size:11px}}


/* ---------- v4 ---------- */
.intro-card{max-width:400px;padding:30px 24px 24px}
.intro-logo{width:min(260px,74%);margin-bottom:14px}
.intro-hi{font-size:16px;line-height:1.5;color:var(--plum);margin:0 auto 6px;max-width:30ch}
.intro-title{font-size:34px;line-height:1.15;margin:4px 0 18px;color:#8c5f66}
.intro-tiny{text-align:center;margin-top:12px}
.ctm-logo{width:min(300px,86%);height:auto;display:block;margin:-4px auto 0}
#start h1{font-size:38px;margin:0 0 2px}
.rules{font-size:13px;line-height:1.4;color:#3d4240;margin:8px 4px 6px}
.rules b{color:var(--plum)}
.gift-line{display:flex;align-items:center;gap:10px;text-align:left;background:linear-gradient(135deg,#fbefef,#f8f1e4);border:1.5px solid #e7cf9f;border-radius:14px;padding:8px 10px;margin:0 0 6px}
.gift-line img{width:44px;height:44px;flex:none;object-fit:contain;animation:giftPulse 1s ease-in-out infinite;filter:drop-shadow(0 0 8px rgba(233,190,110,.9))}
.gift-line p{font-size:12.5px;line-height:1.35;color:#4a4f4d}
.gift-line b{color:var(--plum)}
.boost-line{font-size:12px;color:#6b5330;line-height:1.35;margin:0 4px 4px}
.photo-sp{border-radius:4px;box-shadow:0 0 0 3px #fff,0 2px 6px rgba(0,0,0,.18);width:40px!important;height:30px!important;object-fit:cover!important}
.contest{background:#f6ecea;border-radius:14px;padding:10px 12px;margin-bottom:14px}
.contest-h{font-family:"Ancizar Sans",serif;font-size:22px;font-weight:700;color:#8c5f66;line-height:1.1;margin-bottom:3px}
.contest p{font-size:14px;color:var(--plum);line-height:1.4}
.contest b{font-weight:800;color:#8c5f66}
.play-round{display:grid;place-items:center;width:132px;height:132px;border-radius:50%;border:0;margin:2px auto 4px;background:radial-gradient(circle at 35% 30%,#8a7478,var(--plum) 60%,#5a4b4e);color:#fff;font-family:"Ancizar Sans",serif;font-weight:700;font-size:34px;letter-spacing:.02em;cursor:pointer;box-shadow:0 12px 28px rgba(109,92,95,.38),inset 0 0 0 5px rgba(255,255,255,.35);transition:transform .12s;animation:playPulse 1.8s ease-in-out infinite}
.play-round:active{transform:scale(.95)}
.play-round span{transform:translateY(-1px)}
@keyframes playPulse{0%,100%{box-shadow:0 12px 28px rgba(109,92,95,.38),inset 0 0 0 5px rgba(255,255,255,.35),0 0 0 0 rgba(196,163,163,.55)}50%{box-shadow:0 12px 28px rgba(109,92,95,.38),inset 0 0 0 5px rgba(255,255,255,.35),0 0 0 16px rgba(196,163,163,0)}}
.countdown{position:absolute;inset:0;z-index:5;display:grid;place-items:center;pointer-events:none;background:rgba(250,245,244,.35)}
.countdown span{font-family:"Ancizar Sans",serif;font-weight:700;font-size:96px;color:#8c5f66;text-shadow:0 3px 0 #fff,0 0 24px rgba(255,220,140,.9);line-height:1;animation:countPop .5s ease infinite}
.countdown small{display:block;margin-top:8px;font-weight:800;color:var(--plum);font-size:16px;background:rgba(255,253,251,.85);border-radius:999px;padding:6px 16px}
.countdown>*{display:flex;flex-direction:column;align-items:center}
@keyframes countPop{0%{transform:scale(.7);opacity:.4}40%{transform:scale(1.08);opacity:1}100%{transform:scale(1);opacity:1}}
.hud-power{margin-top:6px;display:inline-block;background:#fff6e8;border:1px solid #e7cf9f;color:#6b5330;border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:800;box-shadow:0 2px 8px rgba(109,92,95,.1)}
.gift-card.welcome{background:linear-gradient(135deg,#eef5f0,#f8f1e4);border-color:#b9c9bd}
.gift-card.welcome .tiny{margin-top:2px}
.share-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.invite-form{background:var(--petal);border-radius:16px;padding:12px;margin-top:12px;text-align:left}
.invite-form h4{font-family:"Ancizar Sans",serif;font-size:18px;color:var(--plum);margin:0 0 6px;text-align:center}
.invite-form .btn{margin-top:4px}
.contact-box{text-align:center}
.contact-box .mail{font-weight:800;color:var(--plum);font-size:17px;word-break:break-all;margin:6px 0 10px}
.wifi-note{background:#fff6e8;border:1px solid #ecd6a8;color:#6b5330;border-radius:12px;padding:8px 10px;font-size:12.5px;line-height:1.4;margin-top:10px;text-align:left}
/* desktop: keep the game in a phone-sized column so it stays catchable, and say how to steer */
@media (min-width:900px) and (min-height:700px){
  #app{max-width:520px;border-radius:28px;top:16px;bottom:16px}
  .card{max-width:440px}
}
@media (hover:hover) and (pointer:fine){
  .how::after{content:" On a computer, use ← → or your mouse."}
  .btn:hover{filter:brightness(1.04)}
}
@media (max-height:700px){.ctm-logo{width:min(240px,70%)}#start h1{font-size:32px}.play-round{width:108px;height:108px;font-size:28px}.intro-logo{width:min(200px,60%)}.intro-title{font-size:28px}}
body{background:var(--petal2) url(img/wc/bg.jpg?v=3) center/cover no-repeat}
@media (min-width:521px){body::before{content:"";position:fixed;inset:0;background:rgba(241,234,230,.55);pointer-events:none}}

/* tablets: a little wider column */
@media (min-width:700px) and (min-height:900px){#app{max-width:600px}.card{max-width:470px}}

/* ---------- v5 (Oct 14, 2026): name in words, photo intro, roomier menu, Shabbos page ---------- */
.hud-name{font-family:"Ancizar Sans",serif;font-weight:700;font-size:19px;color:#8c5f66;background:rgba(255,253,251,.82);border-radius:14px;padding:5px 12px;box-shadow:0 2px 10px rgba(109,92,95,.12);white-space:nowrap}
.intro-card{max-width:420px;padding:18px 18px 22px}
.intro-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:18px;margin:0 0 18px;box-shadow:0 8px 22px rgba(109,92,95,.16)}
.intro-hi{font-size:17px;line-height:1.55;color:var(--plum);margin:0 auto 22px;max-width:32ch}
.text-link{display:inline-block;margin:18px auto 0;padding:12px 8px;margin-top:6px;color:var(--sage3);font-weight:700;font-size:15px;text-decoration:none;text-underline-offset:3px}
.text-link:hover,.text-link:focus-visible{text-decoration:underline}
.end-link{display:block;margin:18px auto 4px}
.menu-card{padding-top:22px}
.game-title{font-family:"Ancizar Sans",serif;font-weight:700;font-size:40px;line-height:1.05;color:#8c5f66;margin:4px 0 22px;letter-spacing:.01em}
.contest.top{padding:16px 14px 14px;margin:0 0 24px}
.contest.top .contest-h{font-size:24px;margin-bottom:6px}
.contest.top .beat{margin:12px 0 0}
.menu-card .legend-wrap{padding:16px 10px 14px;margin-bottom:22px}
.menu-card .how{font-size:15px;color:#3d4240;margin:0 0 14px;font-weight:600}
.menu-card .legend-h{margin-top:4px}
.menu-card .legend.bad{margin-bottom:4px}
.menu-card .rules{font-size:15px;margin:12px 0 0;color:#3d4240}
.menu-card .play-round{margin:0 auto 14px}
.closed-card{max-width:400px;padding:30px 24px 26px}
.closed-card h1{font-family:"Ancizar Sans",serif;font-weight:700;font-size:30px;line-height:1.15;color:#8c5f66;margin:10px 0 16px}
.closed-text{font-size:16px;line-height:1.55;color:#3d4240;margin:0 0 10px}
.closed-wish{font-size:15px;color:var(--plum);margin:16px 0 0}
@media (max-height:700px){.game-title{font-size:34px;margin-bottom:16px}.contest.top{margin-bottom:16px}.intro-hi{margin-bottom:16px}}

/* ---------- v6 (Oct 14, 2026): logo on the welcome page, photo as a supporting element, roomier instructions, email share panel ---------- */
.intro-card{padding:26px 22px 22px}
.intro-logo6{display:block;width:min(250px,72%);height:auto;margin:0 auto 18px}
.intro-photo{width:min(190px,56%);margin:0 auto 18px;aspect-ratio:3/2;border-radius:14px;box-shadow:0 4px 14px rgba(109,92,95,.14)}
.intro-hi{font-size:16px;margin-bottom:20px}
.intro-link{font-size:12.5px;font-weight:600;margin-top:14px;opacity:.9}
.menu-card .legend-wrap{padding:20px 12px 18px;margin-bottom:26px}
.menu-card .how{margin:0 0 20px}
.leg-block{margin:0 0 20px}
.menu-card .legend{gap:12px 4px;margin-bottom:0}
.menu-card .legend-h{margin:0 0 10px}
.menu-card .legend-h.bad{margin-top:0}
.menu-card .legend li{gap:4px}
.extra-line{display:flex;align-items:center;gap:12px;text-align:left;border-radius:14px;padding:10px 12px;margin:0 0 12px}
.extra-line img{width:42px;height:42px;flex:none;object-fit:contain}
.extra-line p{font-size:14px;line-height:1.4;color:#3d4240;margin:0}
.extra-line b{color:var(--plum)}
.cam-line{background:#f3f5f3;border:1.5px solid #cfd8d2}
.gift-line6{background:linear-gradient(135deg,#fbefef,#f8f1e4);border:1.5px solid #e7cf9f}
.gift-line6 img{animation:giftPulse 1s ease-in-out infinite;filter:drop-shadow(0 0 8px rgba(233,190,110,.9))}
.menu-card .rules{margin:16px 0 0}
@media (max-height:700px){.intro-logo6{width:min(210px,62%);margin-bottom:12px}.intro-photo{width:min(160px,48%);margin-bottom:12px}.leg-block{margin-bottom:16px}}
.mail-panel{text-align:center}
.mail-panel .sheet-lead{margin-bottom:14px}
.mail-panel .btn{display:block;width:100%;margin:0 0 10px;text-decoration:none;box-sizing:border-box}
.mail-panel .mail-alt{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mail-panel .mail-alt .btn{margin:0}
.mail-panel .mail-raw{display:block;margin:14px auto 0;font-size:13px;color:var(--sage3);word-break:break-all}
.mail-panel .tiny{margin-top:12px}

/* ---------- v7 (Oct 15, 2026): Gitty's 15 points ---------- */
/* point 10: the bow from her logo, spread out, subtle, one color, behind the whole game */
#app{background-image:url(img/bow-pattern7.svg),url(img/wc/bg.jpg?v=3);background-size:300px 300px,cover;background-repeat:repeat,no-repeat;background-position:center top,center}
/* point 12: pictures can't be dragged out or long-pressed to save */
img,canvas{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
button,a,.btn{touch-action:manipulation}
.btn:active,.play-round:active{transform:scale(.97)}
/* point 7: welcome page, the photo big, faded and feathered behind the words */
.intro7{background:rgba(250,245,244,.35);overflow:hidden}
.intro-bg{position:absolute;inset:0;z-index:0;pointer-events:none}
.intro-bg img{position:absolute;left:50%;top:0;transform:translateX(-50%);width:auto;height:64%;min-width:115%;object-fit:cover;object-position:62% 40%;opacity:.5;
  -webkit-mask-image:radial-gradient(ellipse 62% 58% at 50% 46%,#000 30%,rgba(0,0,0,.55) 60%,transparent 92%);mask-image:radial-gradient(ellipse 62% 58% at 50% 46%,#000 30%,rgba(0,0,0,.55) 60%,transparent 92%)}
.intro7 .intro-card{position:relative;z-index:1;background:radial-gradient(120% 80% at 50% 62%,rgba(255,253,251,.86) 40%,rgba(255,253,251,.55) 75%,rgba(255,253,251,0) 100%);border:0;box-shadow:none;max-width:420px;padding:22px 22px 18px;align-self:flex-end;margin-bottom:max(2vh,6px)}
.intro7 .intro-logo6{width:min(250px,70%);margin:0 auto 6px;filter:drop-shadow(0 1px 6px rgba(255,255,255,.9))}
.intro-tag{font-family:"Ancizar Sans",sans-serif;font-style:italic;font-size:15px;letter-spacing:.06em;color:var(--sage);margin:0 0 16px}
.intro7 .intro-hi{font-size:15.5px;line-height:1.55;color:#4d3f42;margin:0 auto 12px;max-width:34ch}
.intro-game{font-size:15.5px;line-height:1.55;color:#4d3f42;margin:0 auto 20px;max-width:34ch}
.intro-game b{color:var(--plum)}
@media (min-width:521px){.intro-bg img{height:70%}}
@media (max-height:740px){.intro-bg img{height:56%}.intro7 .intro-card{padding:14px 18px 12px}.intro-tag{margin-bottom:10px}.intro7 .intro-hi,.intro-game{font-size:14.5px;margin-bottom:10px}.intro-game{margin-bottom:14px}.intro7 .intro-logo6{width:min(210px,60%)}}
/* point 6: her photography logo in the game, top center */
.hud-logo{display:flex;align-items:center;padding:6px 12px;background:rgba(255,253,251,.88)}
.hud-logo img{display:block;height:30px;width:auto}
@media (max-width:360px){.hud-logo img{height:24px}}
/* point 5 and 8: logo on the menu, "Catch the Moment" small, "Play & Win" big, "Free Newborn Mini Session" big */
.menu-logo{display:block;width:min(200px,58%);height:auto;margin:2px auto 18px}
.title7{margin:0 0 26px;line-height:1}
.title7 .t-small{display:block;font-family:"Manrope",sans-serif;font-size:13px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:var(--sage);margin:0 0 10px}
.title7 .t-big{display:block;font-family:"Ancizar Sans",sans-serif;font-weight:700;font-size:46px;line-height:1;color:#8c5f66}
.contest.top{padding:18px 14px 16px;margin:0 0 30px}
.contest.top .contest-h{font-size:20px;margin-bottom:10px}
.contest-line{font-size:14px;margin:0}
.mini-big{font-family:"Ancizar Sans",sans-serif!important;font-weight:700;font-size:30px!important;line-height:1.08!important;color:#8c5f66!important;margin:6px 0 4px;letter-spacing:.005em}
.contest.top .beat{margin:14px 0 0}
/* point 4: more room around the two groups, and a line on either side of their headings */
.menu-card .legend-wrap{padding:22px 14px 20px}
.menu-card .how{margin:0 0 24px}
.leg-block{margin:0 0 30px}
.leg-block + .leg-block{margin-top:6px}
.menu-card .legend-h{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.menu-card .legend-h::before,.menu-card .legend-h::after{content:"";flex:1;height:1.5px;background:currentColor;opacity:.4;border-radius:2px}
.menu-card .legend-h span{flex:none}
@media (max-height:700px){.title7 .t-big{font-size:38px}.mini-big{font-size:26px!important}.menu-logo{width:min(170px,50%);margin-bottom:12px}.title7{margin-bottom:18px}.leg-block{margin-bottom:22px}}
/* point 11: say no to a prize, with an are-you-sure */
.decline-btn{display:block;margin:12px auto 0;font-size:14px;font-weight:700;color:var(--sage3);text-decoration:underline;text-underline-offset:3px;background:none;border:0;cursor:pointer;padding:6px 10px}
#declineOv{z-index:30}
.decline-card h2{font-size:28px;margin:0 0 10px}
.decline-card .sub{font-size:15px;line-height:1.5;margin:0 0 18px;color:#3d4240}
.decline-card .btn{display:block;width:100%;margin:0 0 10px}
.intro7 .intro-card{background:none!important;overflow:visible}
.intro7 .intro-card::before{content:"";position:absolute;inset:-46px -28px -20px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(255,253,251,.9) 62%,rgba(255,253,251,.6) 82%,rgba(255,253,251,0) 100%)}
.mono{font-family:"Manrope",sans-serif!important;font-size:12px;font-weight:700;color:var(--plum)}
.hud-logo img{height:34px}@media (max-width:360px){.hud-logo img{height:26px}}
#start h1.title7{margin:0 0 28px}@media (max-height:700px){#start h1.title7{margin-bottom:20px}}

/* ---------- v8 (Oct 15, 2026): Gitty's 6 points (mail 0178732b) ---------- */
/* point 1: more room under "Play & Win" */
#start h1.title7{margin:0 0 44px}
@media (max-height:700px){#start h1.title7{margin-bottom:34px}}
/* point 2: the logo exactly centered in the game bar (score and pause no longer push it off center) */
.hud-row:first-child{position:relative;min-height:48px}
.hud-row:first-child .hud-logo{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;max-width:none}
@media (max-width:360px){.hud-logo{padding:5px 9px}}
/* point 2: the score glows and pulses once when it passes the High Score */
.hud-score.hs-pulse{animation:hsPulse 1.6s cubic-bezier(.3,.7,.4,1) 1}
@keyframes hsPulse{0%{transform:scale(1);box-shadow:0 2px 10px rgba(109,92,95,.12)}
 18%{transform:scale(1.28);background:#fff6e8;color:#8c5f66;box-shadow:0 0 0 6px rgba(196,163,163,.35),0 0 26px rgba(233,190,110,.85)}
 40%{transform:scale(1.04);box-shadow:0 0 0 3px rgba(196,163,163,.25),0 0 16px rgba(233,190,110,.6)}
 58%{transform:scale(1.16);background:#fff6e8;box-shadow:0 0 0 5px rgba(196,163,163,.3),0 0 22px rgba(233,190,110,.75)}
 100%{transform:scale(1);box-shadow:0 2px 10px rgba(109,92,95,.12)}}
.hud-score{transform-origin:center;will-change:transform}
/* point 3: "Share the game" is the star of the game-over page */
.share8{border:2px solid var(--rose);background:linear-gradient(160deg,#fbefef 0%,#fffaf8 55%,#f3ece9 100%);padding:16px 14px 18px;box-shadow:0 10px 26px rgba(196,163,163,.28)}
.btn.share-cta{position:relative;overflow:hidden;display:flex;width:100%;max-width:320px;margin:4px auto 0;min-height:60px;font-size:20px;letter-spacing:.01em;padding:14px 24px;color:#fff;
 background:linear-gradient(135deg,#c4a3a3 0%,#a98385 48%,#6d5c5f 100%);box-shadow:0 10px 24px rgba(109,92,95,.38),inset 0 0 0 2px rgba(255,255,255,.28);animation:shareBreath 2.4s ease-in-out infinite}
.btn.share-cta .share-ico{font-size:22px;line-height:1}
.btn.share-cta::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));transform:skewX(-20deg);animation:shareShine 3.2s ease-in-out infinite;pointer-events:none}
@keyframes shareShine{0%,55%{left:-60%}85%,100%{left:130%}}
@keyframes shareBreath{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
.btn.share-cta:active{transform:scale(.97);animation:none}
@media (prefers-reduced-motion:reduce){.btn.share-cta,.btn.share-cta::after,.hud-score.hs-pulse{animation:none}}
/* point 4: welcome page: no watercolor or bows, logo at the top (smaller), "Catch the Moment" title */
.intro8{background:#FAF5F4!important;flex-direction:column;justify-content:flex-end}
.intro-toplogo{position:absolute;z-index:2;left:50%;top:max(18px,env(safe-area-inset-top));transform:translateX(-50%);width:min(190px,50%);height:auto;filter:drop-shadow(0 1px 8px rgba(250,245,244,.95))}
.intro8 .intro-bg img{top:9%;height:58%;opacity:.45}
.intro-title8{font-family:"Ancizar Sans",sans-serif;font-weight:700;font-size:44px;line-height:1.05;color:#8c5f66;margin:0 0 16px;letter-spacing:.005em}
.intro8 .intro-card{align-self:center;margin-bottom:max(2vh,6px)}
@media (min-width:521px){.intro8 .intro-bg img{height:64%}}
@media (max-height:740px){.intro-toplogo{width:min(160px,44%);top:max(12px,env(safe-area-inset-top))}.intro-title8{font-size:36px;margin-bottom:10px}.intro8 .intro-bg img{top:8%;height:52%}}
/* point 6: "Terms and conditions apply" right under the prize */
.fine-under{margin:-2px 0 12px;font-size:12px;color:#5f6462}
.prize-card .won + .fine-under{margin:-4px 0 12px}
.btn.share-cta{white-space:nowrap}@media (max-width:360px){.btn.share-cta{font-size:17px;padding:12px 16px;min-height:56px}}

/* v9 (Oct 15): point 1 welcome: watercolor back (no bows), logo a little lower, photo a little higher, lighter wording */
.intro8.intro9{background:linear-gradient(rgba(250,245,244,.3),rgba(250,245,244,.3)),url(img/wc/bg.jpg?v=3) center/cover no-repeat!important}
.intro9 .intro-toplogo{top:calc(max(18px,env(safe-area-inset-top)) + 22px)}
.intro9 .intro-bg img{top:3%}
.intro9 .intro-hi{font-size:17px;line-height:1.45;color:#4d3f42;margin:0 auto 10px;max-width:none}
.intro9 .intro-hi2{font-size:15px;line-height:1.5;color:#4d3f42;margin:0 auto 12px;max-width:33ch;text-wrap:balance}
.intro9 .intro-game{text-wrap:balance}
.intro9 .intro-game{font-size:15px;line-height:1.5;color:#4d3f42;margin:0 auto 18px;max-width:none}
.intro9 .intro-hi2::before{content:"";display:block;width:42px;height:1.5px;background:var(--rose);opacity:.7;margin:0 auto 12px;border-radius:2px}
@media (min-width:521px){.intro9 .intro-bg img{top:4%}}
@media (max-height:740px){.intro9 .intro-toplogo{top:calc(max(12px,env(safe-area-inset-top)) + 14px)}.intro9 .intro-bg img{top:2%}.intro9 .intro-hi{font-size:15.5px;margin-bottom:8px}.intro9 .intro-hi2,.intro9 .intro-game{font-size:14px;margin-bottom:10px}.intro9 .intro-game{margin-bottom:14px}}
/* v9 point 3: a drop less space on the menu (under "Play & Win" and between the two cards) */
#start h1.title7{margin:0 0 30px}
@media (max-height:700px){#start h1.title7{margin-bottom:24px}}
.contest.top{margin:0 0 20px}
@media (max-height:700px){.contest.top{margin-bottom:14px}}
/* v9 point 4: "Score to beat" sits under the strikes */
.hud-row.second{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px}

/* v10 (Oct 15): welcome photo = her new picture, whole and centered between the logo and the words; her new intro; v7/v8 game line back */
.intro10{flex-direction:column;justify-content:center;align-items:center;overflow-x:hidden;overflow-y:auto}
.intro10 .intro-toplogo{position:static;transform:none;flex:none;width:min(180px,48%);margin:0 auto 10px}
.intro10 .intro-bg{position:relative;inset:auto;z-index:0;flex:none;width:min(calc(100% - 40px),440px);aspect-ratio:3/2;margin:0 auto 4px}
.intro10 .intro-bg img{position:static;left:auto;top:auto;transform:none;display:block;width:100%;height:100%;min-width:0;object-fit:cover;object-position:50% 50%;opacity:1;
  border-radius:16px;box-shadow:0 6px 22px rgba(109,92,95,.16);-webkit-mask-image:none;mask-image:none}
.intro10 .intro-card{flex:none;align-self:center;margin:0 auto;padding:14px 20px 10px}
.intro10 .intro-card::before{inset:-6px -24px -14px}
.intro10 .intro-title8{font-size:38px;margin:0 0 12px;white-space:nowrap}
.intro10 .intro-hi{font-size:16px;line-height:1.5;color:#4d3f42;margin:0 auto 12px;max-width:32ch;text-wrap:balance}
.intro10 .intro-game{font-size:15px;line-height:1.5;color:#4d3f42;margin:0 auto 18px;max-width:34ch;text-wrap:balance}
@media (min-width:700px){.intro10 .intro-bg{width:min(calc(100% - 40px),480px)}}
@media (max-height:740px){.intro10 .intro-toplogo{width:min(140px,40%);margin-bottom:4px}.intro10 .intro-bg{width:min(calc(100% - 40px),290px)}.intro10 .intro-title8{font-size:32px;margin-bottom:8px}.intro10 .intro-hi{font-size:14.5px;margin-bottom:8px}.intro10 .intro-game{font-size:14px;margin-bottom:12px}.intro10 .intro-card{padding:10px 16px 6px}}
/* v10 point 3: her note "don't tighten a lot, I do want space, just a little": the two marked menu gaps a little smaller than v9 */
#start h1.title7{margin:0 0 24px}
@media (max-height:700px){#start h1.title7{margin-bottom:20px}}
.contest.top{margin:0 0 16px}
@media (max-height:700px){.contest.top{margin-bottom:12px}}

/* v10b (Oct 15): her note "the photo on the welcome screen is not faded like it was before": the v8/v9 faded, feathered look back
   (opacity .45 + the same radial mask), on her new centered photo; no hard corners or shadow */
.intro10 .intro-bg img{opacity:.45;border-radius:0;box-shadow:none;
  -webkit-mask-image:radial-gradient(ellipse 62% 58% at 50% 46%,#000 30%,rgba(0,0,0,.55) 60%,transparent 92%);mask-image:radial-gradient(ellipse 62% 58% at 50% 46%,#000 30%,rgba(0,0,0,.55) 60%,transparent 92%)}

/* v10c (Oct 15): her note "Move the logo down a little, Zoom into the pic a little": logo ~16px lower (12px on short screens), moved
   visually only so nothing else shifts; photo = the same picture cropped ~13% tighter around the baby (img/intro10c.jpg), same fade + feather */
.intro10 .intro-toplogo{position:relative;left:auto;top:16px;z-index:2}
@media (max-height:740px){.intro10 .intro-toplogo{top:12px}}

/* v10d (Oct 15): her note "Logo slightly bigger and slightly move down": welcome logo ~15% bigger (180->207px, short screens 140->161px)
   and ~10px lower (~6px on short screens); the photo, words and Start keep their look and just make room under it */
/* the extra room above shrinks on screens just tall enough, so the welcome never needs scrolling where v10c didn't */
.intro10 .intro-toplogo{width:min(207px,55%);margin-top:clamp(0px,calc(100vh - 812px),20px);top:20px}
/* on a screen too short for the whole welcome, start at the top instead of cutting the logo off */
.intro10{justify-content:safe center}
@media (max-height:600px){.intro10{padding-top:max(4px,env(safe-area-inset-top))}}
@media (max-height:740px){.intro10 .intro-toplogo{width:min(161px,46%);margin-top:clamp(0px,calc(100vh - 572px),14px);top:14px}}

/* QA Oct 15: Highest Scores / My points / Sound links get an invisible 44px tap area (look unchanged) */
.link-btn{padding:12.5px 4px;margin:-6.5px -2px}

/* v11 (Gitty #25): the strike bar pulses Dusty Rose when a moment is missed */
.hud-lives.hit{animation:ctmHit .7s ease-out}
@keyframes ctmHit{0%{transform:scale(1);background:rgba(250,245,244,.82)}18%{transform:scale(1.18);background:#C4A3A3;box-shadow:0 0 0 6px rgba(196,163,163,.45)}100%{transform:scale(1);background:rgba(250,245,244,.82);box-shadow:0 2px 10px rgba(109,92,95,.12)}}
@media (prefers-reduced-motion:reduce){.hud-lives.hit{animation:none;background:#C4A3A3}}

/* v12 (Oct 16, Gitty "Yes!" to a copyright line): small, light line at the bottom of the welcome screen, in the flow under the card so it never overlaps */
.intro-copy{flex:none;position:relative;z-index:1;margin:6px auto max(10px,env(safe-area-inset-bottom));padding:0 16px;font-family:Manrope,sans-serif;font-size:11px;line-height:1.4;font-weight:500;letter-spacing:.01em;color:#6D5C5F;opacity:.58;text-align:center}
@media (max-height:740px){.intro-copy{margin-top:2px;margin-bottom:max(6px,env(safe-area-inset-bottom))}}

/* Oct 16, 2026 12:05 AM (Gitty): "No thanks, keep playing" was LEFT-aligned under "Claim my prize" (the 44px tap-area rule above
   overrode its auto margins, and .save-form is text-align:left). Centered under the button, same 18px gap to the text, same 44px tap area.
   Same for any secondary link inside a popup/form card. */
.decline-btn,.save-form .link-btn,.overlay .card .link-btn{display:block;margin:5.5px auto -6.5px;padding:12.5px 10px;text-align:center}
.save-form .text-link,.overlay .card .text-link{display:block;margin-left:auto;margin-right:auto;text-align:center}
