.dle-main .stt-block,.dle-main .std-block{padding:18px}.stt-block-title,.std-block-title,.add-comment-title{font:22px Georgia,serif;color:var(--red);margin-bottom:16px}.form-line-tt{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0;align-items:center}.form-line-tt-left{flex:0 0 160px}.form-line-tt-right{flex:1;min-width:0}.dle-main input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.dle-main textarea,.dle-main select{max-width:100%;padding:9px;border:1px solid #b29b77;background:#fffdf7;color:var(--ink);font-size:16px}.dle-main input[type=submit],.dle-main button{cursor:pointer}.comment-item{padding:16px 0;border-bottom:1px solid #c6c0b6;display:flow-root}.comment-item-left{float:left;margin:0 16px 10px 0}.comment-item-image img{width:48px;height:48px;object-fit:cover}.comment-item-text{overflow-wrap:anywhere}.comment-item-text img{max-width:100%;height:auto}.comments-item-links{display:flex;flex-wrap:wrap;gap:12px;clear:both;padding-top:12px;color:var(--red)}.tt-tabs .tt-panel{display:none}.tt-tabs .tt-panel:first-child{display:block}.tt-tabs .tt-tabs-head{display:flex;flex-wrap:wrap;gap:14px}.tt-tabs a{color:var(--red)}@media(max-width:600px){.form-line-tt{display:block}.form-line-tt-left{margin-bottom:8px}.dle-main .stt-block{padding:12px}}.index-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.index-tabs span{cursor:pointer;padding:10px;border:1px solid var(--gold)}.index-tabs .active-ttab{background:var(--red);color:white}.user-profile-tt{padding:16px}.profile-tt-image img{max-width:120px;height:auto}

.sidebar-partners{display:flex;flex-direction:column;gap:12px;margin:0;align-items:center}.footer-crown{font:40px Georgia;color:var(--gold)}.footer-motto{font:14px Georgia;letter-spacing:4px}.story-byline{font-size:13px;color:var(--muted)}.dle-story .story-text{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.dle-story .story-text img{display:none}@media(max-width:700px){.sidebar-partners{order:2;flex-direction:row;flex-wrap:wrap;justify-content:center}}
.dle-story .story-thumbnail{flex:0 0 136px;width:136px;align-self:flex-start}.dle-story .story-thumbnail img{display:block;width:136px;height:136px;object-fit:cover;border:1px solid #9d7738;padding:3px;background:#e7dfd0}.dle-story .story-body{min-width:0;flex:1}.dle-story .story-text{max-height:8em}.dle-story .story-text iframe{display:none}@media(max-width:600px){.dle-story .story-thumbnail{flex-basis:80px;width:80px}.dle-story .story-thumbnail img{width:80px;height:80px}}

.dle-story{display:flex!important;gap:18px;padding:18px;border-bottom:1px solid #c6c0b6}.dle-story .story-text{margin:10px 0;line-height:1.5}.dle-story .story-text img{display:none!important}.dle-story .story-meta{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.dle-story h3{margin:0 0 6px}@media(max-width:600px){.dle-story{gap:10px;padding:12px}.dle-story h3{font-size:18px}}
/* Native DLE/jQuery dialogs: contain long forms on small screens. */
.ui-widget-overlay{position:fixed;inset:0;background:rgba(25,18,12,.6);z-index:1000}.ui-dialog{position:fixed!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%);box-sizing:border-box;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto;background:#faf7ef;border:2px solid #a37c3b;box-shadow:0 12px 60px #0006;color:#332c23;z-index:1001;font:16px Arial,sans-serif}.ui-dialog-titlebar{position:relative;padding:14px 46px 14px 16px;border-bottom:1px solid #c6b58f;font:20px Georgia,serif;color:#850d12}.ui-dialog-titlebar-close{position:absolute;right:6px;top:6px;width:34px;height:34px;overflow:hidden;font-size:0;border:0;background:transparent;cursor:pointer}.ui-dialog-titlebar-close:after{content:'×';font:28px Arial;color:#850d12}.ui-dialog-content{padding:16px;box-sizing:border-box;overflow:auto}.ui-dialog-content input:not([type=checkbox]):not([type=radio]),.ui-dialog-content textarea,.ui-dialog-content select{box-sizing:border-box;max-width:100%;padding:8px;font-size:16px}.ui-dialog-content textarea{width:100%}.ui-dialog-buttonset{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px;border-top:1px solid #c6b58f}.ui-dialog-buttonset button{padding:10px 14px;background:#850d12;border:1px solid #a37c3b;color:white;cursor:pointer}.ui-dialog img{max-width:100%;height:auto}.ui-dialog .tox-tinymce{max-width:100%}
