/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.resize{resize:both}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#f7f7f2;--muted:#9ca9a1;--panel:#0c1312e0;--line:#bee8d426}*{box-sizing:border-box}html{background:#07100e}body{color:var(--ink);background:#07100e;margin:0;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,system-ui,sans-serif}button{font:inherit}.othello-app{background:radial-gradient(circle at 35% 28%,#16705338,#0000 38%),linear-gradient(145deg,#0a1513,#050908 72%);min-height:100vh;padding:24px clamp(14px,3vw,40px) 34px}.game-layout{width:min(720px,100%);margin-inline:auto}.header-actions{justify-content:center;gap:10px;display:flex}.quiet-button{border:1px solid var(--line);color:#d5ded9;cursor:pointer;background:#0d1815d1;border-radius:10px;min-height:40px;padding:0 14px}.quiet-button:hover{color:#fff;border-color:#5be0ae8c}.mode-settings{justify-items:center;gap:8px;display:grid}.mode-buttons,.difficulty-buttons{flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;display:flex}.mode-button{border:1px solid var(--line);color:#aebdb6;cursor:pointer;background:#0d1815b8;border-radius:9px;min-height:36px;padding:0 11px;font-size:.78rem;font-weight:800}.mode-button:hover{color:#fff;border-color:#5be0ae8c}.mode-button.is-active{color:#fff;background:#34876847;border-color:#5be0ae;box-shadow:0 0 14px #5be0ae26}.thinking-label{color:#76ddb5;font-size:.75rem;font-weight:800}.game-layout{display:block}.advantage-header{border:1px solid var(--line);background:#08110ed1;border-radius:13px;margin-bottom:10px;padding:10px 14px 12px}.advantage-title,.advantage-values{justify-content:space-between;align-items:center;display:flex}.advantage-title span{color:#9cafaa;letter-spacing:.12em;font-size:.72rem;font-weight:800}.advantage-title strong{font-size:.9rem}.advantage-values{margin-top:7px;font:800 .78rem/1 ui-monospace,SFMono-Regular,Consolas,monospace}.advantage-meter{background:linear-gradient(#f7f3e8,#cfc9bc);border:1px solid #ffffff4d;border-radius:999px;height:9px;margin-top:7px;overflow:hidden;box-shadow:inset 0 1px 3px #00000080}.advantage-meter span{background:linear-gradient(#30383a,#090d0e);border-right:2px solid #68e4b4;height:100%;transition:width .42s;display:block}.board-section{min-width:0}.mini-disc{border-radius:999px;flex:none;box-shadow:inset 0 4px 7px #ffffff38,inset 0 -5px 8px #0000004d,0 3px 8px #00000059}.mini-black{background:#111719;border:1px solid #64706e}.mini-white{background:#f5f1e6;border:1px solid #fff}.board-frame{aspect-ratio:1;background:linear-gradient(145deg,#24332e,#0b1210 62%);border:1px solid #86ebc240;border-radius:18px;width:min(100%,720px);padding:clamp(7px,1.2vw,11px);position:relative;box-shadow:0 30px 75px #00000075,inset 0 1px #ffffff14}.board{background:#126447;border:1px solid #062f23;border-radius:10px;grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);width:100%;height:100%;display:grid;overflow:hidden}.cell{perspective:620px;background:linear-gradient(145deg,#ffffff09,#00000006),#116448;border:1px solid #032e1fad;border-top:0;border-left:0;place-items:center;min-width:0;min-height:0;padding:0;display:grid;position:relative}.cell:nth-child(8n){border-right:0}.cell:nth-last-child(-n+8){border-bottom:0}.cell:disabled{opacity:1}.disc{z-index:2;aspect-ratio:1;width:76%;transform-style:preserve-3d;--disc-depth:clamp(3px, .55vw, 5px);animation:.19s ease-out disc-appear;position:relative}.disc-black{transform:rotateY(0)}.disc-white{transform:rotateY(180deg)}.disc-edge,.disc-rim,.disc-face{border-radius:999px;position:absolute;inset:0}.disc-edge{background:linear-gradient(90deg,#080b0c 0 46%,#e9e4d9 54% 100%);border:1px solid #ffffff4d;inset:4% 2% 0;transform:translateY(7%);box-shadow:0 7px 11px #0000006b}.disc-rim{z-index:1;backface-visibility:visible;background:linear-gradient(90deg,#060809 0 38%,#737571 42% 48%,#e9e4d9 54% 100%);border:1px solid #ffffff73;border-radius:44%;width:12%;height:94%;inset:3% auto auto 44%;transform:rotateY(90deg);box-shadow:inset 2px 0 3px #0000008c,inset -2px 0 3px #ffffff73,0 0 7px #00000073}.disc-face{backface-visibility:hidden;transform-style:preserve-3d}.disc-face-black{transform:translateZ(var(--disc-depth));background:radial-gradient(circle at 34% 25%,#667273,#1b2223 43%,#050707 100%);border:1px solid #74817f;box-shadow:inset 0 7px 11px #ffffff29,inset 0 -9px 13px #00000061}.disc-face-white{transform:rotateY(180deg) translateZ(var(--disc-depth));background:radial-gradient(circle at 34% 25%,#fff,#f4f0e5 48%,#aaa89f 100%);border:1px solid #fff;box-shadow:inset 0 7px 11px #ffffff4d,inset 0 -9px 13px #0003}.disc-black.is-flipping{animation:.48s cubic-bezier(.45,.02,.22,1) both flip-black-to-white}.disc-white.is-flipping{animation:.48s cubic-bezier(.45,.02,.22,1) both flip-white-to-black}.candidate{cursor:pointer}.move-hint{aspect-ratio:1;color:#fff;border-radius:999px;place-items:center;width:48%;transition:transform .15s,filter .15s;display:grid;position:absolute}.candidate:hover .move-hint,.candidate:focus-visible .move-hint{filter:brightness(1.25);transform:scale(1.15)}.move-count{font:800 clamp(.65rem,1.4vw,.88rem)/1 ui-monospace,SFMono-Regular,Consolas,monospace}.candidate.normal .move-hint{background:#5dddb129;border:2px solid #71e7bed1;box-shadow:0 0 12px #43e5ad66}.candidate.strong .move-hint{background:#91ff5733;border:2px solid #b4ff91;animation:1s ease-in-out infinite hint-pulse;box-shadow:0 0 13px #7de655,0 0 25px #7de65580}.candidate.mega .move-hint{color:#fff6bf;background:#ffcf4047;border:2px solid #fff0a0;width:60%;animation:.7s ease-in-out infinite mega-pulse;box-shadow:0 0 10px #fff,0 0 22px #ffdc48,0 0 40px #ffa22eb3}.cell.placed-flash:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(circle,#fff 0 8%,#ffe66d 10%,#ffe0613d 36%,#0000 68%);border-radius:999px;animation:.72s ease-out forwards place-flash;position:absolute;inset:-18%}.cell.placed-flash{z-index:5;overflow:visible}.impact-rings{z-index:5;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.impact-ring{aspect-ratio:1;border:var(--ring-start,6px) solid #fff7c2f5;opacity:0;border-radius:999px;outline:1px solid #ffffff80;width:18%;animation:.82s cubic-bezier(.08,.5,.2,1) both concentric-wave;position:absolute;box-shadow:inset 0 0 8px #ffffffe0,0 0 5px #fffffff2,0 0 18px #ffe068e0,0 0 38px #ffa23580}.impact-ring:nth-child(2){animation-delay:.105s}.impact-ring:nth-child(3){animation-delay:.21s}.impact-medium{--flash-scale:1.35;--wave-size:220%;--ring-start:4px;--ring-end:2px}.impact-medium .impact-ring:nth-child(3){display:none}.impact-medium .impact-ring{border-color:#a7ffd8d1;box-shadow:0 0 9px #67ebb48c}.impact-large{--flash-scale:2.2;--wave-size:390%;--ring-start:7px;--ring-end:3px}.impact-mega{--flash-scale:3;--wave-size:520%;--ring-start:9px;--ring-end:4px}.impact-mega .impact-ring{box-shadow:inset 0 0 10px #fff,0 0 7px #fff,0 0 28px #ffe259,0 0 58px #ff842cb8}.big-flip{z-index:8;color:#fff;text-align:center;text-shadow:0 0 8px #fff,0 0 25px #ffdd42,0 0 65px #ff7b2c;pointer-events:none;background:radial-gradient(circle,#ffee9666,#ff7a2a14 34%,#0000 64%);place-items:center;font:1000 clamp(2rem,7vw,5rem)/1 ui-monospace,SFMono-Regular,Consolas,monospace;animation:1s ease-out forwards big-flip-in;display:grid;position:absolute;inset:0}.othello-app.is-finished .big-flip{text-align:center;white-space:pre-line;background:#020a08b8;padding:20px;line-height:1.15;animation:.6s cubic-bezier(.2,.85,.25,1) forwards game-result-in}.othello-app.is-flashing .board-frame{animation:.4s ease-out board-impact}.game-footer{grid-template-columns:1fr;align-items:center;gap:18px;margin-top:14px;display:grid}.score-card{border:1px solid var(--line);background:var(--panel);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));justify-self:center;width:min(100%,320px);padding:6px;display:grid;box-shadow:0 20px 55px #00000042}.score-row{border-right:1px solid var(--line);border-radius:9px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:50px;padding:0 8px;font-weight:800;display:grid}.score-row:last-child{border-right:0}.score-row.is-active{background:#5be0ae17;box-shadow:inset 3px 0 #5be0ae}.score-row strong{font:900 1.55rem/1 ui-monospace,SFMono-Regular,Consolas,monospace}.mini-disc{aspect-ratio:1;width:27px}@keyframes disc-appear{0%{opacity:0;filter:brightness(1.8)}to{opacity:1;filter:brightness()}}@keyframes flip-black-to-white{0%{filter:brightness();transform:rotateY(0)scale(1)}42%{filter:brightness(1.65);transform:rotateY(88deg)scale(1.12)}58%{filter:brightness(1.65);transform:rotateY(92deg)scale(1.12)}to{filter:brightness();transform:rotateY(180deg)scale(1)}}@keyframes flip-white-to-black{0%{filter:brightness();transform:rotateY(180deg)scale(1)}42%{filter:brightness(1.65);transform:rotateY(268deg)scale(1.12)}58%{filter:brightness(1.65);transform:rotateY(272deg)scale(1.12)}to{filter:brightness();transform:rotateY(360deg)scale(1)}}@keyframes hint-pulse{0%,to{opacity:.8;transform:scale(.92)}50%{opacity:1;transform:scale(1.07)}}@keyframes mega-pulse{0%,to{transform:scale(.9)}50%{filter:brightness(1.5);transform:scale(1.12)}}@keyframes place-flash{0%{opacity:1;transform:scale(.2)}to{transform:scale(var(--flash-scale,2.2));opacity:0}}@keyframes concentric-wave{0%{opacity:1;border-width:var(--ring-start,6px);filter:brightness(1.35);width:18%}62%{opacity:.82;filter:brightness()}to{width:var(--wave-size,390%);opacity:0;border-width:var(--ring-end,3px);filter:brightness(.9)}}@keyframes big-flip-in{0%{opacity:0;transform:scale(.25)}25%{opacity:1;transform:scale(1.08)}75%{opacity:1}to{opacity:0;transform:scale(1.15)}}@keyframes game-result-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}@keyframes board-impact{0%,to{transform:translate(0)}25%{transform:translate(-4px,2px)}50%{transform:translate(4px,-2px)}75%{transform:translate(-2px,-1px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}.disc.is-flipping{animation-duration:.48s!important}.impact-ring{animation-duration:.82s!important}}@media (width<=840px){.board-frame{margin-inline:auto}}@media (width<=560px){.othello-app{padding:14px 8px 24px}.game-footer{grid-template-columns:1fr}.header-actions{gap:5px}.header-actions .quiet-button{flex:1}.quiet-button{min-height:34px;padding:0 9px;font-size:.75rem}.board-frame{border-radius:12px;padding:5px}.board{border-radius:7px}.move-count{font-size:.62rem}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
