/* Scoped styling only. No Blogger-wide rules. */
#bv-baduk{--ink:#203d32;--muted:#5d7066;--paper:#fffdf8;--panel:#f2f6ef;--line:#ccd9cc;--green:#21654f;--rim:#154838;--gold:#e7cb91;--soft:#e7eee7;max-width:1160px;margin:0 auto;color:var(--ink);font:15px/1.6 'Noto Sans KR',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;overflow-wrap:anywhere;isolation:isolate;color-scheme:light}
#bv-baduk *{box-sizing:border-box}#bv-baduk [hidden]{display:none!important}#bv-baduk h2,#bv-baduk h3,#bv-baduk h4,#bv-baduk p{margin:0}#bv-baduk h2{font-size:clamp(24px,5vw,42px);line-height:1.22;letter-spacing:-.055em}#bv-baduk h3{font-size:clamp(18px,3vw,23px);line-height:1.35;letter-spacing:-.035em}#bv-baduk p{margin:5px 0}#bv-baduk a{color:inherit}#bv-baduk .bv-sec{margin:15px 0;padding:clamp(10px,2.6vw,20px);border:1px solid var(--line);border-radius:20px;background:var(--paper);box-shadow:0 4px 16px #213c3010}#bv-baduk .bv-over{display:block;font-weight:800;letter-spacing:.12em;font-size:10px;color:var(--muted);margin-bottom:6px}#bv-baduk .bv-hero{background:linear-gradient(130deg,#0f2921,#205344 85%);border-radius:23px;padding:clamp(16px,4vw,32px);color:#fff9e9;display:grid;grid-template-columns:1.25fr .75fr;gap:15px;align-items:center;box-shadow:0 7px 20px #123e3130;margin:0 0 12px}#bv-baduk .bv-hero .bv-over{color:#c7decd}#bv-baduk .bv-hero p{color:#e0e9e1}#bv-baduk .bv-hero img{width:100%;height:auto;display:block;border-radius:14px;box-shadow:0 8px 18px #0004}#bv-baduk .bv-benefits{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}#bv-baduk .bv-benefits span{border:1px solid #ffffff40;background:#ffffff0d;border-radius:99px;padding:3px 8px;font-size:11px}#bv-baduk .bv-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#bv-baduk .bv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#bv-baduk .bv-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#bv-baduk .bv-btn,#bv-baduk select,#bv-baduk input[type=number]{--face:#fff;--bottom:#e4ede5;--edge:#b2c7b7;--shadow:#9db1a3;--fg:#234c39;appearance:none;-webkit-appearance:none;border:1px solid var(--edge)!important;border-radius:999px!important;background:linear-gradient(180deg,var(--face),var(--bottom))!important;color:var(--fg)!important;-webkit-text-fill-color:var(--fg)!important;box-shadow:0 3px 0 var(--shadow),0 5px 9px #152f2420,inset 0 1px 1px #ffffff90!important;line-height:1.3;font-family:inherit;font-size:13px;font-weight:750;min-height:42px;padding:9px 13px!important;margin:0 0 3px!important;display:inline-flex;justify-content:center;align-items:center;gap:4px;text-align:center;text-decoration:none!important;cursor:pointer;transition:translate .12s ease,box-shadow .12s ease,filter .12s ease;min-width:0;max-width:100%;touch-action:manipulation;white-space:normal;overflow-wrap:anywhere;letter-spacing:-.02em}#bv-baduk .bv-btn.primary,#bv-baduk .bv-btn[aria-pressed=true]{--face:#398a6a;--bottom:#206049;--edge:#205842;--shadow:#103a2b;--fg:#fff}#bv-baduk .bv-btn.gold{--face:#f9e7b6;--bottom:#dfbd76;--edge:#c09a54;--shadow:#9f7737;--fg:#263a2b}#bv-baduk .bv-btn.danger{--face:#fff6f0;--bottom:#f4dcd5;--edge:#d8a69b;--shadow:#b7877e;--fg:#852f28}#bv-baduk .bv-btn:active:not(:disabled){translate:0 2px;box-shadow:0 1px 0 var(--shadow),inset 0 2px 4px #0002!important}#bv-baduk .bv-btn:disabled,#bv-baduk select:disabled,#bv-baduk input:disabled{opacity:.48;cursor:not-allowed;box-shadow:none!important}#bv-baduk .bv-btn:focus-visible,#bv-baduk select:focus-visible,#bv-baduk canvas:focus-visible,#bv-baduk input:focus-visible{outline:3px solid #d89437;outline-offset:3px}#bv-baduk select,#bv-baduk input[type=number]{width:100%;display:block;text-align:left;padding:9px 23px 9px 10px!important;font-size:13px;white-space:nowrap;text-overflow:ellipsis}#bv-baduk select{background:linear-gradient(45deg,transparent 50%,#315d49 50%) calc(100% - 12px) 50%/5px 5px no-repeat,linear-gradient(135deg,#315d49 50%,transparent 50%) calc(100% - 7px) 50%/5px 5px no-repeat,linear-gradient(var(--face),var(--bottom))!important}#bv-baduk .bv-field{display:flex;flex-direction:column;gap:5px;min-width:0}#bv-baduk .bv-field label{font-size:11px;font-weight:800;color:var(--muted);line-height:1.3}#bv-baduk .bv-big{font-size:15px;min-height:48px;padding:12px 20px!important}#bv-baduk .bv-wide{width:100%}#bv-baduk .bv-pulse{animation:bvBadukBreath 2.4s ease-in-out infinite!important}@keyframes bvBadukBreath{0%,100%{scale:1;filter:brightness(1)}50%{scale:1.025;filter:brightness(1.1)}}@media(prefers-reduced-motion:reduce){#bv-baduk:not(.motion-on) .bv-pulse{animation:none!important}#bv-baduk *{scroll-behavior:auto!important;transition:none!important}}#bv-baduk .bv-mini{font-size:12px;color:var(--muted);line-height:1.5}#bv-baduk .bv-settings{margin:8px 0 12px}#bv-baduk .bv-settings summary{font-weight:800;cursor:pointer;padding:5px 0}#bv-baduk .bv-settings[open] summary{margin-bottom:8px}#bv-baduk .bv-playlayout{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,.43fr);gap:15px;align-items:start}#bv-baduk .bv-game{min-width:0;max-width:760px;margin:auto;width:100%}#bv-baduk .bv-player{display:flex;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:7px 9px;margin:6px 0;min-width:0}#bv-baduk .bv-player.active{border-color:#39916b;box-shadow:inset 3px 0 #39916b}#bv-baduk .bv-stone{width:30px;height:30px;flex:none;border-radius:50%;box-shadow:1px 3px 4px #0004;background:radial-gradient(circle at 30% 23%,#777f7c,#282c2b 45%,#040605 90%);border:1px solid #252a27}#bv-baduk .bv-stone.white{background:radial-gradient(circle at 30% 23%,#fff,#fdf9ee 55%,#b4b3a8);border-color:#b2b2a7}#bv-baduk .bv-player-info{flex:1;min-width:0;font-size:13px;line-height:1.35}#bv-baduk .bv-clock{font-size:clamp(15px,4vw,21px);font-weight:850;font-variant-numeric:tabular-nums;white-space:nowrap}#bv-baduk .bv-clock.urgent{color:#b32b26}#bv-baduk .bv-boardframe{border-radius:11px;background:#80532c;border:1px solid #996638;padding:3px 3px 8px;box-shadow:0 5px 11px #38290f3b;margin:6px 0 10px;overflow:hidden}#bv-baduk canvas{width:100%;height:auto;aspect-ratio:1;display:block;border-radius:7px;touch-action:manipulation;outline-offset:-4px;cursor:crosshair}#bv-baduk .bv-status{background:var(--panel);border-radius:10px;padding:8px 10px;font-size:13px;font-weight:750;min-height:37px;margin:7px 0}#bv-baduk .bv-status.error{color:#a22c25}#bv-baduk .bv-commands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0 0}#bv-baduk .bv-panel{border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:11px;margin:8px 0}#bv-baduk .bv-panel h4{font-size:14px;margin-bottom:6px}#bv-baduk .bv-numbers{display:flex;align-items:center;justify-content:space-between;gap:6px;font-weight:800;font-variant-numeric:tabular-nums}#bv-baduk .bv-meter{height:12px;display:flex;overflow:hidden;background:#dce5d8;border:1px solid #a9bca8;border-radius:99px;margin:6px 0}#bv-baduk .bv-meter i{display:block;background:#273b31;width:50%;transition:width .2s}#bv-baduk .bv-puzzle{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:center}#bv-baduk .bv-puzzle .bv-boardframe{max-width:300px;margin:auto;width:100%}#bv-baduk .bv-ad{margin:12px 0 16px;padding:0;display:flow-root;min-width:0;clear:both;text-align:center}#bv-baduk .bv-ad-label{color:#758079;font-size:9px;letter-spacing:.12em;margin:0 0 3px}#bv-baduk .bv-ad ins{display:block;max-width:100%}#bv-baduk .bv-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}#bv-baduk .bv-hub a{display:flex;align-items:center;gap:8px;background:linear-gradient(#fff,#edf3eb);border:1px solid #b9cbb9;border-radius:14px;box-shadow:0 3px 0 #b4c5b5;padding:10px 8px;margin-bottom:3px;text-decoration:none;color:var(--ink);min-width:0}#bv-baduk .bv-hub a:active{translate:0 2px;box-shadow:0 1px 0 #b4c5b5}#bv-baduk .bv-hub .bv-symbol{font-size:23px;flex:none}#bv-baduk .bv-hub strong{display:block;font-size:13px;line-height:1.25}#bv-baduk .bv-hub small{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:3px}#bv-baduk .bv-faq details{border-top:1px solid var(--line);padding:8px 0}#bv-baduk .bv-faq summary{cursor:pointer;font-weight:750}#bv-baduk .bv-thumb{margin:0 0 12px}#bv-baduk .bv-thumb img{display:block;width:100%;height:auto;border-radius:14px}#bv-baduk .bv-check{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650}#bv-baduk .bv-check input{accent-color:#21654f;width:17px;height:17px;flex:none}#bv-baduk .bv-guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}#bv-baduk .bv-guide-steps div{background:var(--panel);border-radius:12px;padding:10px;font-size:12px}#bv-baduk .bv-guide-steps b{display:block;font-size:14px}#bv-baduk .bv-error{color:#a22c25;font-size:13px}#bv-baduk .bv-anchor{scroll-margin-top:75px}#bv-baduk[data-theme=dark]{--ink:#edf5e9;--muted:#bfd0c0;--paper:#192e25;--panel:#243f32;--line:#496451;color-scheme:dark}#bv-baduk[data-theme=dark] .bv-hub a{color:#203d32}#bv-baduk[data-theme=dark] .bv-hub small{color:#496451}#bv-baduk[data-theme=contrast]{--ink:#111;--muted:#333;--paper:#fff;--panel:#f4f4f4;--line:#444}#bv-baduk .bv-load{padding:10px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:10px}#bv-baduk .bv-replay-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#bv-baduk .bv-replay-controls .bv-btn{padding:8px 4px!important}#bv-baduk .bv-score-table{width:100%;border-collapse:collapse;font-size:12px}#bv-baduk .bv-score-table td,#bv-baduk .bv-score-table th{text-align:right;padding:4px;border-bottom:1px solid var(--line)}#bv-baduk .bv-score-table td:first-child,#bv-baduk .bv-score-table th:first-child{text-align:left}#bv-baduk .bv-score-table tr:last-child{font-weight:850}#bv-baduk .bv-link{color:inherit;text-decoration:underline}#bv-baduk .bv-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){#bv-baduk .bv-playlayout{grid-template-columns:minmax(0,1fr);gap:5px}#bv-baduk .bv-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#bv-baduk .bv-side .bv-panel{margin:3px 0}#bv-baduk .bv-side .bv-span{grid-column:1/-1}#bv-baduk .bv-hero{grid-template-columns:minmax(0,1fr) minmax(0,.62fr)}#bv-baduk .bv-hub{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#bv-baduk{font-size:13px}#bv-baduk .bv-sec{padding:9px;margin:12px 0;border-radius:15px}#bv-baduk .bv-hero{grid-template-columns:1fr;gap:9px;padding:14px}#bv-baduk .bv-hero img{display:none}#bv-baduk .bv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#bv-baduk .bv-grid2{gap:6px}#bv-baduk .bv-btn{font-size:12px;padding:8px 7px!important;min-height:42px}#bv-baduk .bv-big{font-size:14px}#bv-baduk .bv-player{padding:6px;gap:6px}#bv-baduk .bv-stone{width:25px;height:25px}#bv-baduk .bv-commands{gap:6px}#bv-baduk .bv-puzzle{grid-template-columns:1fr;gap:8px}#bv-baduk .bv-guide-steps{grid-template-columns:1fr;gap:5px}#bv-baduk .bv-guide-steps b{display:inline;margin-right:4px}#bv-baduk .bv-hub{gap:7px}#bv-baduk .bv-hub .bv-symbol{font-size:20px}#bv-baduk .bv-hub a{padding:9px 6px;gap:5px}#bv-baduk .bv-hub strong{font-size:12px}#bv-baduk .bv-hub small{font-size:10px}}
@media(max-width:320px){#bv-baduk .bv-side{grid-template-columns:1fr}#bv-baduk .bv-hero .bv-row{display:grid;grid-template-columns:1fr 1fr}#bv-baduk .bv-hero .bv-big{grid-column:1/-1}#bv-baduk .bv-hub a{gap:4px}#bv-baduk .bv-hub .bv-symbol{font-size:17px}#bv-baduk .bv-commands .bv-btn{font-size:11px}}

#bv-baduk .bv-boardframe.zoomed{overflow:auto;overscroll-behavior-x:contain}#bv-baduk .bv-boardframe.zoomed canvas{width:max(100%,540px)!important;max-width:none!important;touch-action:pan-x pan-y pinch-zoom}#bv-baduk .bv-hero .bv-btn:not(.gold){--face:#fff;--bottom:#dfeae2;--shadow:#739283}#bv-baduk #bb-share{grid-column:1/-1}
/* Keep the thumbnail and hero compact on large displays. */
@media(min-width:761px){#bv-baduk .bv-thumb{max-width:680px;margin:0 auto 12px}#bv-baduk .bv-hero{grid-template-columns:minmax(0,1fr) minmax(0,230px);gap:18px}#bv-baduk .bv-hero img{max-width:230px;justify-self:end}}
