/* Takinoko Code Studio — scoped styles, no external fonts. */
.tk-code{--tk-bg:#17221f;--tk-border:#34453c;--tk-text:#edf3eb;--tk-muted:#afc0b4;box-sizing:border-box;position:relative;margin:28px 0;background:var(--tk-bg);color:var(--tk-text);border:1px solid var(--tk-border);border-radius:12px;overflow:hidden;min-width:0;max-width:100%;box-shadow:0 6px 18px #17221f0a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;isolation:isolate}
.tk-code *{box-sizing:border-box}.tk-code .tk-code__bar{display:flex;align-items:center;gap:14px;min-height:49px;padding:9px 16px;background:#1f2e27;border-bottom:1px solid var(--tk-border);font-size:11px;line-height:1.5;flex-wrap:wrap}.tk-code .tk-code__language{color:#d9f55a;font-size:11px;font-weight:700;letter-spacing:.08em;flex-shrink:0}.tk-code .tk-code__language:before{content:"</>";margin-right:10px;color:var(--tk-muted);font-weight:400;letter-spacing:-.08em}.tk-code .tk-code__filename{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tk-muted)}.tk-code .tk-code__actions{margin-left:auto;display:flex;align-items:center;gap:6px}.tk-code .tk-code__actions[hidden]{display:none}.tk-code .tk-code__actions button{appearance:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;color:#d4dfd6;padding:7px 10px;border-radius:6px;min-height:30px;font-family:inherit;font-size:11px;line-height:1.3;cursor:pointer;white-space:nowrap;box-shadow:none}.tk-code .tk-code__actions button:hover,.tk-code .tk-code__actions button[aria-pressed=true]{background:#35483c;border-color:#526857;color:#f4f9ed}.tk-code .tk-code__actions .tk-code__copy{border-color:#526857}.tk-code .tk-code__actions .tk-code__copy.is-copied{color:#d9f55a;border-color:#80974e}.tk-code button:focus-visible,.tk-code .tk-code__pre:focus-visible{outline:2px solid #d9f55a;outline-offset:-3px}
.tk-code .tk-code__viewport{display:flex;align-items:stretch;min-width:0}.tk-code .tk-code__gutter{flex:0 0 auto;min-width:46px;padding:20px 12px 20px 16px;border-right:1px solid #2c3d33;color:#93a89b;text-align:right;user-select:none;font-size:13px;line-height:24px;white-space:pre}.tk-code[data-line-numbers="0"] .tk-code__gutter,.tk-code--wrap .tk-code__gutter{display:none}.tk-code .tk-code__pre{flex:1;min-width:0;max-width:100%;margin:0!important;padding:20px 20px!important;background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important;overflow:auto!important;color:var(--tk-text)!important;font-family:inherit!important;font-size:13px!important;line-height:24px!important;tab-size:4;text-align:left;white-space:pre!important;word-break:normal!important;overflow-wrap:normal!important;scrollbar-width:thin;scrollbar-color:#617968 #17221f;overscroll-behavior-x:contain}.tk-code .tk-code__pre code{display:block!important;min-width:max-content;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font:inherit!important;white-space:inherit!important;word-break:inherit!important;overflow-wrap:inherit!important;text-shadow:none!important}.tk-code--wrap .tk-code__pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important}.tk-code--wrap .tk-code__pre code{min-width:0}.tk-code .tk-code__pre ::selection{background:#4c654b;color:#fff}.tk-code .tk-code__status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tk-code .hljs-comment,.tk-code .hljs-quote{color:#a6b8aa;font-style:italic}.tk-code .hljs-keyword,.tk-code .hljs-selector-tag,.tk-code .hljs-literal{color:#ccafff}.tk-code .hljs-string,.tk-code .hljs-regexp,.tk-code .hljs-addition{color:#d9ee95}.tk-code .hljs-number,.tk-code .hljs-symbol,.tk-code .hljs-bullet{color:#ffbe85}.tk-code .hljs-title,.tk-code .hljs-function,.tk-code .hljs-section{color:#96d4ff}.tk-code .hljs-built_in,.tk-code .hljs-type,.tk-code .hljs-attr,.tk-code .hljs-attribute{color:#ffd998}.tk-code .hljs-tag,.tk-code .hljs-name,.tk-code .hljs-selector-id,.tk-code .hljs-selector-class{color:#8ce1c8}.tk-code .hljs-variable,.tk-code .hljs-template-variable,.tk-code .hljs-deletion{color:#ffabab}.tk-code .hljs-meta{color:#bbcac0}.tk-code .hljs-emphasis{font-style:italic}.tk-code .hljs-strong{font-weight:bold}
@media(max-width:600px){.tk-code{margin:22px 0;border-radius:9px}.tk-code .tk-code__bar{padding:8px 10px;gap:8px}.tk-code .tk-code__filename{flex-basis:100%;order:3}.tk-code .tk-code__gutter{min-width:35px;padding:16px 8px 16px 10px;font-size:12px}.tk-code .tk-code__pre{padding:16px 12px!important;font-size:12px!important}.tk-code .tk-code__actions button{min-height:36px;padding:8px}}
@media print{.tk-code{background:white;color:black;box-shadow:none;break-inside:avoid}.tk-code .tk-code__bar{background:#eee}.tk-code .tk-code__language,.tk-code .tk-code__filename{color:black}.tk-code .tk-code__actions,.tk-code .tk-code__gutter{display:none}.tk-code .tk-code__pre{color:black!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}.tk-code .tk-code__pre code{min-width:0}.tk-code .tk-code__pre span{color:black!important}}
