.ex-page,.ex-detail{--ex-ink:#392f2b;--ex-muted:#81736a;--ex-red:#a55340;--ex-line:#e8ded3;color:var(--ex-ink);max-width:1160px;margin:auto;min-width:0}.ex-page :is(button,a,input,textarea),.ex-detail :is(button,a),#ex-editor :is(button,input,textarea),.ex-preview button{transition:transform .22s,background .22s,border-color .22s,box-shadow .22s}.ex-page button:active,.ex-detail button:active,#ex-editor button:active,.ex-preview button:active{transform:scale(.97)}.ex-page button:disabled{opacity:.55;cursor:wait}.ex-hero{padding:38px 44px;background:linear-gradient(120deg,#f9f4eb,#efe2d3);border:1px solid #e6d6c6;border-radius:26px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;gap:20px}.ex-eyebrow,.ex-entry small{font-size:11px;letter-spacing:.14em;color:#986f56;font-weight:650}.ex-hero h1{font-size:clamp(28px,3.8vw,44px);line-height:1.3;letter-spacing:-.035em;margin:16px 0}.ex-hero h1 em{font-style:normal;color:#a55340}.ex-hero p{font-size:14px;color:#827365;line-height:1.9;margin:0 0 24px}.ex-art{width:240px;height:auto;max-width:100%;flex-shrink:0;stroke:#a76b50;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.ex-orbit{stroke:#d3b79a;stroke-dasharray:3 10}.ex-sheet{animation:ex-float 7s ease-in-out infinite;transform-origin:50% 50%}.ex-sheet rect{fill:#fbf7ed;stroke:#b58c69}.ex-sheet rect:first-child{fill:#dbc2a3}.ex-sheet path:first-of-type{fill:#ebdcc6}.ex-sheet circle{fill:#bc7651;stroke:none}.ex-roof{stroke:#9b593f;stroke-width:2}.ex-draw{fill:#b87454;stroke:#935d42;animation:ex-float 7s ease-in-out infinite reverse}.ex-glint{stroke:#b18b62;animation:ex-glow 4s ease-in-out infinite}.ex-scopes{display:flex;gap:7px;margin:27px 0 22px;border-bottom:1px solid var(--ex-line);padding:0 0 12px;overflow:auto;scrollbar-width:none}.ex-scopes a{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:11px 16px;border-radius:12px;font-weight:600;font-size:14px;color:var(--ex-muted)}.ex-scopes .active{background:#a55340;color:#fff9f2;box-shadow:0 5px 15px #a5534020}.ex-scopes svg,.ex-filters svg,.ex-list-head svg,.ex-entry svg,.ex-actions svg,.ex-author-more svg,.ex-credit svg,.ex-note svg,.ex-back svg,.ex-editor-categories svg,.ex-origin-options svg{width:18px;height:18px;flex-shrink:0}.ex-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.ex-filters{display:flex;gap:7px;flex-wrap:wrap}.ex-filters button,.ex-editor-categories button,.ex-origin-options button{display:flex;align-items:center;gap:7px;border:1px solid #e7dbce;border-radius:11px;background:#fffaf3;padding:10px 13px;color:#7b6b5e;font-size:13px;cursor:pointer}.ex-filters [aria-pressed=true],.ex-editor-categories [aria-pressed=true],.ex-origin-options [aria-pressed=true]{background:#f2dfd2;border-color:#c89778;color:#8b4936}.ex-toolbar form{display:flex;align-items:center;gap:7px;border:1px solid var(--ex-line);border-radius:12px;padding:7px 10px;background:#fffdf8;max-width:230px;min-width:180px}.ex-toolbar form>svg{width:17px;color:#927c6a}.ex-toolbar input{width:100%;min-width:0;border:0;background:none;padding:6px;font-size:13px}.ex-toolbar form button,.ex-list-head button,.ex-share{border:0;background:none;color:#9b654c;cursor:pointer;display:flex;align-items:center;gap:5px}.ex-list-head{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:var(--ex-muted);margin:22px 0 16px}.ex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ex-card{background:#fffcf7;border:1px solid var(--ex-line);border-radius:20px;overflow:hidden;min-width:0;box-shadow:0 7px 22px #573c2206;transition:transform .25s,box-shadow .25s}.ex-card>a{display:block;color:inherit}.ex-cover{position:relative;aspect-ratio:1.3;display:grid;place-items:center;background:linear-gradient(135deg,#eee0cb,#f7f0e5);overflow:hidden}.ex-cover>.ex-art{width:68%;height:90%;opacity:.9}.ex-cover>img{width:100%;height:100%;object-fit:cover;transition:transform .55s}.ex-badge,.ex-count{position:absolute;display:flex;align-items:center;gap:5px;top:12px;left:12px;background:#fffcf4ed;color:#7d5541;border:1px solid #ffffff90;padding:6px 9px;border-radius:9px;font-size:11px;backdrop-filter:blur(12px)}.ex-badge svg,.ex-count svg{width:13px;height:13px}.ex-count{left:auto;right:12px}.ex-card-copy{padding:20px}.ex-card-copy>small{color:#a18a77;font-size:10px;letter-spacing:.06em}.ex-card h2{font-size:18px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ex-card p{font-size:13px;line-height:1.75;color:var(--ex-muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.ex-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:19px;padding-top:15px;border-top:1px solid #eee5da;font-size:12px;color:#9b7861;gap:10px}.ex-card footer span{display:flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere}.ex-card footer svg{width:15px;flex-shrink:0}.ex-empty{padding:42px 20px 46px;text-align:center;background:#faf5ec;border:1px dashed #decdbb;border-radius:22px}.ex-empty .ex-art{width:150px;height:115px}.ex-empty h2{font-size:20px;margin:12px 0}.ex-empty p{color:var(--ex-muted);line-height:1.8;font-size:13px;margin:0 0 20px}.ex-empty .button{display:inline-flex}.ex-more{margin:25px auto;display:flex}.ex-note{display:flex;justify-content:center;gap:7px;color:#9a8573;font-size:11px;margin:24px 0;line-height:1.6}.ex-entry{display:flex;align-items:center;gap:18px;background:#f5eadd;border:1px solid #e5d2bd;border-radius:20px;padding:24px;margin:20px 0;color:#674634}.ex-entry-icon{width:50px;height:50px;border:1px solid #dfc3a8;background:#fff9ef;border-radius:16px;display:grid;place-items:center;flex-shrink:0}.ex-entry-icon svg{width:24px;height:24px}.ex-entry div{flex:1}.ex-entry strong{display:block;font-size:20px;margin:6px 0}.ex-entry p{color:#927964;font-size:12px;margin:0;line-height:1.7}.ex-back{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0 24px;color:#987b65;font-size:13px}.ex-back a{display:flex;align-items:center;gap:7px}.ex-detail{max-width:900px}.ex-story{border:1px solid var(--ex-line);border-radius:26px;background:#fffdf8;overflow:hidden}.ex-story-heading{padding:35px 40px 28px}.ex-story h1{font-size:clamp(24px,3.5vw,36px);line-height:1.4;letter-spacing:-.025em;overflow-wrap:anywhere;margin:13px 0 24px}.ex-author{display:flex;align-items:center;gap:12px;width:fit-content;color:#735d4b}.ex-author>span{width:42px;height:42px;border-radius:14px;background:#ede0d0;display:grid;place-items:center}.ex-author svg{width:19px}.ex-author strong{font-size:13px}.ex-author small{display:block;color:#a39282;font-size:11px;margin-top:4px}.ex-gallery{padding:0 22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ex-gallery button{position:relative;padding:0;border:0;background:#f1e7d8;border-radius:14px;overflow:hidden;cursor:zoom-in;min-width:0}.ex-gallery button:first-child{grid-column:1/-1}.ex-gallery img{width:100%;height:240px;object-fit:cover;display:block;transition:transform .5s}.ex-gallery button:first-child img{height:auto;max-height:550px;object-fit:contain}.ex-gallery button span{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:5px;color:white;background:#3c2c2280;padding:6px 9px;border-radius:8px;font-size:11px}.ex-gallery span svg{width:13px}.ex-text-art{display:flex;align-items:center;justify-content:center;background:#f2e6d5;gap:20px;color:#9b775a;font-size:14px}.ex-text-art .ex-art{width:180px;height:150px}.ex-story-body{padding:32px 40px}.ex-story-body h2{font-size:14px;color:#9b7156;margin:0 0 16px}.ex-story-body>p,.ex-preview>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;font-size:15px;margin:0 0 32px}.ex-credit{display:flex;align-items:flex-start;gap:12px;background:#f7efe4;border:1px solid #eadccc;border-radius:14px;padding:18px;color:#8d7058}.ex-credit strong{font-size:12px}.ex-credit p{font-size:12px;line-height:1.8;margin:6px 0 0;overflow-wrap:anywhere}.ex-credit a{display:flex;gap:5px;align-items:center;color:#a55340;font-size:12px;margin-top:9px}.ex-author-more{display:flex;justify-content:space-between;font-size:13px;color:#9b654c;margin-top:26px}.ex-actions{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:22px;padding:16px 12px;border:1px solid #e7d9c9;background:#fcf6ebf2;backdrop-filter:blur(12px);border-radius:18px;position:sticky;bottom:18px;z-index:5;flex-wrap:wrap}.ex-share{padding:12px}.ex-feedback{color:#a44838;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.ex-editor-intro{display:flex;justify-content:space-between;gap:12px;color:#95745d;font-size:12px;margin-bottom:17px}.ex-editor-intro span{display:flex;gap:6px;align-items:center}.ex-editor-intro svg{width:17px}.ex-photo-tray{display:flex;gap:10px;overflow:auto;padding:4px 2px 14px}.ex-tile{position:relative;flex:0 0 110px;height:125px;border-radius:12px;overflow:hidden}.ex-tile img{width:100%;height:100%;object-fit:cover}.ex-tile>span{position:absolute;bottom:6px;left:6px;background:#fff8eae8;padding:3px 7px;border-radius:5px;font-size:10px;color:#886149}.ex-tile button{position:absolute;right:5px;top:5px;border:0;border-radius:50%;width:27px;height:27px;background:#fff8ed;display:grid;place-items:center;cursor:pointer}.ex-tile svg{width:14px}.ex-upload{border:1px dashed #cba889;background:#f7edde;flex:1;min-width:150px;min-height:125px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#a07354;cursor:pointer}.ex-upload svg{width:25px}.ex-upload span{font-size:13px}.ex-upload small{font-size:10px;color:#a18973}#ex-editor .ex-title-input{border:0;border-bottom:1px solid #eadfce;border-radius:0;background:transparent;padding:17px 0;font-size:23px;font-weight:650;width:100%;color:#50392d}#ex-editor .ex-body-input{padding:20px 0;background:transparent;border:0;border-radius:0;resize:vertical;min-height:155px;font-size:14px;line-height:1.9;width:100%;color:#6c5443}.ex-editor-categories{display:flex;gap:7px;flex-wrap:wrap;padding:6px 0 20px}.ex-origin{background:#f9f2e8;padding:15px;border-radius:13px}.ex-origin-options{display:flex;gap:8px}.ex-origin input{display:block;width:100%;margin-top:12px;background:#fffcf5;border:1px solid #e5d4bf;border-radius:8px;padding:10px;font-size:12px}.ex-origin p{font-size:11px;color:#a08b75;margin:12px 0 0;line-height:1.7}.ex-editor-footer{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-top:18px;flex-wrap:wrap}.ex-editor-footer>small{font-size:10px;line-height:1.6;color:#9c8874;margin-right:auto}.ex-editor-footer .button{font-size:12px;padding:11px 15px}.ex-preview-cover{display:block;width:100%;max-height:280px;object-fit:contain;border-radius:13px;background:#f0e3d0;margin:17px 0}.ex-preview>.ex-art{display:block;margin:auto;height:150px}.ex-preview h2{font-size:24px;overflow-wrap:anywhere;line-height:1.4}.ex-preview>p{font-size:14px}.ex-preview .ex-credit span{font-size:12px;overflow-wrap:anywhere}.ex-confirm p{font-size:14px;color:#8c735f;line-height:1.9}.ex-confirm button+button{margin-left:8px}.ex-lightbox>img{width:100%;max-height:65vh;object-fit:contain;background:#f1e9db;border-radius:12px}.ex-lightbox>div{display:flex;gap:8px;overflow:auto;margin-top:12px;padding:3px}.ex-lightbox button{padding:2px;border:2px solid transparent;border-radius:9px;background:none;flex-shrink:0}.ex-lightbox button[aria-pressed=true]{border-color:#ad6144}.ex-lightbox button img{display:block;width:58px;height:58px;object-fit:cover;border-radius:5px}
@media(hover:hover){.ex-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #64432914}.ex-card:hover .ex-cover>img{transform:scale(1.04)}.ex-scopes a:hover,.ex-filters button:hover{transform:translateY(-2px)}.ex-entry:hover{background:#efdfcc}.ex-gallery button:hover img{transform:scale(1.015)}}
@keyframes ex-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(1deg)}}@keyframes ex-glow{0%,100%{opacity:.4}50%{opacity:1}}
@media(max-width:1000px){.ex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-toolbar{flex-wrap:wrap}.ex-hero{padding:28px}.ex-hero>.ex-art{width:190px}}
@media(max-width:600px){.ex-hero{padding:24px 22px;border-radius:21px;position:relative;min-height:270px}.ex-hero>div{position:relative;z-index:1;max-width:100%}.ex-hero h1{font-size:29px;max-width:260px}.ex-hero p{font-size:12px;max-width:250px;margin-bottom:20px}.ex-hero>.ex-art{position:absolute;width:130px;bottom:8px;right:-12px;opacity:.48;pointer-events:none}.ex-eyebrow{font-size:9px;letter-spacing:.12em}.ex-scopes{margin:20px 0 18px;gap:3px}.ex-scopes a{font-size:12px;padding:10px 11px;gap:5px}.ex-scopes svg{width:15px}.ex-toolbar{gap:13px;display:block}.ex-filters{flex-wrap:nowrap;overflow:auto;padding-bottom:7px;scrollbar-width:none}.ex-filters button{flex-shrink:0;padding:9px 10px;font-size:11px;gap:5px}.ex-filters svg{width:14px}.ex-toolbar form{max-width:none;min-width:0;margin-top:9px}.ex-grid{gap:12px}.ex-card{border-radius:15px}.ex-cover{aspect-ratio:1}.ex-card-copy{padding:13px 11px}.ex-card h2{font-size:14px;margin:7px 0}.ex-card p{font-size:11px;line-height:1.65}.ex-card-copy>small{font-size:9px}.ex-card footer{font-size:10px;margin-top:12px;padding-top:11px;gap:3px}.ex-card footer svg{width:12px}.ex-badge{top:8px;left:7px;font-size:9px;padding:4px 6px;gap:3px}.ex-count{top:auto;bottom:7px;right:7px;font-size:9px;padding:4px 6px}.ex-badge svg,.ex-count svg{width:11px;height:11px}.ex-empty{padding:30px 15px}.ex-empty h2{font-size:18px}.ex-story-heading{padding:25px 21px}.ex-story{border-radius:20px}.ex-gallery{padding:0 10px;gap:7px}.ex-gallery img{height:155px}.ex-story-body{padding:26px 21px}.ex-story-body>p{font-size:14px;line-height:1.95}.ex-credit{padding:14px}.ex-actions{bottom:calc(76px + env(safe-area-inset-bottom,0px));padding:10px;gap:6px;border-radius:15px}.ex-actions .button{padding:10px 12px;font-size:12px}.ex-actions svg{width:16px}.ex-share{padding:10px 6px}.ex-text-art{gap:0;font-size:11px}.ex-text-art .ex-art{width:140px}.ex-entry{padding:18px 16px;gap:12px}.ex-entry strong{font-size:17px}.ex-entry-icon{width:40px;height:40px;border-radius:12px}.ex-entry p{font-size:11px}.ex-editor-intro{flex-wrap:wrap;gap:5px}.ex-editor-intro small{font-size:10px}#ex-editor .ex-title-input{font-size:20px}.ex-editor-footer .button{padding:10px 12px;font-size:11px}.ex-editor-categories button{font-size:11px;padding:9px}.ex-back{font-size:11px}.ex-note{font-size:10px;justify-content:flex-start}.ex-list-head{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ex-art *{animation:none!important}.ex-page *,.ex-detail *,#ex-editor *{transition:none!important}}
.ex-editor-footer .button:not(.outline),.ex-confirm .button:not(.outline){background:#a55340;border-color:#a55340;color:#fff9ef;box-shadow:0 5px 14px #8b493617}.ex-editor-footer .button:not(.outline):hover,.ex-confirm .button:not(.outline):hover{background:#914530;border-color:#914530}

#dialog .ex-compose-footer .button:not(.outline),#dialog .ex-editor-footer .button:not(.outline),#dialog #ex-action .button:not(.outline){background:#a55340!important;border-color:#a55340!important;color:#fff9ef!important}
