.fg-app,body:has(.fg-app){color-scheme:light;--brand-primary:#a72d32;--brand-dark:#8d2329;--brand-soft:#f5eae7;--on-accent:#fff;--ink:#222723;--text:#363e36;--muted:#687266;--faint:#697467;--line:#e1e4dc;--line-strong:#cdd3c7;--canvas:#f6f5f1;--warm:var(--canvas);--paper:#fff;--surface-raised:#eeeee8;--surface-deep:#e9e9e0;--input:#fafbf7;--green:#3e6853;--green-soft:#ecf3eb;--amber:#825e29;--amber-soft:#f8f0dd;--danger:#a52d39;--danger-soft:#fcecef;--shadow:0 8px 30px #2227220b;background:var(--canvas);color:var(--text)}html:has(.fg-app){background:#f6f5f1}.fg-reference-shell .fg-content{max-width:1256px;margin:0 auto;padding:26px 28px 32px}.fg-reference-shell .fg-reference-header{background:#ffffffed;border-bottom:1px solid var(--line)}.fg-reference-shell .fg-reference-header-inner{width:min(1200px,calc(100% - 56px));min-height:76px}.fg-reference-shell .fg-reference-brand .brand-logo img{width:142px;height:44px}.fg-reference-shell .fg-reference-nav{gap:28px}.fg-reference-shell .fg-reference-nav button{min-height:44px;color:var(--muted);font-size:13px}.fg-reference-shell .fg-reference-actions{gap:9px}.fg-reference-shell .fg-reference-icon-button,.fg-reference-shell .fg-reference-mobile-menu{width:44px;height:44px}.fg-reference-shell .fg-reference-account-button{min-height:44px;border-radius:8px;padding:0 16px}.fg-reference-shell .fg-reference-drawer{background:var(--paper)}.fg-reference-shell .fg-reference-drawer nav button:hover{background:var(--brand-soft)}.fg-reference-shell .fg-reference-drawer header button,.fg-reference-shell .fg-reference-drawer-account,.fg-reference-shell .fg-reference-drawer-login{border-color:var(--line)}.fg-reference-shell .fg-reference-drawer-user small{color:var(--muted)}.fg-reference-shell .fg-view-nav{border:0;min-height:44px;margin:0 0 20px;background:transparent}.fg-reference-shell .fg-view-nav button{min-height:44px;color:var(--muted);font-size:13px;font-weight:500}.fg-reference-shell .fg-view-nav span{color:var(--ink);font-size:15px;font-weight:600}.fg-reference-shell .fg-primary,.fg-reference-shell .fg-secondary{border-radius:8px}.fg-reference-shell .fg-footer{max-width:1200px;margin:0 auto;border:0;color:var(--muted)}.fg-reference-shell .fg-work-card{border-color:var(--line);box-shadow:none;border-radius:12px}.fg-reference-shell .fg-result-detail,.fg-reference-shell .fg-result-main{border-radius:12px}.fg-reference-shell .fg-material-panel{background:var(--paper)}.fg-reference-shell .fg-file-drag,.fg-reference-shell .fg-file-order,.fg-reference-shell .fg-file-remove,.fg-reference-shell .fg-file-zoom{color:#fff}body:has(.fg-app) .fg-editor-frame{background:var(--paper);border-color:var(--line)}body:has(.fg-app) .fg-editor-actions,body:has(.fg-app) .fg-editor-head,body:has(.fg-app) .fg-editor-options,body:has(.fg-app) .fg-editor-tools{border-color:var(--line)}body:has(.fg-app) .fg-editor-head small,body:has(.fg-app) .fg-editor-loading,body:has(.fg-app) .fg-editor-size{color:var(--muted)}body:has(.fg-app) .fg-editor-close{border-color:var(--line)}body:has(.fg-app) .fg-editor-tools button{color:var(--text);background:var(--input);border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-tools button.active{color:#fff;background:var(--brand-primary);border-color:var(--brand-primary)}body:has(.fg-app) .fg-editor-options input{color:var(--ink);background:var(--input);border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-colors button{border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-crop-actions button{color:var(--text);background:var(--input);border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-crop-actions button.active{color:#fff;background:var(--brand-primary);border-color:var(--brand-primary)}body:has(.fg-app) .fg-editor-text input{background:var(--paper);border-color:var(--line-strong)}body:has(.fg-app) .auth-backdrop{background:#252b2866;backdrop-filter:blur(7px)}body:has(.fg-app) .auth-page{width:min(940px,100%);max-width:calc(100vw - 48px);padding:0;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #fff8;border-radius:20px;box-shadow:0 30px 100px #182a2633}.auth-visual{position:relative;min-height:630px;background:#dfd6c7 url(/images/cases/living-room.webp) 54%/cover}.auth-visual:before{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#1d211d85)}.auth-visual>div{position:absolute;bottom:36px;left:32px;right:24px;color:#fff}.auth-visual span{font-size:12px}.auth-visual strong{display:block;margin:8px 0;font-size:30px;font-weight:550;line-height:1.4}.auth-visual small{font-size:12px;color:#ffffffc9}.auth-form-area{padding:46px 42px 32px}body:has(.fg-app) .auth-login-header{text-align:center}body:has(.fg-app) .auth-brand-logo{width:180px;height:54px;margin:0 auto}body:has(.fg-app) .auth-brand-logo img{width:180px;max-height:54px}body:has(.fg-app) .auth-login-header h2{margin:22px 0 0;font-size:20px;font-weight:550;line-height:1.5}body:has(.fg-app) .auth-login-header>p{font-size:12px}body:has(.fg-app) .auth-tabs{margin-top:26px}body:has(.fg-app) .auth-tabs button{min-height:48px;font-weight:550}body:has(.fg-app) .auth-tabs button:after{left:0;right:0}body:has(.fg-app) .auth-field{font-weight:500}body:has(.fg-app) .auth-input-shell,body:has(.fg-app) .auth-primary{border-radius:9px}body:has(.fg-app) .auth-input-shell input{font-size:16px}body:has(.fg-app) .auth-panel{padding-top:24px}body:has(.fg-app) .auth-legal{font-size:11px;line-height:1.8}body:has(.fg-app) .auth-close{color:var(--muted)}@media(max-width:760px){.fg-reference-shell .fg-reference-header-inner{width:calc(100% - 32px);min-height:62px;gap:10px}.fg-reference-shell .fg-reference-brand .brand-logo img{width:120px;height:38px}.fg-reference-shell .fg-reference-account-button{width:44px;padding:0}.fg-reference-shell .fg-reference-actions{gap:1px}.fg-reference-shell .fg-content{padding:17px 18px 24px;min-height:calc(100dvh - 62px)}.fg-reference-shell .fg-view-nav{position:static;margin-bottom:16px}body:has(.fg-app) .auth-backdrop{padding:16px}body:has(.fg-app) .auth-page{max-width:calc(100vw - 32px);width:min(430px,100%);grid-template-columns:1fr;border-radius:16px;margin:auto}.auth-visual{display:none}.auth-form-area{padding:40px 24px 26px}body:has(.fg-app) .auth-login-header h2{margin-top:18px;font-size:17px}body:has(.fg-app) .auth-tabs{margin-top:20px}body:has(.fg-app) .auth-panel{padding-top:20px}}@media(prefers-reduced-motion:reduce){.fg-app *,body:has(.fg-app) .auth-page *{scroll-behavior:auto!important}}.fg-contest-admin,.fg-public-gallery{width:min(1260px,calc(100% - 48px));margin:0 auto;padding:40px 0 70px;color:var(--ink)}.fg-app.fg-shared-gallery-shell{display:block}.fg-contest-admin{--accent:var(--brand-primary)}.fg-contest-admin button:disabled,.fg-shared-work-dialog button:disabled{opacity:.55;cursor:not-allowed}.fg-contest-admin>header,.fg-public-gallery>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.fg-contest-admin h1,.fg-public-gallery h1{margin:8px 0 12px;font-size:clamp(26px,3.5vw,40px)}.fg-contest-admin header p:last-child,.fg-public-gallery header p:last-child{color:var(--muted);font-size:14px;line-height:1.7}.fg-home-gallery-link{position:relative;z-index:1;margin-bottom:20px}.fg-rail .fg-rail-gallery{display:flex;align-items:center;flex-direction:column;gap:5px;padding:12px 0;font-size:10px;color:var(--muted);text-decoration:none}.fg-rail-gallery svg{width:20px}.fg-rail-gallery:hover{color:var(--ink)}.fg-shared-work-dialog select{min-height:48px;width:100%;padding:0 10px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);background:var(--paper);font:inherit}.fg-shared-work-dialog .fg-primary,.fg-shared-work-dialog .fg-secondary,.fg-shared-work-dialog label input:not([type=checkbox]),.fg-shared-work-section .fg-secondary,.fg-work-share{min-height:48px}.fg-shared-work-card details{margin-top:12px;font-size:12px}.fg-shared-work-card summary{min-height:48px;display:flex;align-items:center;cursor:pointer;color:var(--accent)}.fg-shared-work-card details p{max-height:none;margin-bottom:12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.fg-contest-columns{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:24px}.fg-contest-columns>section{min-width:0;padding:24px;border:1px solid var(--line-strong);border-radius:12px;background:var(--paper)}.fg-contest-columns h2{margin:0 0 20px;font-size:20px}.fg-contest-columns form{display:grid;gap:16px}.fg-contest-columns label{display:grid;gap:8px;font-size:13px}.fg-contest-columns input:not([type=checkbox]),.fg-contest-columns textarea{min-width:0;width:100%;min-height:48px;padding:12px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);background:var(--canvas);font:inherit}.fg-contest-columns textarea{resize:vertical;line-height:1.65}.fg-contest-columns input:disabled{opacity:.65}.fg-contest-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.fg-contest-actions button{min-height:48px}.fg-contest-actions>span{color:var(--muted);font-size:13px}.fg-contest-project-list{display:grid;gap:8px;margin-top:24px}.fg-contest-project-list button{min-height:62px;padding:12px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink);background:var(--canvas);cursor:pointer;text-align:left}.fg-contest-project-list span{display:block;margin-top:6px;color:var(--muted);font-size:12px}.fg-contest-project-list>p{color:var(--muted);font-size:13px;line-height:1.7}.fg-contest-batch-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.fg-contest-batch-heading h2{margin:0}.fg-contest-batch-heading input{width:auto!important;max-width:180px}.fg-contest-error,.fg-contest-notice{padding:14px 16px;border:1px solid var(--line-strong);border-radius:6px;background:var(--paper);font-size:13px;line-height:1.7}.fg-contest-error{color:var(--danger)}.fg-contest-entry-list{display:grid;gap:12px;margin-top:24px}.fg-contest-entry-list article{display:flex;align-items:flex-start;gap:14px;padding:12px 0;border-bottom:1px solid var(--line-strong)}.fg-contest-entry-list img{width:110px;height:90px;object-fit:cover;border-radius:6px}.fg-contest-entry-list strong{font-size:13px}.fg-contest-entry-list span{display:block;margin-top:6px;color:var(--muted);font-size:12px}.fg-contest-entry-list p{margin-bottom:0;color:var(--muted);font-size:12px;line-height:1.7}.fg-contest-columns :focus-visible,.fg-shared-work-dialog :focus-visible,.fg-shared-work-section :focus-visible,.fg-work-card :focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (max-width:960px){.fg-shared-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.fg-contest-admin,.fg-public-gallery{width:calc(100% - 28px);padding-top:24px}.fg-contest-admin>header,.fg-public-gallery>header{flex-direction:column;gap:12px}.fg-contest-columns{grid-template-columns:1fr}.fg-contest-columns>section{padding:18px}.fg-contest-batch-heading{flex-wrap:wrap}.fg-shared-work-section .fg-page-title{flex-wrap:wrap;gap:12px}.fg-shared-work-card img{height:160px}.fg-contest-entry-list img{width:80px;height:80px}.fg-home-gallery-link{margin-left:14px}}