*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--neo-bg:#181715;--neo-fg:#f3eade;--neo-accent:#dfae70;--neo-secondary:#483528;--neo-muted:#362b22;--neo-white:#f3eade;--neo-border:1px solid var(--ui-line);--neo-shadow-sm:0 2px 8px #00000029;--neo-shadow-md:0 8px 24px #0000002e;--neo-shadow-lg:0 16px 40px #0003;--gap:12px;--page-max-width:600px;--page-gutter:clamp(12px,2.4vw,28px);--ui-surface:#24211e;--ui-surface-soft:#2d2823;--ui-line:#494036;--ui-muted:#c0b3a3;--ui-hover:#393027;--ui-header:#2d2520;--ui-secondary-nav:#201e1b;--ui-input:#1d1b18;--ui-control-line:#8a755f;--ui-on-accent:#241b12;--ui-accent-hover:#edc18a;--ui-warning:#efc18c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html{font-size:16px}body{background:var(--neo-bg);color:var(--neo-fg);-webkit-font-smoothing:antialiased;flex-direction:column;align-items:stretch;width:100%;min-height:100dvh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Kaku Gothic ProN,Noto Sans JP,Meiryo,sans-serif;display:flex;position:relative;overflow-x:clip}a,button,input,textarea,select{font:inherit}button,input,textarea,select{color:inherit}img{max-width:100%;height:auto}main,header,footer{width:100%}.boardSection{border:var(--neo-border);background:var(--ui-surface);box-shadow:var(--neo-shadow-sm);border-top:0;border-radius:0 0 20px 20px;padding:0 14px 14px;display:block}.boardFrame{background:var(--ui-surface-soft);box-shadow:none;border:0;border-radius:14px;padding:0;position:relative;overflow:hidden}.boardFrame>*{z-index:1;position:relative}.instructionCard{border:var(--neo-border);background:var(--ui-surface);text-align:left;border-bottom:0;border-radius:20px 20px 0 0;gap:6px;margin-bottom:-16px;padding:18px 20px 14px;display:grid}.instruction{margin:0;font-size:clamp(.92rem,2vw,1rem);font-weight:600}.crossLinkCard{width:min(var(--page-max-width),calc(100% - var(--page-gutter)*2));border:1px solid var(--ui-line);background:var(--ui-secondary-nav);border-radius:14px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:12px auto 20px;padding:10px 12px 6px;display:flex}.crossLinkButton{min-height:44px;color:var(--ui-muted);font:inherit;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:10px 16px;font-size:.8rem;font-weight:500;line-height:1.5;text-decoration:none;transition:color .16s,background-color .16s;display:inline-flex}.crossLinkButton:hover{background:var(--ui-hover);color:var(--neo-accent);transform:none}.crossLinkButton:active{box-shadow:none;background:var(--neo-muted);transform:none}@media (max-width:640px){.resultSection{box-shadow:var(--neo-shadow-sm);border-radius:18px}.boardSection{border-radius:0 0 18px 18px;padding:0 8px 8px}.instructionCard{border-radius:18px 18px 0 0;padding:16px 14px 12px}.crossLinkCard{border-radius:14px;flex-direction:column;align-items:stretch;padding:10px 8px 6px}.crossLinkButton{width:100%}}.resultSection{border:var(--neo-border);background:var(--ui-surface);box-shadow:var(--neo-shadow-md);border-radius:22px;gap:16px;padding:clamp(18px,3vw,24px);display:grid}.resultHeader{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;display:flex}.resultTitle{color:var(--neo-fg);margin:0;font-size:clamp(1.3rem,3vw,1.8rem);line-height:1.2}.resultText{color:var(--ui-muted);margin:6px 0 0;line-height:1.7}.resultImageWrap{border:1px solid var(--ui-line);background:var(--ui-surface-soft);border-radius:16px;padding:6px}.resultImage{background:var(--ui-surface);border:0;border-radius:10px;width:100%;height:auto;display:block}.footer{text-align:center;flex-wrap:wrap;justify-content:center;gap:8px 18px;padding:24px 28px 36px;display:flex}.footerLink{color:var(--ui-muted);border-bottom:1px solid #0000;padding-bottom:2px;font-size:.78rem;font-weight:500;text-decoration:none;transition:color .16s,border-color .16s,opacity .16s}.footerLink:hover{color:var(--neo-fg);border-bottom-color:var(--neo-accent)}.footerLink:active{opacity:.7}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.my9SeriesLinks{min-width:0;max-width:100%;display:block}.resultSection .my9SeriesLinks,main>.my9SeriesLinks,[role=dialog] .my9SeriesLinks{width:100%;margin-block:0}.my9SeriesLinksTitle{text-align:center;color:var(--ui-muted);letter-spacing:.03em;margin:0 0 2px;font-size:.72rem;font-weight:500}.my9SeriesLinkItems{flex-wrap:wrap;justify-content:center;gap:4px;min-width:0;display:flex}.my9SeriesLinkItems>a{box-sizing:border-box;overflow-wrap:anywhere;flex:0 auto;min-width:0;max-width:100%;padding-inline:6px;line-height:1.45}@media (max-width:640px){.my9SeriesLinkItems{flex-direction:column;align-items:stretch;gap:0}.my9SeriesLinkItems>a{flex-basis:auto;width:100%}}.crossLinkButton:focus-visible{outline:2px solid var(--neo-accent);outline-offset:2px}
