/* Store-style navigation and discovery, adapted for a free technical dictionary. */
:root{--bg:#f7f8fa;--panel:#fff;--line:#e0e3e8;--text:#222831;--muted:#68707e;--accent:#2463eb}
html[data-theme="dark"]{--bg:#111722;--panel:#192231;--line:#303c4e;--text:#f0f3f9;--muted:#a8b4c7;--accent:#99bcff}
.store-header{display:grid;grid-template-columns:245px minmax(240px,740px) auto;justify-content:space-between;gap:30px;height:90px;padding:0 36px;background:var(--panel)!important;border-bottom:1px solid var(--line);box-shadow:none;position:sticky;top:0;z-index:40}
.store-header .brand{font-size:23px;gap:0}.store-header .brand-icon{margin-right:12px;background:#2463eb;color:#ffda66;border-radius:8px;width:33px;height:33px;line-height:33px}
.store-header .search-area{position:relative;margin:0;min-width:0}.store-header .search{min-height:50px;height:50px;width:100%;padding:0 17px;background:var(--bg)!important;border:1px solid var(--line);border-radius:7px;box-shadow:none}.store-header .search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #2463eb13}.store-header .search input{font-size:14px!important}.store-header .search-help{display:none}.store-header .search-options{top:58px;z-index:60}.store-header .search kbd{font-size:11px;padding:2px 5px}
.store-actions{display:flex;align-items:center;justify-content:flex-end;gap:17px}.store-header #theme-toggle{margin:0!important;padding:7px;font-size:11px;white-space:nowrap}.header-icon{position:relative;display:grid;place-items:center;width:43px;height:43px;flex:none;border:0;border-radius:7px;background:transparent;color:var(--text);cursor:pointer}.header-icon:hover{background:var(--bg)}.header-icon svg{display:block}.icon-badge{position:absolute;top:0;right:-2px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:#ffda66;color:#3a3019;font:10px/1 Consolas,monospace;border:2px solid var(--panel);margin:0!important}.cart-button{margin-left:3px}.cart-button.nav-active{background:#eaf0ff;color:#2463eb}
.store-navigation{height:47px;display:flex;align-items:center;padding:0 36px;gap:30px;background:var(--panel);border-bottom:1px solid var(--line);color:var(--muted);font-size:12px;align-self:auto}.store-navigation button{height:47px;font-size:12px;font-weight:600}.store-navigation>span{font-size:11px}.store-navigation #store-resources{margin-left:auto;color:var(--muted);font-weight:400}
#workspace-layout,#workspace-layout.composer-view{display:grid;max-width:1660px;grid-template-columns:218px minmax(0,1fr)}.sidebar{background:var(--bg)!important;border-right:1px solid var(--line);padding:31px 17px;min-height:calc(100vh - 137px)}.sidebar>.eyebrow{display:none}.sidebar h3{margin:0 10px 17px;font-size:15px;color:var(--text);display:block}.category{border-radius:4px;padding:9px 10px;font-size:12px}.category .cat-icon{display:none}.category .cat-count{font-size:10px;color:var(--muted)}.category.active{background:#eaf0ff!important;color:#2463eb!important}.resources-button{margin:23px 10px;font-size:11px}
main{padding:30px 30px 44px;min-width:0}.daily-recommendation{border:0;border-radius:7px;margin-bottom:30px;background:#14294d;box-shadow:none}.daily-link{grid-template-columns:minmax(0,1fr) 340px;gap:0;color:#fff;min-height:224px;background:linear-gradient(105deg,#14294d,#244d87)}.daily-copy{padding:25px 32px}.daily-eyebrow{margin-bottom:14px;color:#c4d7f3;font-size:10px}.daily-category{color:#b7cdf3}.daily-copy h2{font-size:31px;color:#fff}.daily-description{color:#d8e5f7;font-size:12px;max-width:600px}.daily-cta{display:inline-block;background:#ffda66;color:#273145;padding:9px 13px;border-radius:4px;font-size:11px;margin-top:2px}.daily-art{height:224px;background:#101f39}.daily-art>svg,.daily-art>img{object-fit:contain}
.section-top{display:block;margin-bottom:19px}.section-top>div:first-child{display:flex;align-items:center;justify-content:space-between}.section-top .eyebrow{display:none}#section-title{font-size:24px;scroll-margin-top:110px}h2>span{border:0;background:none!important;padding:0;font-size:12px!important;font-weight:400;margin-left:9px}
.filter-row{margin:0 0 7px;gap:12px}.chips{gap:6px}.chips button{border-radius:4px;font-size:11px;padding:6px 9px;box-shadow:none}.chips button.active{background:#eaf0ff!important;border-color:#b9cdef!important;color:#2463eb!important}.genre-help{font-size:10px;margin:9px 0 20px;line-height:1.7}.animation-status{display:none}
.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.card{border:1px solid var(--line)!important;border-radius:6px;background:var(--panel)!important;box-shadow:none!important}.card:hover{box-shadow:0 4px 14px #13294712!important;border-color:#b4bfce!important}.card .card-title-link::after{border-radius:6px}.card .preview{aspect-ratio:420/252}.card .card-body{padding:15px 14px 13px}.card-category{color:var(--muted)!important;font-family:inherit;font-size:10px;margin-bottom:6px}.card h3{font-size:15px;line-height:1.45;letter-spacing:-.4px;min-height:22px}.card .term-en{font-size:10px;line-height:1.5;margin-top:4px}.card-desc{font-size:11px;line-height:1.65;min-height:37px;margin:10px 0 13px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.card-actions{padding-top:10px}.card-actions:before{content:'프롬프트에 사용';font-size:10px}.card .add{font-size:10px;min-width:57px;height:28px;background:#2463eb!important;color:#fff!important;border-radius:4px}.card .add.selected{background:#eaf0ff!important;color:#245cca!important}.card .save{width:30px;height:30px;top:10px;right:10px}
#composer-panel{position:fixed;inset:0 0 0 auto;max-width:none;width:min(490px,100%);height:100dvh;max-height:100dvh;margin:0!important;padding:25px 27px 35px;overflow-y:auto;overscroll-behavior:contain;border:0!important;border-left:1px solid var(--line)!important;border-radius:0;background:var(--panel)!important;color:var(--text)}
#composer-panel[hidden]{display:none}#composer-panel::backdrop{background:#0c16264d;backdrop-filter:blur(2px)}html:has(#composer-panel[open]),body:has(#composer-panel[open]){overflow:hidden}#composer-panel .composer-heading h2{font-size:24px}#composer-panel .composer-back{display:block;margin-left:auto;margin-bottom:22px;font-size:12px}#composer-panel .muted{font-size:12px;line-height:1.8}#composer-panel textarea{font-size:12px;min-height:90px}#composer-panel .field-label{font-size:12px}.selected-count-label{font-size:11px}#composer-panel .selection{margin:10px 0 20px}#composer-panel .prompt-box{min-height:190px}.pagination{margin-top:26px}footer{margin-bottom:0}#toast{bottom:26px}
html[data-theme="dark"] .cart-button.nav-active,html[data-theme="dark"] .chips button.active{background:#243b61!important;color:#b4cfff!important;border-color:#45648c!important}html[data-theme="dark"] .card .add.selected{background:#243b61!important;color:#b4cfff!important}
@media(max-width:1250px){.store-header{grid-template-columns:225px minmax(240px,1fr) auto;gap:20px;padding:0 24px}.store-actions{gap:10px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.daily-link{grid-template-columns:1fr 280px}.daily-art{height:220px}}
@media(max-width:980px){.store-header{grid-template-columns:200px 1fr auto;gap:14px}.store-header .brand{font-size:20px}.store-header #theme-toggle{width:27px;overflow:hidden;padding:0;font-size:10px}#workspace-layout,#workspace-layout.composer-view{grid-template-columns:180px minmax(0,1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-link{grid-template-columns:1fr 200px}.daily-copy{padding:22px}.daily-copy h2{font-size:27px}.daily-art{height:224px}main{padding:24px}}
@media(max-width:720px){.store-header{grid-template-columns:1fr auto;gap:12px;padding:14px 18px;height:auto;min-height:116px}.store-header .brand{font-size:20px}.store-header .search-area{grid-column:1 / -1;grid-row:2}.store-header .search{height:43px;min-height:43px}.store-actions{grid-column:2;grid-row:1;gap:10px}.header-icon{width:32px;height:32px}.store-header #theme-toggle{width:19px;font-size:10px}.store-header .search-options{top:50px}.store-navigation{padding:0 18px;gap:14px;height:42px}.store-navigation button{height:42px;font-size:11px}.store-navigation>span{display:none}.store-navigation #store-resources{font-size:10px}#workspace-layout,#workspace-layout.composer-view{display:block}.sidebar{min-height:0;border:0;border-bottom:1px solid var(--line);padding:13px 18px}.sidebar h3{display:none}#categories{display:flex;overflow-x:auto;gap:5px}.category{font-size:11px;padding:7px 9px}.resources-button{display:none}main{padding:20px 18px 34px}.daily-recommendation{margin-bottom:25px}.daily-link{grid-template-columns:minmax(0,1fr) 110px;min-height:195px}.daily-copy{padding:18px}.daily-copy h2{font-size:22px}.daily-art{height:195px}.daily-description{font-size:11px}.daily-cta{font-size:10px;padding:7px 9px}.daily-eyebrow{font-size:9px;gap:6px;margin-bottom:9px}#section-title{font-size:23px}.cards{gap:16px 12px}.card .card-body{padding:12px}.card h3{font-size:14px}.card-desc{font-size:10px}.card-actions:before{display:none}.card .add{min-width:59px}.card-actions{justify-content:flex-end}.card .save{width:27px;height:27px;top:8px;right:8px}.card .save .bookmark-icon{width:16px;height:16px}#composer-panel{padding:22px 20px}#section-title{scroll-margin-top:150px}}
@media(max-width:430px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card .term-en{font-size:9px;overflow-wrap:anywhere}.card h3{font-size:13px}.card-desc{min-height:48px;-webkit-line-clamp:3}.card .card-body{padding:11px}.daily-description{max-width:220px}}

.store-header #theme-toggle{font-size:0!important;overflow:visible;width:29px;height:32px;display:grid;place-items:center}.store-header #theme-toggle:before{content:"☾";font-size:19px;line-height:1}html[data-theme="dark"] .store-header #theme-toggle:before{content:"☀"}
@media(max-width:720px){.sidebar .resources-button{display:none!important}.store-header #theme-toggle{width:24px}.sidebar{padding-bottom:9px}.store-actions{gap:8px}}
