*{box-sizing:border-box}
:root{--pink:#ff71ad;--pink-deep:#d92d82;--blue:#67c9ff;--blue-deep:#208ed1;--yellow:#ffd84d;--ink:#343342;--muted:#6d6a78;--line:#ffc7df;--cream:#fff9dc;--white:#fff;--shadow:0 14px 34px rgba(255,113,173,.18)}
html{scroll-behavior:smooth}body{margin:0;font-family:"Hiragino Sans","Yu Gothic",Meiryo,system-ui,sans-serif;color:var(--ink);overflow-x:hidden;background-color:#ffdb59;background-image:linear-gradient(rgba(255,255,255,.38),rgba(255,255,255,.38)),url("../../assets/bg/main-bg.jpg");background-size:cover;background-position:center top;background-attachment:fixed}button,input,select{font:inherit}button{-webkit-tap-highlight-color:transparent}.wikiNav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:3px solid var(--line);box-shadow:0 5px 16px rgba(0,0,0,.07)}.wikiNavIn{max-width:1160px;margin:auto;display:flex;gap:8px;align-items:center;padding:10px 12px}.wikiNavLinks{display:flex;gap:8px;overflow:auto;scrollbar-width:none}.wikiNavLinks::-webkit-scrollbar{display:none}.wikiNav a{white-space:nowrap;text-decoration:none;color:var(--pink-deep);font-weight:900;border-radius:999px;padding:8px 12px}.wikiNav a.current,.wikiNav a:hover{background:#ffe7f3}.wikiNavSearch{margin-left:auto;display:flex;gap:6px;min-width:min(330px,42vw)}.wikiNavSearch input{width:100%;min-width:0;border:2px solid var(--line);border-radius:999px;padding:9px 12px;background:#fff}.wikiNavSearch button{border:0;border-radius:999px;background:var(--pink);color:#fff;font-weight:900;padding:9px 13px;cursor:pointer}.wrap{max-width:1080px;margin:auto;padding:22px 14px 64px}.panel,.qualityBox{background:rgba(255,255,255,.95);border:3px solid var(--line);border-radius:26px;padding:20px;box-shadow:var(--shadow);margin-bottom:16px}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(255,239,248,.96) 58%,rgba(230,248,255,.96))}.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.hero:before{width:180px;height:180px;right:45px;top:-90px;background:rgba(255,216,77,.35)}.hero:after{width:120px;height:120px;left:-50px;bottom:-55px;background:rgba(103,201,255,.20)}.heroTop{display:flex;align-items:center;gap:22px;position:relative;z-index:1}.heroTop>div:first-child{flex:1;min-width:0}.heroBadges{display:flex;gap:7px;flex-wrap:wrap}.eventBadge,.obsBadge,.eyebrow{display:inline-flex;align-items:center;gap:6px;border-radius:999px;font-weight:900;letter-spacing:.04em}.eventBadge{background:linear-gradient(135deg,var(--pink),#ff9ac7);color:#fff;padding:6px 12px;box-shadow:0 5px 12px rgba(217,45,130,.18)}.obsBadge{background:linear-gradient(135deg,#25232b,#55515f);color:#fff;padding:6px 12px}.eyebrow{font-size:.78rem;color:var(--pink-deep);background:#fff0f7;border:2px solid #ffd0e6;padding:4px 9px}.obsEyebrow{color:#6359bf;background:#f3f1ff;border-color:#d8d3ff}h1,h2{font-family:var(--nikumaru-font,"PunittoNikumaru","Hiragino Sans","Yu Gothic",sans-serif)}h1{margin:9px 0 8px;color:var(--pink-deep);font-size:clamp(1.65rem,4.7vw,2.7rem);line-height:1.2}h2{margin:5px 0 0;color:var(--pink-deep)}.hero p{margin:0;color:#5f5b69;font-weight:800;line-height:1.75}.heroPuni{width:150px;flex:0 0 150px;text-align:center}.heroPuni img{width:100%;height:120px;object-fit:contain;filter:drop-shadow(0 9px 7px rgba(0,0,0,.14))}
.sectionHead{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.sectionHead>div:first-child{min-width:0}.sectionHead h2{font-size:1.55rem}.statusStack{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.saveState,.obsMiniStatus,.obsState{white-space:nowrap;border-radius:999px;padding:7px 11px;font-weight:900;font-size:.84rem}.saveState{background:#eafaf1;color:#16814a;border:2px solid #a8e6c4}.obsMiniStatus,.obsState{background:#f3f1f5;color:#6f6975;border:2px solid #ded9e1}.obsMiniStatus.on,.obsState.on{background:#edf9ff;color:#247cae;border-color:#acdfff}.obsMiniStatus.syncing,.obsState.syncing{background:#fffbea;color:#8b6a00;border-color:#eed064}.obsMiniStatus.error,.obsState.error{background:#fff0f1;color:#b9434d;border-color:#ffc2c8}
.summaryGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.summaryItem{background:linear-gradient(180deg,#fff,#fff8fb);border:2px solid #ffd3e6;border-radius:19px;padding:14px 12px;text-align:center}.summaryItem span{display:block;color:#746d79;font-weight:900;font-size:.84rem}.summaryItem strong{font-family:var(--nikumaru-font,"PunittoNikumaru",sans-serif);display:inline-block;color:var(--pink-deep);font-size:clamp(1.8rem,5vw,2.55rem);line-height:1.1;margin-top:4px}.summaryItem small{font-weight:900;margin-left:2px}.summaryItem.hot{border-color:#9fddff;background:linear-gradient(180deg,#fafdff,#eaf8ff)}.summaryItem.hot strong{color:var(--blue-deep)}
.counterGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.counterCard{--accent:var(--pink);--soft:#fff0f7;display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center;background:rgba(255,255,255,.97);border:3px solid color-mix(in srgb,var(--accent) 48%,white);border-radius:26px;padding:16px;box-shadow:0 12px 28px rgba(65,65,80,.10);transition:.12s;overflow:hidden;position:relative}.counterCard:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 95% 10%,color-mix(in srgb,var(--accent) 15%,transparent) 0 15%,transparent 16%);pointer-events:none}.counterCard.flash{transform:translateY(-3px) scale(1.01);box-shadow:0 20px 38px color-mix(in srgb,var(--accent) 24%,transparent);border-color:var(--accent)}.counterCard.summer{--accent:#ff65a7;--soft:#fff0f7}.counterCard.reward{--accent:#f4b92d;--soft:#fff9dc}.counterCard.super{--accent:#ff7e87;--soft:#fff0f0}.counterCard.back{--accent:#60aeea;--soft:#eef8ff}.puniWrap{height:155px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#fff,var(--soft));border:2px dashed color-mix(in srgb,var(--accent) 42%,white);padding:9px}.puniWrap img{max-width:100%;max-height:138px;object-fit:contain;filter:drop-shadow(0 9px 7px rgba(0,0,0,.14));user-select:none;-webkit-user-drag:none}.counterBody{min-width:0;position:relative;z-index:1}.kindTag{display:inline-block;color:color-mix(in srgb,var(--accent) 84%,#222);background:var(--soft);border:2px solid color-mix(in srgb,var(--accent) 40%,white);border-radius:999px;padding:3px 8px;font-size:.72rem;font-weight:900}.counterBody h2{color:var(--ink);font-size:clamp(1.1rem,2.2vw,1.4rem);line-height:1.35;margin:6px 0}.counterNumber{display:flex;align-items:baseline;gap:4px}.counterNumber strong{font-family:var(--nikumaru-font,"PunittoNikumaru",sans-serif);color:var(--accent);font-size:clamp(2.5rem,7vw,4.1rem);line-height:1}.counterNumber span{font-weight:900}.rateLine{display:flex;gap:6px;color:#77717c;font-size:.83rem;font-weight:800;margin:4px 0 11px}.rateLine b{color:var(--accent)}.counterActions{display:grid;grid-template-columns:48px 1fr;gap:8px}.minusBtn,.plusBtn{border:0;cursor:pointer;font-weight:900}.minusBtn{border-radius:15px;background:#f2f2f5;color:#686675;font-size:1.45rem;border:2px solid #e2e1e7}.plusBtn{min-height:52px;border-radius:17px;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#50c9ff));color:#fff;font-size:1.18rem;display:flex;justify-content:center;align-items:center;gap:10px;box-shadow:0 7px 14px color-mix(in srgb,var(--accent) 24%,transparent)}.plusBtn:active,.minusBtn:active{transform:scale(.97)}
kbd{font-family:inherit;font-weight:900;display:inline-flex;align-items:center;justify-content:center;min-width:29px;min-height:27px;padding:3px 8px;border-radius:8px;background:#fff;color:#4d4b58;border:2px solid #d8d6df;box-shadow:0 2px 0 #c7c4cf;font-size:.78rem}.plusBtn kbd{background:rgba(255,255,255,.94);border-color:rgba(255,255,255,.7);box-shadow:none;color:#555;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.softBtn{border:2px solid #ffc7df;background:#fff7fb;color:var(--pink-deep);border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.softBtn:hover{background:#ffe9f4}.hintBox{margin:0 0 13px;color:#66616d;font-weight:700;line-height:1.6;background:#fffbea;border:2px dashed #f6cd54;border-radius:15px;padding:10px 12px}
.itemList{display:grid;gap:9px}.itemRow{display:grid;grid-template-columns:68px minmax(180px,1fr) minmax(240px,auto) auto auto 38px;gap:8px;align-items:center;background:#fff;border:2px solid #f0dce7;border-radius:18px;padding:10px}.itemVisual{position:relative;width:64px;height:64px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#fff8fc,#eef9ff);border:2px solid #f0dce7;overflow:hidden}.itemVisual img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 4px 3px rgba(0,0,0,.12))}.itemVisual>span:last-child{position:absolute;right:3px;bottom:3px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#ff71ad;color:#fff;font-size:.68rem;font-weight:900;border:2px solid #fff}.itemVisual.custom .customGift{font-size:2rem}.itemVisual.custom>span:last-child{font-size:.68rem}.itemNameLabel{display:grid;gap:4px}.itemNameLabel span{font-size:.72rem;font-weight:900;color:#77717c}.itemName,.itemCount{border:2px solid #e5dce2;border-radius:12px;padding:9px 10px;min-width:0;width:100%}.itemName:focus,.itemCount:focus{outline:3px solid rgba(255,113,173,.18);border-color:var(--pink)}.itemCountBox{display:grid;grid-template-columns:42px 90px 70px;gap:6px}.itemMinus,.itemPlus{border:0;border-radius:12px;font-weight:900;cursor:pointer}.itemMinus{font-size:1.25rem;background:#f2f2f5;color:#67636c}.itemPlus{background:linear-gradient(135deg,#ff71ad,#70cfff);color:#fff}.obsToggle{font-size:.82rem;font-weight:900;white-space:nowrap;align-self:center}.itemShortcut{align-self:center;white-space:nowrap}.itemDelete{align-self:center;width:36px;height:36px;border:0;border-radius:50%;background:#fff0f1;color:#ba414b;font-size:1.25rem;font-weight:900;cursor:pointer}
.obsPanel{border-color:#cfc9ff;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(246,244,255,.97))}.obsIntro{display:grid;grid-template-columns:minmax(300px,1fr) 1.2fr;gap:16px;align-items:center;margin-bottom:16px}.obsIntro h3,.obsSettings h3{margin:0 0 6px;color:#4d4780;font-family:var(--nikumaru-font,"PunittoNikumaru",sans-serif);font-size:1.2rem}.obsIntro p{margin:0;font-weight:750;color:#696473;line-height:1.65}.obsPreviewMock{position:relative;min-height:120px;border-radius:22px;padding:15px;background:linear-gradient(135deg,rgba(34,32,42,.88),rgba(74,69,90,.82));display:flex;gap:8px;align-items:center;overflow:hidden}.obsPreviewMock:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.12) 1px,transparent 1px);background-size:18px 18px}.mockChip{position:relative;z-index:1;display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.94);border-radius:15px;padding:8px 10px;font-weight:900;font-size:.76rem}.mockChip img{width:50px;height:50px;object-fit:contain}.mockChip b{font-size:1.35rem;color:var(--pink-deep)}.mockItem{font-size:2rem}.mockItemImg{width:50px!important;height:50px!important;object-fit:contain}.obsPreviewMock small{position:absolute;right:10px;bottom:6px;color:#fff;opacity:.8;font-weight:900}.termsCheck{display:flex;gap:8px;align-items:flex-start;padding:12px;border:2px solid #ddd7ff;border-radius:16px;background:#fff;font-weight:800}.termsCheck a{color:#6156bd}.obsPrimary{border:0;border-radius:999px;background:linear-gradient(135deg,#6254c7,#8b7cec);color:#fff;font-weight:900;padding:11px 16px;cursor:pointer;box-shadow:0 7px 16px rgba(98,84,199,.25)}.obsCreate .obsPrimary{margin-top:10px}.tinyNote{font-size:.78rem;color:#77717c;font-weight:700}.obsUrlBox{border:2px solid #ddd7ff;background:#fff;border-radius:18px;padding:13px}.obsUrlBox label{display:block;font-weight:900;color:#504a78;margin-bottom:6px}.urlRow{display:grid;grid-template-columns:1fr auto;gap:7px}.urlRow input{min-width:0;border:2px solid #ded9e9;border-radius:12px;padding:9px}.urlRow button{border:0;border-radius:12px;background:#6254c7;color:#fff;font-weight:900;padding:0 12px;cursor:pointer}.obsUrlBox p{font-size:.82rem;color:#77717c;font-weight:700;margin:7px 0 0}.obsActionRow{display:flex;gap:8px;flex-wrap:wrap;margin:11px 0 15px}.dangerSoft{border:2px solid #ffc3c9;background:#fff0f1;color:#b8424c;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.obsSettings{border-top:2px dashed #ddd7ff;padding-top:14px}.settingGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.settingGrid label{display:grid;gap:5px;font-weight:900;color:#5f596b}.settingGrid input[type="text"],.settingGrid input:not([type]),.settingGrid select{border:2px solid #dfdbe9;border-radius:12px;padding:9px;background:#fff}.settingGrid input[type="range"]{width:100%}.checkGrid{display:flex;gap:8px 14px;flex-wrap:wrap;margin-top:11px}.checkGrid label{font-weight:850}.syncInfo{margin-top:12px;border-radius:13px;background:#edf9ff;border:2px solid #bce5ff;padding:9px 11px;color:#337096;font-weight:850}
.obsHowTo{border-color:#bfe6ff;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,250,255,.97))}.howtoTerms{text-decoration:none;display:inline-flex;align-items:center}.obsSteps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.obsStep{display:flex;gap:11px;align-items:flex-start;background:#fff;border:2px solid #d7ecf8;border-radius:18px;padding:13px}.obsStep>span{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#67c9ff,#8d80ec);color:#fff;font-family:var(--nikumaru-font,"PunittoNikumaru",sans-serif);font-weight:900}.obsStep b{display:block;color:#4c4780;font-weight:900;line-height:1.45}.obsStep p{margin:4px 0 0;color:#6a6672;font-weight:750;line-height:1.6;font-size:.88rem}.creditRuleBox{margin-top:12px;background:#fff8df;border:2px solid #efd26c;border-radius:16px;padding:12px}.creditRuleBox b{color:#8d6800}.creditRuleBox p{margin:4px 0 0;color:#665f4d;font-weight:750;line-height:1.65}.checkGrid small{font-size:.72rem;color:#8a7480;font-weight:800}.shortcutList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shortcutRow{display:grid;grid-template-columns:13px 1fr minmax(54px,auto) auto;gap:9px;align-items:center;padding:10px 12px;border:2px solid #eee6ec;background:#fff;border-radius:16px}.shortcutRow b{min-width:0;overflow-wrap:anywhere}.shortcutRow button{border:0;background:#f3f1f5;color:#5a5661;border-radius:999px;padding:7px 10px;font-weight:900;cursor:pointer;white-space:nowrap}.shortcutDot{width:12px;height:12px;border-radius:50%}.summerDot{background:#ff65a7}.rewardDot{background:#f4b92d}.superDot{background:#ff7e87}.backDot{background:#60aeea}.shortcutNotice{margin-top:12px;border-radius:14px;padding:10px 12px;background:#edf9ff;border:2px solid #bce6ff;color:#337097;font-weight:800}.headActions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.historyEmpty{padding:18px;text-align:center;color:#817b85;font-weight:800;background:#faf8fb;border-radius:16px;border:2px dashed #e7dfe5}.historyList{list-style:none;padding:0;margin:0;display:grid;gap:7px}.historyList li{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:9px 11px;background:#fff;border:2px solid #f0e7ec;border-radius:14px}.historyTime{font-size:.78rem;color:#88808a;font-weight:800}.historyName{font-weight:900}.historyDelta{font-family:var(--nikumaru-font,"PunittoNikumaru",sans-serif);color:var(--pink-deep);font-size:1.08rem}.resetPanel{display:flex;justify-content:space-between;gap:16px;align-items:center}.resetPanel h2{margin:0}.resetPanel p{margin:5px 0 0;color:#706a75;font-weight:700}.dangerBtn{border:0;border-radius:999px;padding:11px 15px;background:#fff0f1;color:#c23a45;border:2px solid #ffc3c9;font-weight:900;cursor:pointer;white-space:nowrap}.qualityBox{border-color:#cdeaff}.qualityBox h2{color:var(--blue-deep);margin-top:0}.qualityBox ol{margin:8px 0;padding-left:1.4rem;line-height:1.8;font-weight:700}.qualityBox p{margin:8px 0 0;color:#68636e;font-weight:700}.qualityBox a{color:#197bb5;font-weight:900}
.toast{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom));z-index:100;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#3f3b45;color:#fff;padding:10px 16px;border-radius:999px;font-weight:900;box-shadow:0 10px 26px rgba(0,0,0,.24);transition:.18s}.toast.show{opacity:1;transform:translate(-50%,0)}.shortcutCapture{position:fixed;inset:0;z-index:200;background:rgba(48,42,52,.54);backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px}.shortcutCapture[hidden]{display:none}.captureCard{width:min(460px,100%);background:#fff;border:4px solid var(--line);border-radius:28px;padding:25px;text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.24)}.captureIcon{font-size:2.6rem}.captureCard h2{font-size:1.55rem}.captureCard p{font-weight:800;color:#68616d;line-height:1.6}.captureExample{background:#fffbea;border-radius:14px;padding:9px}.captureCard button{border:0;border-radius:999px;background:#f2eff3;color:#5e5863;padding:9px 15px;font-weight:900;cursor:pointer}
@media(max-width:900px){.obsSteps{grid-template-columns:1fr}.counterCard{grid-template-columns:125px minmax(0,1fr)}.puniWrap{height:140px}.shortcutList{grid-template-columns:1fr}.summaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.itemRow{grid-template-columns:60px 1fr minmax(210px,auto) auto 38px}.itemVisual{width:56px;height:56px}.itemVisual img{width:50px;height:50px}.itemShortcut{grid-column:2 / span 2}.obsToggle{grid-column:4}.itemDelete{grid-column:5;grid-row:1 / span 2}.obsIntro{grid-template-columns:1fr}.settingGrid{grid-template-columns:1fr}}
@media(max-width:700px){body{background-attachment:scroll}.wikiNavIn{flex-wrap:wrap}.wikiNavLinks{width:100%}.wikiNavSearch{min-width:100%;margin-left:0}.wrap{padding-left:max(11px,env(safe-area-inset-left));padding-right:max(11px,env(safe-area-inset-right))}.panel,.qualityBox{padding:15px;border-radius:21px}.heroTop{align-items:flex-start}.heroPuni{width:95px;flex-basis:95px}.heroPuni img{height:85px}.counterGrid{grid-template-columns:1fr;gap:11px}.counterCard{grid-template-columns:118px minmax(0,1fr);padding:12px;border-radius:21px}.puniWrap{height:128px;border-radius:18px}.puniWrap img{max-height:116px}.sectionHead{align-items:flex-start;flex-direction:column}.statusStack{justify-content:flex-start}.headActions{justify-content:flex-start}.resetPanel{align-items:flex-start;flex-direction:column}.dangerBtn{width:100%}.itemRow{grid-template-columns:58px 1fr 38px;align-items:center}.itemVisual{grid-column:1;grid-row:1;width:54px;height:54px}.itemVisual img{width:49px;height:49px}.itemNameLabel{grid-column:2}.itemCountBox{grid-column:1 / -1;grid-template-columns:44px 1fr 76px}.obsToggle{grid-column:2}.itemShortcut{grid-column:1 / span 2}.itemDelete{grid-column:3;grid-row:1}.urlRow{grid-template-columns:1fr}.urlRow button{padding:9px}.obsPreviewMock{min-height:105px}}
@media(max-width:430px){.heroPuni{display:none}.counterCard{grid-template-columns:96px minmax(0,1fr);gap:10px}.puniWrap{height:112px;padding:5px}.puniWrap img{max-height:101px}.counterActions{grid-template-columns:44px 1fr}.plusBtn{gap:6px}.shortcutRow{grid-template-columns:11px 1fr auto}.shortcutRow kbd{grid-column:2}.shortcutRow button{grid-column:3;grid-row:1 / span 2}.summaryItem{padding:11px 7px}.obsPreviewMock{display:none}}
@media(hover:none),(pointer:coarse){.softBtn:hover{background:#fff7fb}}

/* v391: スマートフォンではOBS関連UIを表示しない。PC/OBSブラウザソースの機能は維持。 */
.is-smartphone .desktopObsOnly,
.is-smartphone .obsToggle,
.is-smartphone #obsPanel,
.is-smartphone #obs-howto,
.is-smartphone #obsMiniStatus{display:none!important;}

/* UA判定が利用できない端末向けの保険。一般的なスマホ幅のみ対象。 */
@media (max-width:600px){
  .desktopObsOnly,.obsToggle,#obsPanel,#obs-howto,#obsMiniStatus{display:none!important;}
}
