/* International comic board: ink, paper, olive and lime. */
.ym-board-enhanced{--board-ink:#25291e;--board-muted:#737b65;--board-line:#e1e5d9;--board-soft:#f4f8da;--board-accent:#c7dc35;padding-bottom:4px}
.ym-board-enhanced .ym-board-toolbar{padding:8px 0 14px;gap:12px;align-items:center;flex-wrap:wrap}
.ym-board-enhanced .ym-project-heading{flex:1 1 180px;min-width:0;max-width:none}
.ym-board-enhanced .ym-project-heading h1{font-size:20px;line-height:1.35;max-width:460px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.ym-board-enhanced .ym-project-heading p{font-size:11px;line-height:1.6;margin:5px 0 0;color:#737b65}.ym-project-heading p>span{margin:0 5px}
.ym-board-enhanced .ym-board-actions{gap:5px;flex-wrap:wrap;overflow:visible;width:auto}
.ym-board-enhanced .ym-board-actions .ym-btn{min-height:34px;padding:7px 10px;border-radius:9px;font-size:11px!important;gap:6px;white-space:nowrap}
.ym-board-enhanced .ym-board-actions svg{width:14px;height:14px}
.ym-board-enhanced .ym-board-content{grid-template-columns:106px minmax(0,1fr);gap:16px}
.ym-board-enhanced .ym-page-list{position:relative;gap:10px;scrollbar-width:thin;scrollbar-color:#d5dccc transparent}
.ym-board-enhanced .ym-thumb{flex:none;border-radius:10px;padding:5px;border:1px solid #e1e5d9;background:white}
.ym-board-enhanced .ym-thumb img{display:block;width:100%;height:116px;object-fit:contain;background:#f7f8f4;border-radius:5px}
.ym-board-enhanced .ym-thumb span{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:6px 3px 1px;font-size:11px}
.ym-board-enhanced .ym-thumb b{font-size:11px;font-weight:600}.ym-board-enhanced .ym-thumb small{font-size:8px;color:#647023}
.ym-board-enhanced .ym-thumb.active{border-color:#b7ca32;box-shadow:0 0 0 2px #e9f1bb;background:#fafce9}
.ym-board-enhanced .ym-reader-area{border-radius:16px;box-shadow:none}
.ym-board-enhanced .ym-page-surface{padding:0;background:#fff;outline-offset:-3px}
.ym-board-enhanced .ym-page-surface>img{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px)}
.ym-turn-zone{position:absolute;top:0;bottom:0;width:23%;max-width:160px;border:0!important;background:transparent;color:#6f775f;display:flex;align-items:center;z-index:2;padding:15px}.ym-turn-zone.prev{left:0;justify-content:flex-start}.ym-turn-zone.next{right:0;justify-content:flex-end}.ym-turn-zone svg{opacity:0;width:26px;height:26px;border-radius:50%;background:#f5f8e7;box-shadow:0 0 0 6px #f5f8e7}.ym-turn-zone:disabled{visibility:hidden}.ym-turn-zone:focus-visible svg{opacity:1}
@media(hover:hover) and (pointer:fine){.ym-turn-zone:hover{background:transparent!important}.ym-turn-zone:hover svg{opacity:1}}
.ym-page-surface[data-version]:not([data-version=""])::after{content:attr(data-version);position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:#f4f8da;color:#55611b;border:1px solid #d5dfaa;padding:6px 12px;border-radius:6px;font-size:11px;pointer-events:none;white-space:nowrap}
.ym-image-state{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px;background:#f7f9ec;border:1px solid #e1e7cc;border-radius:10px;font-size:12px;display:grid;gap:8px;text-align:center;z-index:3}
.ym-board-enhanced [hidden],.ym-dialog [hidden]{display:none!important}
.ym-board-enhanced .ym-page-bottom{border-top:1px solid #eff1e9;min-height:42px;padding:6px 12px;gap:8px}
.ym-board-enhanced .ym-page-bottom>span{font-size:10px;max-width:none;flex:1;color:#818873;line-height:1.5}
.ym-board-enhanced .ym-page-bottom>div{display:flex;align-items:center;gap:5px}
.ym-page-jump{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;white-space:nowrap;color:#717a60}
.ym-page-jump input{width:36px;min-width:0;height:27px;padding:3px;border:1px solid #e3e7d8;background:#fafbf6;border-radius:5px;text-align:center;color:#353d27;font:inherit;appearance:textfield;-moz-appearance:textfield}.ym-page-jump input::-webkit-inner-spin-button{appearance:none}
.ym-version-link{border:0;background:transparent;font-size:10px!important;padding:6px;color:#626e32;text-decoration:underline;text-underline-offset:3px}
.ym-operation-status{margin:0 0 10px;background:#f4f8da;border:1px solid #dce6ab;color:#55611b;border-radius:8px;font-size:12px;line-height:1.6;padding:10px 14px}
.ym-version-menu{position:fixed;z-index:100;padding:6px;border:1px solid #dfe5d0;background:white;border-radius:10px;box-shadow:0 10px 30px #25331620;min-width:210px}.ym-version-menu button{display:block;width:100%;padding:10px;text-align:left;border:0;border-radius:6px;background:transparent;font:12px Arial,sans-serif;color:#354124;cursor:pointer}.ym-version-menu button:hover{background:#f4f8da}
.ym-dialog .ym-modal-head{padding:18px 22px 14px}.ym-dialog .ym-modal-head h2{font-size:19px;line-height:1.35}.ym-dialog .ym-modal-body{padding:20px 22px;font-size:12px;line-height:1.65}.ym-dialog .ym-modal-body p{font-size:12px;line-height:1.65}.ym-dialog .ym-modal-body h3{font-size:14px;margin:0 0 10px}.ym-dialog .ym-label{font-size:12px;margin:16px 0 8px}.ym-dialog .ym-label small{font-size:10px;font-weight:400;color:#7b836f}.ym-dialog .ym-btn{font-size:12px!important;min-height:34px;border-radius:8px}.ym-dialog .ym-modal-body .ym-muted{font-size:11px;color:#7b836f}.ym-dialog .ym-modal-body textarea{font-size:12px;line-height:1.7;min-height:100px}.ym-dialog .ym-modal-body input[type=file]{display:none}
.ym-dialog button,.ym-board-enhanced button{transition:background-color 150ms,border-color 150ms,transform 120ms}.ym-dialog button:active:not(:disabled),.ym-board-enhanced .ym-btn:active:not(:disabled){transform:scale(.98)}
.ym-dialog button:focus-visible,.ym-board-enhanced button:focus-visible,.ym-board-enhanced [tabindex]:focus-visible,.ym-dialog textarea:focus-visible,.ym-page-jump input:focus-visible{outline:2px solid #869923;outline-offset:3px}
.ym-dialog .ym-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #e9eddf}.ym-modal-footer .ym-btn{flex-shrink:0}
.ym-dialog[data-kind=details],.ym-dialog[data-kind=versions]{width:min(850px,94vw)}
.ym-detail-stats{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.ym-detail-stats small,.ym-detail-stats strong{display:block}.ym-detail-stats small{font-size:11px;color:#7e866e}.ym-detail-stats strong{font-size:14px;font-weight:600;margin-top:4px}
.ym-progress-label{display:flex;justify-content:space-between;gap:12px;margin:20px 0 8px;font-size:11px}.ym-progress-label strong{font-weight:600}.ym-progress-label span{color:#737e60}.ym-source-progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:6px;background:#e8eddc;margin:0 0 22px}.ym-source-progress::-webkit-progress-bar{border-radius:6px;background:#e8eddc}.ym-source-progress::-webkit-progress-value{background:#b7ca32;border-radius:6px}.ym-source-progress::-moz-progress-bar{background:#b7ca32;border-radius:6px}
.ym-source-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ym-source-columns section{min-width:0}.ym-source-columns h3{display:flex;justify-content:space-between;gap:6px}.ym-source-columns h3 small{color:#839064;font-size:11px;font-weight:400}.ym-dialog .ym-source-block{font-size:12px;line-height:1.85;overflow-wrap:anywhere;max-height:30vh;white-space:pre-wrap}
.ym-versions{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.ym-versions button{min-width:0;padding:7px;border:1px solid #e0e6d2;background:white;border-radius:10px}.ym-versions button[aria-pressed=true]{background:#f4f8da;border-color:#b5c939}.ym-versions img{display:block;width:100%;height:260px;object-fit:contain}.ym-versions span{display:block;margin:7px 0;font-size:12px}
.ym-dialog[data-kind=reader]{width:min(1200px,96vw);height:94dvh;max-height:94dvh}.ym-dialog[data-kind=reader][open]{display:flex;flex-direction:column}.ym-dialog[data-kind=reader] .ym-modal-body{flex:1;min-height:0;padding:0 18px 12px}.ym-dialog[data-kind=reader] #ym-action-error:empty{display:none}.ym-full-reader{height:100%;display:flex;flex-direction:column}.ym-full-stage{flex:1;min-height:0;overflow:auto;text-align:center;background:#f5f6f1;border:1px solid #e7ebdc;border-radius:10px;padding:8px}.ym-full-stage img{display:block;width:auto;object-fit:contain;max-width:100%;height:100%;margin:auto}.ym-full-tools{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 0 0;font-size:12px}.ym-tool-divider{height:20px;width:1px;background:#e1e6d6;flex:none;margin:0 4px}
.ym-rating-options{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:20px 0}.ym-rating-options button{padding:12px 4px;border:1px solid #e0e6d4;border-radius:10px;background:#fafbf7;color:#687453}.ym-rating-options strong{display:block;font-size:25px;font-weight:500}.ym-rating-options span{font-size:10px}.ym-rating-options button[aria-pressed=true],.ym-feedback-tags button[aria-pressed=true],.ym-source-modes button[aria-pressed=true]{border-color:#b7ca32;background:#f4f8da;color:#55611b;box-shadow:inset 0 0 0 1px #d4e258}
.ym-feedback-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.ym-feedback-tags button,.ym-feedback-tags>span{padding:7px 10px;border:1px solid #e1e7d3;border-radius:7px;background:#fafbf6;color:#687453;font-size:11px}.ym-saved-rating{font-size:32px!important;color:#899c26;letter-spacing:4px}
.ym-source-modes{display:flex;gap:8px;margin:20px 0}.ym-file-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.ym-file-row label.ym-btn{margin:0;display:inline-flex;cursor:pointer;gap:7px}.ym-dialog .ym-next-tiers{gap:8px;margin:12px 0}.ym-dialog .ym-next-tiers .ym-btn{font-size:12px!important}.ym-dialog #ym-next-plan{margin-top:24px}.ym-dialog .ym-export-check{display:flex;align-items:center;gap:10px;margin:22px 0}.ym-dialog .ym-export-check input{width:16px;height:16px;padding:0}.ym-reroll-preview{display:grid;grid-template-columns:110px 1fr;gap:20px;align-items:center}.ym-reroll-preview img{width:110px;max-height:180px;object-fit:contain;border-radius:6px;border:1px solid #e3e8d9}.ym-reroll-preview strong{color:#667927}
.ym-dialog[data-kind=editor]{width:min(1200px,96vw);max-height:95dvh}.ym-editor{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:22px}.ym-editor-media{min-width:0;position:relative}.ym-edit-viewport{height:60vh;min-height:280px;position:relative;overflow:hidden;background:#f2f4eb;border:1px solid #e2e7d5;border-radius:12px;touch-action:none}.ym-edit-viewport #ym-edit-stage{position:absolute;left:0;top:0;transform-origin:0 0;line-height:0;max-width:none}.ym-edit-viewport img,.ym-edit-viewport canvas{display:block;width:100%;height:100%;max-width:none}.ym-edit-viewport canvas{position:absolute;inset:0;opacity:.5;touch-action:none;cursor:crosshair}.ym-edit-loading{position:absolute;inset:45% 20%;text-align:center;font-size:12px}.ym-editor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:9px;padding:5px;border:1px solid #e3e8d5;border-radius:9px;background:#fafbf5}.ym-editor-tools .ym-icon{width:30px;height:30px;border:1px solid transparent}.ym-editor-tools svg{width:16px;height:16px}.ym-editor-tools [aria-pressed=true]{background:#eef5c2;border-color:#b7ca32;color:#55611b}.ym-editor-tools label{display:flex;align-items:center;gap:5px;font-size:10px;margin:0 4px}.ym-editor-tools input[type=range]{width:64px;padding:0}.ym-editor-tools #ym-edit-fit{padding:5px;min-width:46px;border:0;background:transparent;font-size:11px!important}.ym-editor-compose{min-width:0;display:flex;flex-direction:column;align-items:stretch}.ym-editor-compose textarea{width:100%;height:190px!important;resize:vertical;margin-bottom:8px}.ym-editor-compose #ym-edit-submit{margin-top:22px;background:#e7f55a;border:1px solid #d1df43;color:#364414}.ym-editor-compose>p{color:#7a8469}.ym-editor-compose h3{margin:0 0 10px}.ym-edit-viewport #ym-brush-cursor{position:absolute;border:1px solid #4e5c23;border-radius:50%;box-shadow:0 0 0 1px #fff9;pointer-events:none;z-index:3}
@media(max-width:1250px){.ym-board-enhanced .ym-board-toolbar{align-items:flex-start}.ym-board-enhanced .ym-board-actions{width:100%}.ym-board-enhanced .ym-board-content{grid-template-columns:88px minmax(0,1fr);gap:12px}.ym-board-enhanced .ym-thumb img{height:93px}}
@media(max-width:799px){.ym-board-enhanced{padding:0 10px 10px}.ym-board-enhanced .ym-board-toolbar{padding:12px 0;gap:10px}.ym-board-enhanced .ym-project-heading h1{font-size:18px;max-width:calc(100vw - 24px)}.ym-board-enhanced .ym-board-actions{display:flex;flex-wrap:wrap;gap:5px;padding:0}.ym-board-enhanced .ym-board-actions .ym-btn{font-size:10px!important;min-height:32px;padding:6px 8px}.ym-board-enhanced .ym-board-actions svg{width:12px;height:12px}.ym-board-enhanced .ym-board-content{display:flex;gap:10px}.ym-board-enhanced .ym-page-list{min-height:82px;max-height:82px;gap:8px;padding:2px 2px 5px}.ym-board-enhanced .ym-thumb{width:55px;padding:3px;flex:none}.ym-board-enhanced .ym-thumb img{height:48px}.ym-board-enhanced .ym-thumb span{padding:4px 2px 0}.ym-board-enhanced .ym-thumb b{font-size:9px}.ym-board-enhanced .ym-thumb small{display:none}.ym-board-enhanced .ym-page-bottom{padding:5px 7px;min-height:38px}.ym-board-enhanced .ym-page-bottom>span{font-size:9px;max-width:170px}.ym-board-enhanced .ym-page-bottom>div{gap:2px}.ym-version-link{font-size:9px!important}.ym-board-enhanced .ym-page-surface>img{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}.ym-dialog .ym-modal-head{padding:16px}.ym-dialog .ym-modal-head h2{font-size:17px}.ym-dialog .ym-modal-body{padding:16px}.ym-dialog .ym-modal-footer{flex-wrap:wrap;gap:10px}.ym-dialog .ym-modal-footer>span{width:100%}.ym-detail-stats{grid-template-columns:1fr 1fr;gap:10px}.ym-detail-stats>div:first-child{grid-column:1/-1}.ym-source-columns{grid-template-columns:1fr}.ym-progress-label{flex-direction:column;gap:4px}.ym-editor{grid-template-columns:1fr;gap:16px}.ym-edit-viewport{height:43vh;min-height:220px}.ym-editor-compose textarea{height:100px!important}.ym-editor-compose #ym-edit-submit{margin-top:12px}.ym-editor-tools{gap:2px}.ym-editor-tools input[type=range]{width:48px}.ym-editor-tools .ym-icon{width:27px}.ym-editor-tools label{margin:0 2px}.ym-dialog[data-kind=reader]{height:94dvh}.ym-full-tools{gap:8px}.ym-rating-options{gap:5px}.ym-source-modes .ym-btn{font-size:11px!important;padding:7px}.ym-versions img{height:190px}.ym-reroll-preview{grid-template-columns:85px 1fr;gap:14px}.ym-reroll-preview img{width:85px}}
@media(prefers-reduced-motion:reduce){.ym-dialog button,.ym-board-enhanced button{transition:none}.ym-dialog button:active,.ym-board-enhanced .ym-btn:active{transform:none}}
/* Reading mode shares the board's quiet edge controls and explicit page jump. */
.ym-full-frame{position:relative;flex:1;min-height:0;display:flex}.ym-full-frame .ym-full-stage{height:100%;width:100%;touch-action:pan-y pinch-zoom}.ym-read-turn{width:12%;max-width:100px}.ym-read-turn svg{opacity:.55}.ym-dialog .ym-reader-hint{font-size:10px!important;color:#7e876f;text-align:center;margin:7px 0 0;flex:none}.ym-full-tools .ym-page-jump input{width:38px;padding:3px!important;height:29px;background:#fafbf5}.ym-full-tools .ym-icon{height:32px}.ym-full-frame .ym-read-turn:disabled{visibility:hidden}
@media(max-width:799px){.ym-read-turn{width:11%;padding:10px}.ym-read-turn svg{width:17px;height:17px;box-shadow:0 0 0 3px #f5f8e7}.ym-dialog .ym-reader-hint{font-size:9px!important}.ym-full-tools{gap:5px}}

/* The board canvas is divided into two full-height page-turn targets. */
.ym-board-enhanced .ym-page-surface>.ym-turn-zone{width:50%;max-width:none}

/* The board uses canvas, thumbnail and keyboard navigation without a footer. */
.ym-board-enhanced .ym-page-bottom{display:none}

.ym-export-check[hidden]{display:none!important}.ym-export-check:has(input:disabled){opacity:.65}
/* A compact, expressive rating panel with the domestic interaction hierarchy. */
.ym-dialog[data-kind=feedback]{width:min(940px,calc(100vw - 32px));border-radius:24px;max-height:94dvh;color:#252b20;background:#fff}.ym-dialog[data-kind=feedback] .ym-modal-head{padding:28px 32px 0;border-bottom:0;align-items:flex-start}.ym-dialog[data-kind=feedback] .ym-modal-head h2{font-size:25px;letter-spacing:-.7px}.ym-dialog[data-kind=feedback] .ym-modal-body{padding:10px 32px 28px}.ym-dialog .ym-feedback-intro{color:#7b836f;margin:0 0 24px;font-size:13px}.ym-feedback-fields{border:0;padding:0;margin:0;min-width:0}.ym-feedback-fields:disabled{opacity:.7}
.ym-dialog[data-kind=feedback] .ym-rating-options{gap:12px;margin:0 0 24px}.ym-dialog[data-kind=feedback] .ym-rating-options button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 8px 16px;background:#fff;border:1px solid #e0e5d7;border-radius:14px;color:#303726;min-width:0}.ym-rating-face{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f0f2e9;color:#2c3225;flex:none}.ym-dialog .ym-rating-face svg{width:32px;height:32px;stroke-width:3}.ym-dialog[data-kind=feedback] .ym-rating-options strong{font-size:16px;font-weight:650;line-height:1.4}.ym-dialog[data-kind=feedback] .ym-rating-options button>span:last-child{font-size:11px;color:#7b836f;line-height:1.4}.ym-dialog[data-kind=feedback] .ym-rating-options button[aria-checked=true]{border-color:#8b9b32;background:#f7fae6;box-shadow:inset 0 0 0 1px #8b9b32}.ym-rating-options [aria-checked=true] .ym-rating-face{background:#eaf29e;color:#3c481c}
.ym-feedback-label{display:flex;align-items:baseline;gap:10px;font-size:13px;margin-bottom:10px}.ym-feedback-label span{color:#838b76;font-size:11px}.ym-dialog[data-kind=feedback] .ym-feedback-tags{margin:0 0 24px;min-height:44px;align-items:center}.ym-dialog .ym-feedback-placeholder{width:100%;margin:0;padding:13px 15px;background:#f5f6f0;color:#8a917e;border-radius:10px;font-size:12px}.ym-dialog[data-kind=feedback] .ym-feedback-tags button{border-radius:8px;padding:9px 12px;font-size:12px}.ym-dialog[data-kind=feedback] .ym-label{font-size:13px;margin:0 0 10px}.ym-feedback-comment{position:relative}.ym-dialog[data-kind=feedback] #ym-comment{display:block;width:100%;min-height:112px;height:112px;max-height:220px;resize:vertical;padding:13px 15px 30px;background:#fff;border-radius:12px;font-size:12px;color:#303726;line-height:1.7}.ym-feedback-comment>span{position:absolute;right:15px;bottom:10px;font-size:10px;color:#838b76;pointer-events:none}.ym-feedback-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}.ym-feedback-footer>div{display:flex;gap:10px;flex:none}.ym-dialog[data-kind=feedback] .ym-feedback-footer .ym-muted{font-size:10px;line-height:1.7}.ym-dialog[data-kind=feedback] .ym-feedback-footer .ym-btn{min-height:38px;padding:9px 14px;font-size:12px!important}.ym-feedback-footer svg{width:16px;height:16px}.ym-dialog[data-kind=feedback] #ym-action-error:empty{display:none}.ym-feedback-saved{padding:12px 0}.ym-feedback-saved>.ym-rating-face{margin:0 auto;width:58px;height:58px}.ym-feedback-saved>h3,.ym-feedback-saved>p{text-align:center}.ym-feedback-saved .ym-feedback-tags{justify-content:center}.ym-dialog[data-kind=feedback] #ym-comment:focus-visible{outline:2px solid #869923;outline-offset:3px;box-shadow:none}
@media(max-width:599px){.ym-dialog[data-kind=feedback]{width:calc(100vw - 20px);border-radius:18px;max-height:94dvh}.ym-dialog[data-kind=feedback] .ym-modal-head{padding:20px 16px 0}.ym-dialog[data-kind=feedback] .ym-modal-head h2{font-size:20px;letter-spacing:-.4px}.ym-dialog[data-kind=feedback] .ym-modal-body{padding:8px 16px 20px}.ym-dialog .ym-feedback-intro{font-size:12px;margin-bottom:18px}.ym-dialog[data-kind=feedback] .ym-rating-options{gap:5px;margin-bottom:20px}.ym-dialog[data-kind=feedback] .ym-rating-options button{padding:12px 3px 10px;gap:6px;border-radius:10px}.ym-rating-face{width:34px;height:34px}.ym-dialog .ym-rating-face svg{width:25px;height:25px}.ym-dialog[data-kind=feedback] .ym-rating-options strong{font-size:13px}.ym-dialog[data-kind=feedback] .ym-rating-options button>span:last-child{font-size:9px;min-height:25px}.ym-feedback-label{gap:8px;font-size:12px;flex-wrap:wrap}.ym-feedback-label span{font-size:10px}.ym-dialog[data-kind=feedback] .ym-feedback-tags{margin-bottom:20px;gap:6px}.ym-dialog[data-kind=feedback] .ym-feedback-tags button{font-size:11px;padding:8px 9px}.ym-feedback-footer{align-items:stretch;flex-direction:column;gap:14px;margin-top:20px}.ym-feedback-footer>div{width:100%;justify-content:flex-end}.ym-dialog[data-kind=feedback] .ym-feedback-footer .ym-btn{flex:1;padding:9px 10px;font-size:11px!important}.ym-dialog[data-kind=feedback] #ym-comment{height:100px;min-height:100px}}

/* A selected page acknowledges immediately while its new pixels become ready. */
.ym-board-enhanced .ym-page-surface>img[data-loading=true],.ym-full-stage>img[data-loading=true]{opacity:0}
.ym-board-enhanced .ym-page-surface>.ym-image-state[data-loading=true],.ym-full-frame>.ym-image-state[data-loading=true]{inset:0;left:0;top:0;transform:none;min-width:0;padding:16px;background:#fff;border:0;border-radius:inherit;place-content:center;pointer-events:none;animation:none}
.ym-board-enhanced .ym-page-surface>.ym-image-state[data-loading=true] .ym-glitch,.ym-full-frame>.ym-image-state[data-loading=true] .ym-glitch{font-size:clamp(24px,2.4vw,34px)}

/* A generating comic keeps its title and reading action on one compact row. */
.ym-board-progressive .ym-board-toolbar{flex:none;flex-wrap:nowrap;align-items:center;padding:0 0 12px;gap:12px}
.ym-board-progressive .ym-project-heading{flex:1 1 0;min-width:0}
.ym-board-progressive .ym-project-heading h1{font-size:18px;line-height:1.35}
.ym-board-progressive .ym-project-heading p{margin:3px 0 0}
.ym-board-progressive .ym-board-actions{width:auto;flex:none;padding:0;overflow:visible}
.ym-board-progressive .ym-board-actions .ym-btn{min-height:44px}
@media(max-width:760px){.ym-board-progressive .ym-board-toolbar{padding-bottom:10px;gap:10px}.ym-board-progressive .ym-project-heading h1{font-size:16px}.ym-board-progressive .ym-page-list{min-height:68px;max-height:68px}.ym-board-progressive .ym-thumb img{height:36px}}

/* Keep comic controls at the right edge, including wrapped action rows. */
.ym-board-enhanced .ym-board-actions{margin-left:auto;justify-content:flex-end}
