/* ユーザー指定の2画面デザインを基準にした2026-10-02版。 */
@font-face{font-family:"Pokeriba Mincho";src:url("pokeriba-mincho-20261002.woff2") format("woff2");font-weight:700 900;font-style:normal;font-display:swap}
:root{--display-font:"Pokeriba Mincho","Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;--frame-gold:#e7c975}
.idle{background:radial-gradient(ellipse at 60% 0%,#39265199,transparent 48%),#070b20}
.hero-bg{display:none}.hero-vignette{background:linear-gradient(180deg,#050a1870,transparent 48%,#050a18aa)}.hero-sheen{display:none}
.idle-content{padding:calc(18px + var(--st)) 20px calc(17px + var(--sb));gap:0;isolation:isolate}
.hero-header{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;flex-shrink:0;margin-bottom:20px}
.idle .brand,.result .brand{width:55%;max-width:194px;border-radius:6px;padding:9px 12px;box-shadow:inset 0 0 0 1px #cdd2dc,0 4px 14px #0003}
.hero-header p,.result-header p{font-family:var(--display-font);font-size:11px;letter-spacing:.06em;line-height:1.75;text-align:right;color:#f8f5ff;margin:0;white-space:nowrap}
.exclusive{display:flex;align-items:center;justify-content:center;gap:11px;width:85%;min-height:38px;flex-shrink:0;margin:0;padding:4px 20px;font-family:var(--display-font);font-weight:900;font-size:clamp(15px,4.5vw,21px);letter-spacing:.07em;color:#f7dfa4;background:linear-gradient(120deg,#d3a851,#fff0ba 50%,#ba8d36);border:0;clip-path:polygon(8% 0,92% 0,100% 50%,92% 100%,8% 100%,0 50%);box-shadow:none;isolation:isolate}
.exclusive:before{content:"";position:absolute;inset:2px;width:auto;height:auto;border-radius:0;box-shadow:none;z-index:-1;background:linear-gradient(135deg,#191623,#030a13);clip-path:polygon(8% 0,92% 0,100% 50%,92% 100%,8% 100%,0 50%)}
.line-seal{display:grid;place-items:center;position:relative;width:25px;height:25px;border-radius:50%;background:#fff;color:#06a83f;font:900 8px Arial,sans-serif;box-shadow:0 0 0 3px #07b63f}
.line-seal:after{content:"";position:absolute;bottom:-2px;left:7px;border:4px solid transparent;border-top-color:#fff;transform:rotate(18deg)}
.welcome{margin:16px 0 8px;font-family:var(--display-font);font-size:clamp(12px,3.6vw,16px);font-weight:700;letter-spacing:.055em;color:#f4eef8;flex-shrink:0}
.hero-title{font-family:var(--display-font);font-size:clamp(34px,10vw,48px);font-weight:900;letter-spacing:.04em;line-height:1.12;flex-shrink:0;text-shadow:0 2px 8px #02040f}
.hero-title span{display:block}.hero-title strong{font-family:var(--display-font);font-size:clamp(55px,16vw,74px);letter-spacing:.07em;line-height:1.15;margin-top:5px;background:linear-gradient(#fff9d9 5%,#f7de8d 40%,#d5aa47 67%,#ffecaf 85%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 0 #7b571b) drop-shadow(0 0 9px #cf9a3655)}
.reference-pack-stage{position:relative;display:block;min-height:220px;flex:1;align-self:stretch;width:calc(100% + 40px);margin:0 -20px -6px;overflow:hidden;z-index:-1}
.reference-pack-stage:after{display:none}.stage-art{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 62%;mask-image:linear-gradient(transparent 0%,#000 12%,#000 92%,transparent 100%)}
.stage-caption{position:absolute;top:39%;font-family:var(--display-font);font-size:13px;line-height:1.6;letter-spacing:.08em;color:#f9f2ed;text-shadow:0 2px 8px #000;margin:0;padding-bottom:11px}.stage-caption:after{content:"";position:absolute;bottom:0;left:0;right:-10px;height:1px;background:linear-gradient(90deg,#f8df98,transparent);transform:rotate(-10deg)}.caption-left{left:7%}.caption-right{right:6%;top:47%}
.start-wrap{width:100%;margin:0;flex-shrink:0}.start{display:flex;align-items:center;justify-content:center;gap:10px;min-height:66px;padding:12px 32px 12px 17px;border-radius:50px;border:2px solid #ffeeb3;background:linear-gradient(135deg,#fc4490 0%,#db0863 48%,#ec267c 78%,#b91469);box-shadow:0 0 0 2px #b28b47,inset 0 0 0 3px #ffffff25,inset 0 5px 8px #ffffff24,0 8px 25px #160320aa,0 0 19px #ed4ca65c;color:#fffaf0;font-family:var(--display-font);font-size:clamp(18px,5.1vw,25px);font-weight:900;letter-spacing:.02em;text-shadow:0 2px 3px #7c0335;white-space:nowrap}
.start:before{border-radius:inherit}.start-pack-icon{width:27px;height:35px;flex:none;filter:drop-shadow(0 0 5px #ffdbad)}.start-arrow{right:16px;font-family:Arial,sans-serif;font-size:28px;top:47%}
.start-benefit{display:flex;align-items:center;justify-content:center;gap:17px;margin:14px 0 0;font-family:var(--display-font);font-size:12px;letter-spacing:.18em;color:#f1e7ef;line-height:1.5}.start-benefit:before,.start-benefit:after{content:"";width:34px;height:1px;background:#c4a661}
.sound-toggle{top:auto;bottom:calc(17px + var(--sb));right:11px;padding:4px;min-height:26px;font-size:8px;background:#070d20b3;border-color:#756e6a66}
.app:not([data-state="idle"]):not([data-state="result"]) .sound-toggle{top:calc(12px + var(--st));bottom:auto}
.result{background:radial-gradient(ellipse at 35% 0%,#12284c66,transparent 42%),#020d20;scrollbar-width:none}.result::-webkit-scrollbar{display:none}
.result:before{background:linear-gradient(135deg,transparent 20%,#b8934a80 20.04%,transparent 20.12%,transparent 86%,#b8934a60 86.04%,transparent 86.12%);opacity:.75}
.result-shell{padding-left:20px;padding-right:20px}.result-header{margin-bottom:20px;gap:16px}.result-header p{font-size:10px}.result-header .brand{width:55%}
.reward-hero{padding:15px 14px 19px;border-radius:0;border:2px solid #dcb95f;background:radial-gradient(ellipse at 50% 40%,#26334c,transparent 72%),#051023;box-shadow:inset 0 0 0 3px #0a1527,inset 0 0 0 4px #cfad60,0 6px 30px #0003;clip-path:polygon(3% 0,97% 0,97% 2%,100% 5%,100% 95%,97% 98%,97% 100%,3% 100%,3% 98%,0 95%,0 5%,3% 2%)}
.reward-hero:before{border-radius:0;inset:8px;border-color:#c4a05155}.reward-celebration{height:28px;margin-bottom:6px;gap:53px}.reward-crown{width:44px;height:28px}.reward-star{font-size:16px}.reward-congrats{font-family:var(--display-font);font-size:12px;letter-spacing:.12em;margin-bottom:9px}.reward-heading{font-family:var(--display-font);font-weight:900}.reward-main{font-size:clamp(43px,12.3vw,59px);letter-spacing:.04em}.reward-subline{font-size:clamp(24px,7.1vw,34px);font-family:var(--display-font);letter-spacing:.02em}.reward-get{font-size:1.15em}.reward-caption{font-size:9px;margin-top:11px}
.appraisal-heading{font-family:var(--display-font);font-size:clamp(23px,6.3vw,31px);font-weight:900;line-height:1.4;margin:20px 0 9px}.appraisal-heading strong{display:block;margin:0;font-family:var(--display-font);font-size:clamp(36px,10vw,48px);letter-spacing:.045em;background:linear-gradient(#fff6cf,#f5d980 50%,#dbad42);color:#f1d082;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 0 #6a4818)}
.appraisal-intro{font-size:12px;line-height:1.7;margin-bottom:17px;letter-spacing:.03em}
.photo-guide{position:relative;border-radius:0;background:linear-gradient(135deg,#fffbef,#f9f0de 75%,#eee0c0);border:2px solid #d8b15d;outline:none;padding:17px 18px 15px;box-shadow:inset 0 0 0 3px #fff5d7,inset 0 0 0 4px #b99a54;clip-path:polygon(3% 0,97% 0,100% 3%,100% 97%,97% 100%,3% 100%,0 97%,0 3%)}
.photo-guide h2{font-family:var(--display-font);font-size:20px;letter-spacing:.16em;margin-bottom:13px}.photo-example{padding:16px 12px 8px;background:repeating-linear-gradient(0deg,#cab89512 0px 1px,transparent 1px 4px),linear-gradient(100deg,#e4d4bf,#d9c6ab 55%,#e8dccb);border-radius:9px;box-shadow:inset 0 0 16px #88653715}.example-cards{gap:15px;padding:0 6px 8px}.example-cards img{width:27%;max-width:85px;border-radius:1px;box-shadow:0 4px 6px #59401e33}.camera-corners{inset:10px 10px 26px}.photo-example figcaption{font-size:8px;color:#5d5247}
.photo-steps{font-family:var(--display-font);font-size:13px;gap:11px;line-height:1.6;margin-top:15px}.step-number{width:26px;height:26px;font-size:17px;background:#051630;color:#ecd99d}.photo-note{font-family:inherit;font-size:10px;line-height:1.7;margin-top:11px;color:#655b4c}
.appraisal-hit{min-height:61px;border:2px solid #78e5a0;border-radius:50px;background:linear-gradient(110deg,#17bd59,#03a957 60%,#02a967);box-shadow:inset 0 0 0 2px #ffffff28,0 3px 15px #0003;font-family:var(--display-font);font-size:clamp(16px,4.65vw,22px);letter-spacing:.015em;text-shadow:0 1px 2px #06502b;margin-top:17px;gap:12px;padding:12px 30px 12px 14px}.appraisal-hit svg{width:28px;height:28px}.appraisal-hit:after{right:14px;font-size:27px}.cta-help{font-size:10px;margin-top:9px;margin-bottom:16px}
.screenshot-coupon{border-radius:0;border-color:#d6b871;box-shadow:inset 0 0 0 3px #071529,inset 0 0 0 4px #b7924155;background:linear-gradient(135deg,#101c32,#020a19);padding:17px 13px;clip-path:polygon(2% 0,98% 0,100% 3%,100% 97%,98% 100%,2% 100%,0 97%,0 3%)}.screenshot-coupon .coupon-label{font-family:var(--display-font)}.screenshot-coupon .coupon-value{font-family:var(--display-font);font-size:clamp(23px,6.8vw,32px);letter-spacing:.07em}.screenshot-coupon .expiry-date{font-size:18px}.coupon-save-note{font-size:10px}
.expiry-dock{min-height:51px;gap:2px;padding:calc(6px + var(--st)) 10px 7px;background:linear-gradient(100deg,#060f21,#15243d 50%,#060f21);color:#f7e4b0;border-bottom:1px solid #c9a358;box-shadow:0 3px 10px #0004}.expiry-dock span{font-size:10px;letter-spacing:.1em}.expiry-dock strong{font-size:17px}.expiry-dock.is-expired{background:#263044;color:#b9c0cc;border-color:#69758a}
.app[data-state="result"] .result-shell{padding-top:calc(68px + var(--st))}.app[data-state="result"] .result{scroll-padding-top:calc(68px + var(--st))}
@media(max-height:740px){.idle-content{padding-top:calc(13px + var(--st));padding-bottom:calc(13px + var(--sb))}.hero-header{margin-bottom:13px}.hero-header .brand{max-width:160px;padding:7px 10px}.hero-header p{font-size:9px}.exclusive{min-height:33px;font-size:16px}.welcome{margin-top:11px;margin-bottom:7px;font-size:12px}.hero-title{font-size:34px}.hero-title strong{font-size:54px;margin-top:2px}.reference-pack-stage{min-height:180px}.start{min-height:58px;font-size:19px;gap:8px}.start-benefit{margin-top:11px;font-size:10px}.sound-toggle{bottom:calc(11px + var(--sb))}.stage-caption{font-size:10px}.appraisal-hit{position:fixed;bottom:calc(14px + var(--sb));left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:432px;margin:0;box-shadow:inset 0 0 0 2px #ffffff28,0 0 0 10px #041024f0,0 -12px 22px #041024}.result-shell{padding-bottom:calc(110px + var(--sb))}}
@media(max-width:350px){.idle-content,.result-shell{padding-left:16px;padding-right:16px}.reference-pack-stage{width:calc(100% + 32px);margin-left:-16px;margin-right:-16px}.hero-header{gap:10px}.hero-header p,.result-header p{font-size:9px}.hero-title{font-size:31px}.hero-title strong{font-size:52px}.welcome{font-size:11px}.exclusive{gap:9px;font-size:16px;width:92%}.start{font-size:17px;gap:8px;padding-left:12px;padding-right:29px}.start-pack-icon{width:23px;height:31px}.start-benefit{gap:12px}.start-benefit:before,.start-benefit:after{width:24px}.sound-toggle{right:6px;font-size:7px}.stage-caption{font-size:10px}.photo-guide{padding:15px 14px}.photo-guide h2{font-size:18px}.photo-steps{font-size:11px}.step-number{width:23px;height:23px}.appraisal-hit{font-size:15px;gap:8px}.appraisal-heading{font-size:22px}.appraisal-heading strong{font-size:35px}.reward-main{font-size:40px}.reward-subline{font-size:22px}.screenshot-coupon .expiry-date{font-size:16px}}
@media(max-height:610px){.hero-header{margin-bottom:10px}.hero-header .brand{max-width:146px}.welcome{margin:9px 0 5px}.hero-title{font-size:28px}.hero-title strong{font-size:45px}.reference-pack-stage{min-height:140px}.start{min-height:54px}.start-benefit{margin-top:9px}}
@media(max-height:740px){.stage-art{height:140%;top:-20%;object-fit:contain}.reference-pack-stage:before{content:"";position:absolute;inset:0;background:url("hero-pokeriba-stage-20261002.webp") 50% 62%/cover;opacity:.3;filter:blur(3px);mask-image:linear-gradient(transparent,#000 20%,#000 85%,transparent)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
