/* CodeBin brand: static light, graphite surfaces and Lithuanian accents. */
:root{--cb-yellow:#fdb913;--cb-green:#009b69;--cb-red:#ed3544;--cb-ink:#111214;--cb-panel:#1d1f22;--cb-edge:rgba(222,228,235,.13);--cb-silver:#f3f5f7;--cb-muted:#b2b8c1;--cb-radius:16px;--cb-glow-strength:.75;--cb-ad-strength:1;--cb-tricolor:linear-gradient(100deg,#fdb913 0%,#e5be34 25%,#009b69 55%,#ed3544 100%)}
[data-site-brand]{vertical-align:middle;max-width:100%}.cb-built-in-brand{position:relative;display:inline-flex;width:clamp(105px,13vw,168px);height:42px;overflow:hidden;flex-shrink:0;align-items:center}.cb-built-in-brand img{position:absolute;left:0;top:50%;width:100%;height:auto;max-height:none;transform:translateY(-50%);object-fit:contain}.footer-brand-title .cb-built-in-brand{width:106px;height:30px}.cb-app-mark{width:40px;height:40px;object-fit:contain;flex:none}
.main-header,.academy-header{border-bottom-color:rgba(253,185,19,.2)}
.home-workspace{--home-surface:var(--cb-panel);--home-text:var(--cb-silver);--home-muted:var(--cb-muted);--home-border:var(--cb-edge);--home-accent:#f2c85c;position:relative;isolation:isolate}
.home-workspace:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-45px 0 auto;height:580px;opacity:var(--cb-glow-strength);background:radial-gradient(ellipse at 10% 5%,rgba(253,185,19,.13),transparent 48%),radial-gradient(ellipse at 55% 20%,rgba(0,155,105,.1),transparent 55%),radial-gradient(ellipse at 95% 5%,rgba(237,53,68,.11),transparent 48%)}
.home-workspace[data-home-glow="0"]{--cb-glow-strength:0}
.home-workspace .home-surface{background:linear-gradient(145deg,rgba(255,255,255,.035),transparent 42%),var(--home-surface);border-radius:var(--cb-radius);box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 12px 32px rgba(0,0,0,.12)}
.home-workspace .home-surface:is(:hover,:focus-within){border-color:rgba(253,185,19,.28);box-shadow:0 1px 0 rgba(255,255,255,.05) inset,0 8px 30px rgba(0,0,0,.15),0 0 25px rgba(253,185,19,calc(.045 * var(--cb-glow-strength)))}
.home-workspace .home-button,.home-dialog .home-button{border-radius:10px;min-height:44px;letter-spacing:0}.home-workspace .home-button-primary,.home-dialog .home-button-primary{background:linear-gradient(120deg,#ffce4b,#fdb913);color:#201900;border-color:#ffcc49;box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 4px 15px rgba(253,185,19,.1)}
.home-workspace .home-button-primary:is(:hover,:focus-visible),.home-dialog .home-button-primary:is(:hover,:focus-visible){background:linear-gradient(120deg,#ffdf80,#ffcb38);color:#161300}.home-workspace .home-shortcut:hover,.home-workspace .home-audience:hover{border-color:rgba(253,185,19,.42);background:linear-gradient(120deg,rgba(253,185,19,.06),rgba(0,155,105,.035),rgba(237,53,68,.035)),var(--bg-primary,#17191c)}
.home-workspace .home-shortcut:nth-child(3n+2) i,.home-workspace .home-audience:nth-child(3n+2) i{color:#42c89a}.home-workspace .home-shortcut:nth-child(3n) i,.home-workspace .home-audience:nth-child(3n) i{color:#f17c87}
.home-workspace .home-intro:before{height:2px;background:var(--cb-tricolor)}.home-workspace .home-intro{padding:clamp(24px,4vw,52px);align-items:center;gap:38px}.home-workspace .home-hero h1{font-size:clamp(2rem,4.5vw,3.8rem);max-width:14ch;line-height:1.08;letter-spacing:-.045em}.home-hero-copy>p{max-width:53ch;color:var(--home-muted);margin:20px 0 26px}.home-hero-copy .home-eyebrow{letter-spacing:.14em}.home-hero-actions>.home-text-link{flex-basis:100%;margin-top:6px}
.home-editor-preview{margin:0;border:1px solid rgba(204,211,224,.18);border-radius:14px;background:#111315;overflow:hidden;box-shadow:0 18px 45px #0005;min-width:0}.home-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--cb-edge);font:12px ui-monospace,monospace;color:#b7bdc7}.home-editor-dots{display:flex;gap:5px}.home-editor-dots i{width:7px;height:7px;border-radius:50%;background:#fdb913}.home-editor-dots i:nth-child(2){background:#009b69}.home-editor-dots i:nth-child(3){background:#ed3544}.home-editor-preview pre{margin:0;padding:22px 18px;overflow-x:auto;color:#d4d9e1;font:12px/1.9 ui-monospace,monospace}.home-editor-preview .syntax-tag{color:#eec367}.home-editor-preview .syntax-string{color:#68cbaa}.home-preview-result{display:flex;gap:14px;align-items:center;padding:24px 18px;background:linear-gradient(115deg,#29251c,#1a2421,#281c20);border-top:1px solid var(--cb-edge);color:#f8f8f8}.home-preview-result img{width:70px;height:70px;object-fit:contain}.home-preview-result strong,.home-preview-result small{display:block}.home-preview-result strong{font-size:1.25rem;line-height:1.3}.home-preview-result small{font-size:.78rem;color:#c7c9cd;margin-top:5px}.home-editor-caption{padding:11px 16px;color:#b4bac3;font-size:.73rem;border-top:1px solid var(--cb-edge)}
.home-workspace .home-shortcut{min-height:60px;padding:12px 15px}.home-workspace [data-home-block=tools] .home-section-heading{margin-bottom:14px}.home-public-card h3{min-height:2.8em}.home-public-card .home-code-snippet{flex:1;min-height:140px;max-height:180px;overflow:hidden}.home-public-footer{margin-top:auto}.home-preview-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--cb-edge);border-radius:8px}.home-cover-editor{padding:18px;border:1px solid var(--cb-edge);border-radius:12px;margin:18px 0;background:var(--bg-secondary,#202124)}.home-cover-editor summary{cursor:pointer;font-weight:650;min-height:32px}.home-cover-editor form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:16px}.home-cover-editor label{display:grid;gap:8px;flex:1 1 230px}.home-cover-editor input{max-width:100%;font:inherit}.home-cover-editor p{font-size:.88rem;line-height:1.6;color:var(--text-secondary,#b8b8b8)}
.advertisement-placement .ad-placement-label{font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;color:var(--text-secondary,#b2b8c1);padding-bottom:10px}.home-workspace .advertisement-placement{width:100%;margin:0;padding:14px;border:1px solid var(--cb-edge);border-radius:var(--cb-radius);background:linear-gradient(120deg,#ffffff06,transparent),var(--bg-secondary,#1d1f22);box-shadow:0 0 40px rgba(var(--ad-glow-color,253,185,19),calc(.12 * var(--cb-ad-strength) * var(--cb-glow-strength)))}.home-workspace .advertisement-placement .ad-slides-viewport{height:clamp(130px,17vw,260px)}.home-workspace .advertisement-placement .ad-slide .ad-link{height:100%}.home-workspace .advertisement-placement .ad-slide img{height:100%;width:100%;object-fit:contain}.home-workspace .advertisement-placement .ad-slide picture{display:block;width:100%;height:100%}.home-workspace .advertisement-placement[data-ad-glow-enabled="0"]{box-shadow:none}
@media(min-width:1180px){.home-workspace.home-account{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.32fr);align-items:start;gap:20px}.home-account>.home-personal-heading,.home-account>.home-notice,.home-account>[data-home-block=tools],.home-account>.advertisement-placement,.home-account>.home-save-status{grid-column:1/-1}.home-account>[data-home-block=workspace],.home-account>[data-home-block=community]{grid-column:1}.home-account>[data-home-block=role],.home-account>[data-home-block=actions],.home-account>[data-home-block=ai]{grid-column:2}.home-account .home-work-grid{grid-template-columns:1fr 1fr}.home-account .home-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-account .home-gallery-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.home-account [data-home-block=role] .home-work-grid{grid-template-columns:1fr}.home-account [data-home-block=role] .home-role-actions,.home-account [data-home-block=ai] .home-role-actions{align-items:stretch;flex-direction:column}.home-account [data-home-block=ai] .home-section-heading{flex-wrap:wrap}.home-account .home-surface{padding:22px}.home-account [data-home-block=role] .home-section-heading,.home-account [data-home-block=actions] .home-section-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:720px){.home-workspace:before{height:320px;inset:-20px 0 auto;opacity:calc(var(--cb-glow-strength) * .6)}.home-workspace .home-intro{gap:25px;padding:24px}.home-workspace .home-hero h1{max-width:18ch;font-size:clamp(2rem,8vw,2.8rem)}.home-editor-preview pre{padding:16px;font-size:11px}.home-preview-result{padding:18px}.home-preview-result img{width:52px;height:52px}.home-workspace .advertisement-placement .ad-slides-viewport{height:150px}.cb-built-in-brand{width:112px;height:34px}}
.light-theme .home-workspace{--home-surface:#fff;--home-text:#1a2028;--home-muted:#56606d;--home-accent:#785507;--home-border:#d6dbe1}.light-theme .home-workspace .home-surface{box-shadow:0 4px 18px #1c25300a}.light-theme .home-workspace .home-shortcut:nth-child(3n+2) i{color:#08794f}.light-theme .home-workspace .home-shortcut:nth-child(3n) i{color:#ba2638}
.codebin-reduced-motion .home-workspace{--cb-glow-strength:.2}.codebin-reduced-motion .home-workspace .home-surface:is(:hover,:focus-within){box-shadow:none}
@media(prefers-reduced-motion:reduce){.home-workspace{--cb-glow-strength:.2}.home-workspace *{transition:none!important}}
html[data-contrast=high] .home-workspace{--cb-glow-strength:0;--home-border:#aaa;--home-text:#fff;--home-muted:#ddd;--home-surface:#111}html[data-contrast=high] .home-workspace:before{display:none}

.home-main-column,.home-side-column{display:contents}.home-account>.home-save-status{order:999}.home-workspace .advertisement-placement .ad-slides{height:100%}
.home-account:not(.home-account-columns){display:flex}.home-account-columns>[data-home-block=tools],.home-account-columns>.advertisement-placement{order:1}
.navbar{border-bottom-color:rgba(253,185,19,.22)}.light-theme .cb-built-in-brand{border-radius:7px;background:#17191b}.light-theme .cb-built-in-brand img{left:5px;width:calc(100% - 10px)}
@media(min-width:1180px){.home-account>.home-main-column,.home-account>.home-side-column{display:flex;flex-direction:column;gap:20px;order:100;min-width:0}.home-account>.home-main-column{grid-column:1}.home-account>.home-side-column{grid-column:2}.home-account>.home-main-column:empty,.home-account>.home-side-column:empty{display:none}.home-account .home-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Account entry: one compact work card and the account's existing shortcuts. */
.home-account .home-personal-heading{padding:22px 20px 18px;gap:18px;align-items:center}
.home-account .home-personal-heading>div{min-width:0}
.home-account .home-personal-heading h1{font-size:clamp(1.35rem,2.5vw,1.9rem);line-height:1.25;margin:5px 0 8px;letter-spacing:-.035em}
.home-account .home-personal-heading p{font-size:.88rem;line-height:1.6;margin:0;color:var(--home-muted)}
.home-account .home-personal-heading .home-eyebrow{font-size:.67rem;letter-spacing:.12em}
.home-account .home-personal-heading [data-home-customize]{flex-shrink:0;font-size:.8rem;padding:8px 12px;background:transparent;box-shadow:none}
.home-start-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:stretch;gap:16px;grid-column:1/-1;min-width:0}
.home-start-grid.home-start-single{grid-template-columns:minmax(0,1fr)}
.home-account .home-start-grid .home-surface{padding:20px;border-radius:14px}
.home-account .home-start-grid .home-continue{grid-column:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:16px;min-height:190px;border-color:rgba(242,200,92,.28)}
.home-continue-copy{display:block;min-width:0;width:100%}
.home-account .home-continue .home-continue-title{font-size:clamp(1.1rem,1.8vw,1.4rem);font-weight:650;line-height:1.4;margin:9px 0 10px;overflow-wrap:anywhere}
.home-continue-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.78rem;line-height:1.65;color:var(--home-muted)}
.home-continue-meta time{display:block;color:var(--home-muted);font-variant-numeric:tabular-nums}
.home-account .home-continue>.home-button{font-size:.85rem;min-height:44px;padding:10px 14px}
.home-start-grid [data-home-block=tools] .home-section-heading{margin-bottom:13px}
.home-start-grid [data-home-block=tools] .home-eyebrow{display:none}
.home-start-grid [data-home-block=tools] h2{font-size:1rem;margin:0;line-height:1.5}
.home-start-grid .home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.home-account .home-start-grid .home-shortcut{min-height:48px;padding:10px 12px;gap:10px;font-size:.82rem;line-height:1.45;border-radius:9px}
.home-start-grid .home-shortcut i{width:18px;flex-shrink:0;font-size:.95rem;text-align:center}
.home-start-grid .home-shortcut span{min-width:0;overflow-wrap:anywhere}
.home-start-grid .home-shortcut span:last-child:not(:first-of-type){display:none}
.home-pref-pinned{font-size:.75rem;color:var(--text-secondary,#b2b8c1);padding:0 10px}
@media(max-width:760px){.home-start-grid{grid-template-columns:minmax(0,1fr);gap:12px}.home-account .home-start-grid .home-surface{padding:18px}.home-account .home-start-grid .home-continue{min-height:0;gap:16px}.home-account .home-personal-heading{gap:12px}.home-account .home-personal-heading [data-home-customize]{align-self:flex-start}.home-account .home-continue>.home-button{align-self:stretch;width:100%}}
@media(max-width:480px){.home-account .home-personal-heading{align-items:flex-start;padding:20px 18px 18px}.home-account .home-personal-heading [data-home-customize]{font-size:.76rem}.home-account .home-start-grid .home-shortcut{font-size:.8rem;padding:10px;gap:8px}.home-continue-meta{flex-direction:column;gap:2px}}

/* Bound shortcut and advert density independently from the current project. */
.home-start-grid{align-items:start}
.home-start-grid [data-home-block=tools] .home-section-heading{align-items:center;gap:12px;flex-wrap:wrap}
.home-workspace .home-all-tools{appearance:none;border:0;background:transparent;padding:0;min-height:36px;font-family:inherit;font-weight:600;font-size:.78rem;line-height:1.5;cursor:pointer;text-align:left;white-space:normal}
.home-tools-dialog .home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-tools-dialog .home-shortcut{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px;border:1px solid var(--home-border);border-radius:9px;color:var(--text-primary,#eee);font-size:.9rem;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.home-tools-dialog .home-shortcut i{flex-shrink:0;width:20px;color:var(--home-accent)}
.home-workspace .advertisement-placement{padding:12px;box-shadow:0 0 22px rgba(var(--ad-glow-color,253,185,19),calc(.04 * var(--cb-ad-strength) * var(--cb-glow-strength)))}
.home-workspace .advertisement-placement .ad-placement-label{padding-bottom:6px;text-align:left}
.home-workspace .advertisement-placement .ad-carousel-container{padding:0;max-width:900px}
.home-workspace .advertisement-placement .ad-slides-viewport{height:clamp(110px,12vw,170px)}
.home-workspace .advertisement-placement .ad-carousel-container::before{filter:blur(16px);opacity:.12}
.home-workspace .advertisement-placement[data-ad-glow-enabled="0"] .ad-carousel-container::before{display:none}
.home-workspace .advertisement-placement .ad-slide img{object-fit:contain;padding:0;border:0;box-shadow:none}
@media(max-width:480px){.home-workspace .advertisement-placement .ad-slides-viewport{height:125px}.home-tools-dialog .home-shortcuts{grid-template-columns:minmax(0,1fr)}}
.home-workspace .advertisement-placement .ad-slide.ad-with-glow{--ad-glow-opacity:calc(.56 * var(--cb-ad-strength) * var(--cb-glow-strength))}
@media(max-width:720px){.home-workspace .advertisement-placement{padding:10px}.home-workspace .advertisement-placement .ad-carousel-container{padding:4px}}

.home-workspace .home-hero-actions{justify-content:flex-start}
.home-workspace .home-hero{box-shadow:0 1px 0 #ffffff08 inset,-18px -14px 70px rgba(253,185,19,calc(.06 * var(--cb-glow-strength))),0 -20px 90px rgba(0,155,105,calc(.04 * var(--cb-glow-strength))),22px -10px 70px rgba(237,53,68,calc(.05 * var(--cb-glow-strength)))}
.home-preview-cover{height:auto}.home-workspace .advertisement-placement{padding-top:30px}
@media(max-width:720px){.home-workspace .home-hero-actions{align-items:flex-start}.home-workspace .advertisement-placement{padding-top:28px}}
