/* Directory cards: align the action even when contact details differ. */
.experts-grid6 .expert-card6{display:flex;flex-direction:column;min-width:0}
.experts-grid6 .expert-card6>p{min-height:0;margin:8px 0 12px}
.experts-grid6 .expert-card6 :is(h3,a){overflow-wrap:anywhere}
.experts-grid6 .expert-card6 .expert-action72{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;margin-top:auto;box-sizing:border-box}
.experts-grid6 .expert-card6 .expert-action72 span{padding-right:4px}
.experts-grid6 .expert-card6 .expert-action72 svg{flex:none}

/* Application cards: compact text with a full-width action at a consistent baseline. */
body .game-cards23 .game-card23>div:last-child{padding:17px clamp(14px,1.4vw,21px) 18px;gap:7px}
body .game-cards23 .game-card23 h2{min-height:0;margin:0;font-size:clamp(17px,1.5vw,21px);line-height:1.25;overflow-wrap:anywhere}
body .game-cards23 .game-card23 p{flex:none;margin:0;line-height:1.6}
body .game-cards23 .game-card23 footer{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-height:0;margin-top:auto;padding-top:7px}
body .game-cards23 .game-card23 footer .primary{width:100%;min-height:44px;justify-content:center;margin:0;box-sizing:border-box;text-align:center;white-space:normal}
body .game-cards23 .game-card23 footer>span:empty{display:none}

.editor-jump72{display:none}
@media(max-width:900px){
 body #modal-root .studio-backdrop12{padding:0!important;align-items:stretch;justify-content:stretch}
 body #modal-root .modal.resource-studio12{width:100%!important;height:100dvh!important;min-height:0;overscroll-behavior:contain}
 body #modal-root .resource-studio12>.modal-head{padding:calc(8px + env(safe-area-inset-top)) 14px 8px!important;min-height:55px}
 body #modal-root .resource-studio12>.modal-head .close{width:44px;height:44px;flex:none}
 body #modal-root .resource-studio12 #content-form6{display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0;min-height:0;overflow:auto!important;overscroll-behavior:contain;scroll-padding-block:12px}
 body #modal-root .resource-studio12 :is(.editor-main6,.editor-options6){min-width:0;width:100%;box-sizing:border-box;overflow:visible!important;padding:16px clamp(12px,4vw,25px);gap:14px}
 body #modal-root .resource-studio12 .editor-options6{border-left:0;border-top:1px solid var(--line)}
 body #modal-root .resource-studio12 .editor-intro6{margin:0 0 4px;padding:0 0 12px}
 body #modal-root .resource-studio12 .editor-intro6 p{margin:4px 0}
 body #modal-root .resource-studio12 .editor-main6>label{margin:0;gap:6px}
 body #modal-root .resource-studio12 :is(input:not([type=radio],[type=checkbox],[type=file]),textarea,.select-trigger7){min-width:0;width:100%;max-width:100%;box-sizing:border-box;font-size:16px}
 body #modal-root .resource-studio12 input[name=title]{padding:10px 12px}
 body #modal-root .resource-studio12 .editor-main6 textarea{min-height:74px}
 body #modal-root .resource-studio12 :is(#rich-zone6,.rich-editor-shell6,.rich-editor6){min-width:0;max-width:100%;overflow-wrap:anywhere}
 body #modal-root .resource-studio12 .rich-toolbar6{position:static;display:flex;flex-wrap:wrap;gap:3px}
 body #modal-root .resource-studio12 .rich-toolbar6 :is(button,select){min-height:40px;max-width:100%}
 body #modal-root .resource-studio12 .rich-toolbar6 button{min-width:38px}
 body #modal-root .resource-studio12 .rich-editor6{font-size:16px;min-height:225px;padding:14px}
 body #modal-root .resource-studio12 .editor-publish6{position:static;padding:12px 0 calc(6px + env(safe-area-inset-bottom));margin:0}
 body #modal-root .resource-studio12 .editor-publish6 button{width:100%;min-height:48px}
 .editor-jump72{display:inline-flex;min-height:40px;align-items:center;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font:inherit;font-size:12px}
 body .reading7 .reader-layout7{grid-template-columns:minmax(0,1fr);gap:16px}
 body .reading7 :is(.reader-card7,.reader-aside7){min-width:0}
 body .reading7 .rich-reading7{font-size:16px;line-height:1.75;overflow-wrap:anywhere}
 body .reading7 .rich-reading7 table{display:block;max-width:100%;overflow:auto}
 body .reading7 .rich-reading7 :is(img,iframe,video,pre){max-width:100%}
 body .reading7 .rich-reading7 pre{overflow:auto}
}
@media(max-width:600px){
 body #modal-root .resource-studio12 .content-mode6{grid-template-columns:minmax(0,1fr)}
 body .admin-content-card6{padding:13px;min-width:0}
 body .admin-content-card6 .admin-section-head{align-items:flex-start;gap:10px}
 body .admin-content-card6 .admin-section-head button{min-height:42px}
 body .reading7 .reader-header7 h1{font-size:clamp(23px,6vw,31px);overflow-wrap:anywhere}
 body .reading7 .reader-meta7{flex-wrap:wrap}
 body .reading7 .reader-attachment7{flex-wrap:wrap;gap:10px}
 body .reading7 .reader-attachment7 .primary{width:100%;justify-content:center}
 body .articles9 .journal-card6{min-width:0}
 body .articles9 .journal-copy6{min-width:0;overflow-wrap:anywhere}
}
.experts-grid6 .expert-contact6:not(:empty){margin-bottom:12px}
.experts-grid6 .expert-contact6:empty{display:none}
@media(max-width:600px){
 body .admin-content6,body .admin-body6{min-width:0}
 body .admin-content-card6 .admin-records:not(.members62)>div:has([data-edit],[data-edit6]){flex-wrap:wrap;min-width:0}
 body .admin-content-card6 .admin-records:not(.members62)>div:has([data-edit],[data-edit6])>button{min-height:38px}
}
