/* M5 PUZZLE 1.0.0 – deliberately scoped; never restyles phpBB/global profile. */
.m5p,.m5p-profile-box{box-sizing:border-box;font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;color:#153a60}
.m5p *, .m5p *::before,.m5p *::after,.m5p-profile-box *{box-sizing:border-box}
.m5p{width:min(100%,1220px);max-width:1220px;margin:20px auto 32px;padding:0 14px}
.m5p h1,.m5p h2,.m5p h3,.m5p-profile-box h2{font-family:inherit;letter-spacing:-.025em;color:#12375d;text-shadow:none!important;line-height:1.3;margin:0}
.m5p h1{font-size:clamp(25px,3vw,34px);font-weight:850}.m5p h2{font-size:20px;font-weight:820}.m5p h3{font-size:16px;font-weight:800}
.m5p p,.m5p-profile-box p{color:#57718b;margin:5px 0}.m5p a{text-decoration:none!important}.m5p button,.m5p input,.m5p select,.m5p textarea{font:inherit}
.m5p-hero{background:linear-gradient(109deg,#e6f2ff 0%,#f4f8ff 58%,#c9e0ff 100%);border:1px solid #cfdef2;border-radius:20px;display:flex;align-items:center;gap:18px;padding:25px 28px;box-shadow:0 7px 24px #183b6810}
.m5p-hero-icon{width:66px;height:66px;background:#fff;border-radius:15px;display:grid;place-items:center;font-size:35px;color:#6739c6;flex:0 0 auto;box-shadow:0 4px 12px #1546770a}
.m5p-hero-copy{flex:1;min-width:0}.m5p-hero-copy small{font-weight:850;font-size:10px;letter-spacing:.12em;color:#5076a0}.m5p-hero-copy p{font-size:14px;margin-top:7px}
.m5p-tabs{margin:15px 0;display:flex;flex-wrap:wrap;gap:10px;padding:9px;background:#fff;border:1px solid #d9e5f1;border-radius:14px;box-shadow:0 3px 15px #12467308}
.m5p-tabs a{padding:11px 17px;border-radius:10px;background:#f0f5ff;color:#234b76!important;font-weight:800;font-size:13px;border:1px solid #dce7f9;display:inline-flex;align-items:center;gap:7px}
.m5p-tabs a:hover{background:#e2ecfb}.m5p-tabs a.is-active{background:linear-gradient(110deg,#226de1,#7545d8);color:#fff!important;border-color:transparent}
.m5p-section{background:#fff;border:1px solid #d9e4f2;border-radius:18px;padding:23px;margin:16px 0;box-shadow:0 5px 22px #193d680e}
.m5p-section-title{margin-bottom:18px;border-bottom:1px solid #e1eaf4;padding-bottom:15px}.m5p-section-title p{margin:5px 0 0}
.m5p-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.m5p-tile{border:1px solid #d8e6f6;border-radius:15px;overflow:hidden;background:#fff;min-width:0;display:flex;flex-direction:column;box-shadow:0 4px 15px #1a49710b}
.m5p-cover{position:relative;background:#dce9f6;aspect-ratio:16/9;overflow:hidden}.m5p-cover>img{display:block;width:100%;height:100%;object-fit:cover}.m5p-cover::after{content:"";pointer-events:none;position:absolute;inset:60% 0 0;background:linear-gradient(transparent,rgba(8,26,46,.45))}
.m5p-pill{position:absolute;top:10px;z-index:2;background:#f8fcffec;border:1px solid #e5f0fa;color:#164d81;padding:6px 9px;border-radius:10px;font-size:11px;font-weight:820;box-shadow:0 3px 9px #112f4930;white-space:nowrap}.m5p-pill-left{left:10px}.m5p-pill-right{right:10px}
.m5p-cover-state{position:absolute;bottom:10px;left:10px;z-index:2;background:#263a65dc;color:#fff;border-radius:9px;padding:6px 10px;font-weight:820;font-size:12px}.m5p-finished{background:#e7fff1;color:#167744}
.m5p-tile-text{display:flex;flex-direction:column;align-items:start;gap:5px;padding:17px;flex:1}.m5p-tile-text h3{font-size:17px}.m5p-tile-text p{margin:0}.m5p-tile-text .m5p-btn{margin-top:auto;align-self:stretch;text-align:center}
.m5p-meta{font-size:12px;color:#6c8197!important}.m5p-progress{width:100%;height:9px;background:#e7ebf7;border-radius:20px;overflow:hidden;margin:10px 0}.m5p-progress>span{display:block;height:100%;background:linear-gradient(90deg,#2878dd,#8745e3);border-radius:inherit;transition:width .2s}
.m5p-btn{appearance:none;display:inline-flex!important;justify-content:center;align-items:center;gap:7px;border:1px solid transparent!important;border-radius:10px!important;background:linear-gradient(110deg,#146fe0,#5650e8)!important;color:#fff!important;padding:11px 15px!important;min-height:40px!important;font:800 13px/1.25 system-ui!important;cursor:pointer!important;box-shadow:0 3px 10px #14548c20;text-align:center;text-decoration:none!important}
.m5p-btn:hover{filter:brightness(1.06)}.m5p-btn:disabled{opacity:.65;cursor:wait!important}.m5p-btn-ghost{background:#f5f9ff!important;color:#1c5d99!important;border:1px solid #cfdef0!important;box-shadow:none}
.m5p-empty{padding:35px 20px;text-align:center;border:1px dashed #cfdef1;border-radius:14px;color:#66829c;background:#f8fbff;font-weight:650}
.m5p-notice{position:sticky;top:80px;z-index:40;background:#ecf8f4;color:#0b7354;border:1px solid #a7d5c5;padding:13px 16px;border-radius:12px;font-weight:700;margin:12px 0;box-shadow:0 6px 20px #214b631c}.m5p-notice[hidden]{display:none!important}.m5p-notice.is-error{background:#fff1f2;border-color:#f7b8be;color:#a02638}
.m5p-share-panel{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;background:#f3f7ff;padding:18px;border-radius:14px;border:1px solid #d7e2f5;margin-bottom:21px}.m5p-share-panel>div{max-width:500px}
.m5p-checkbox{display:flex;align-items:center;gap:9px;font-weight:800;color:#203d73;cursor:pointer}.m5p-checkbox input{width:20px;height:20px;accent-color:#7546d6}
.m5p-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.m5p-form label,.m5p-admin-fields label{display:grid;gap:6px;font-weight:740;color:#264669;font-size:13px}.m5p-form .m5p-span{grid-column:1/-1}
.m5p-form input,.m5p-form select,.m5p-form textarea,.m5p-admin-fields input,.m5p-admin-fields select{display:block;width:100%;border:1px solid #ccddf1!important;background:#fbfdff!important;color:#173c63!important;padding:12px 13px;border-radius:10px!important;min-width:0;outline-offset:2px}
.m5p-admin-list{display:grid;gap:14px}.m5p-admin-row{display:flex;align-items:start;gap:16px;border:1px solid #dbe8f4;background:#fbfdff;border-radius:12px;padding:12px}.m5p-admin-row>img{width:105px;height:105px;object-fit:cover;border-radius:9px;flex:0 0 auto}.m5p-admin-fields{flex:1;display:grid;gap:8px;min-width:0}.m5p-admin-mini{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.m5p-admin-mini>label{flex:1 1 100px}.m5p-admin-mini>span{color:#6a839b;white-space:nowrap}.m5p-admin-row>button{align-self:end}
.m5p-game-section{min-height:400px}.m5p-game-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:15px}.m5p-counter{font-size:13px;padding:9px 12px;border:1px solid #d8e6f5;border-radius:10px;background:#f0f6fd;color:#1e4e7f;font-weight:690}
.m5p-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,300px);gap:16px;margin-top:15px}.m5p-board-shell{background:#f5faff;padding:13px;border:1px solid #d4e6f6;border-radius:14px;min-width:0}
#m5p-board{display:block;width:100%;max-width:min(960px,100%);height:auto;aspect-ratio:16/9;background:#e8f2fa;border-radius:10px;touch-action:none;cursor:crosshair}
.m5p-board-caption{font-size:12px;line-height:1.5;color:#6583a3;margin-top:10px}.m5p-tray{border:1px solid #dce7f5;background:#fafdff;border-radius:14px;padding:12px;min-width:0}.m5p-tray-head{display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:10px}.m5p-tray h3{font-size:14px}
.m5p-pieces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:min(65vh,625px);overflow:auto;padding:5px}.m5p-piece{border:1px solid #d5e5f6!important;border-radius:11px!important;background:#e8f3ff!important;padding:5px!important;cursor:grab!important;touch-action:none;aspect-ratio:16/9;min-width:0;user-select:none}.m5p-piece:hover,.m5p-piece.is-selected{border-color:#7548ea!important;background:#f0eaff!important;box-shadow:0 0 0 2px #8e6ff530}
.m5p-piece canvas{display:block;width:100%;height:auto;pointer-events:none;max-width:100%}.m5p-piece[hidden]{display:none!important}.m5p-piece-ghost{position:fixed;z-index:99999;pointer-events:none;transform:translate(-50%,-50%);width:94px;height:94px;filter:drop-shadow(0 8px 13px #11355255)}
.m5p-game-bottom{margin-top:15px;padding:13px 15px;background:#f2edff;border:1px solid #ded1ff;border-radius:11px;color:#3b4084;font-size:13px;font-weight:690}
.m5p-game-section:fullscreen{background:#edf5ff;padding:14px;border:0;border-radius:0;overflow:auto;max-height:100vh}.m5p-game-section:fullscreen .m5p-game{max-width:1400px;margin:auto}
.m5p-profile-box{width:auto;max-width:100%;margin:0 0 10px;padding:17px;background:linear-gradient(120deg,#fff,#f2f7ff);border:1px solid #d6e5f5;border-radius:15px;box-shadow:0 4px 15px #1646740c}
.m5p-profile-box .m5p-box-header{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid #dce9f5;padding-bottom:9px;margin-bottom:12px}.m5p-profile-box h2{font-weight:850;font-size:17px}.m5p-profile-box .m5p-soft{font-size:11px;color:#5e7894}
.m5p-profile-row{display:flex;align-items:center;gap:15px}.m5p-profile-row>img{flex:0 0 115px;width:115px;height:95px;border-radius:11px;object-fit:cover}.m5p-profile-row>div{min-width:0}.m5p-profile-row p{font-size:12px;margin:3px 0}.m5p-profile-row .m5p-btn{padding:7px 12px!important;min-height:30px!important;margin-top:6px}
@media(max-width:900px){.m5p-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m5p-game{grid-template-columns:minmax(0,1fr)}.m5p-pieces{grid-template-columns:repeat(6,minmax(0,1fr));max-height:250px}}
@media(max-width:600px){.m5p{padding:0 10px;margin:12px auto}.m5p-hero{padding:18px;gap:12px;flex-wrap:wrap}.m5p-hero-icon{width:48px;height:48px;font-size:25px}.m5p-hero-copy{flex-basis:calc(100% - 62px)}.m5p-tabs{gap:6px}.m5p-tabs a{flex:1 1 auto;justify-content:center;font-size:12px;padding:9px 7px}.m5p-section{padding:14px}.m5p-grid{grid-template-columns:1fr}.m5p-form{grid-template-columns:1fr}.m5p-form .m5p-span{grid-column:1}.m5p-admin-row{flex-wrap:wrap}.m5p-admin-row>img{width:70px;height:70px}.m5p-admin-fields{flex-basis:calc(100% - 90px)}.m5p-admin-row>button{margin-left:auto}.m5p-pieces{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.m5p-game-toolbar>*{flex:1 1 auto}.m5p-profile-row>img{width:86px;height:86px;flex-basis:86px}}

.m5p-admin-photo{display:grid;gap:6px;font-weight:750;color:#25466b;font-size:12px}.m5p-admin-photo input{display:block;width:100%;padding:8px;border:1px solid #d0dfef;border-radius:8px;background:#fff}.m5p-admin-photo small{color:#6c829d;font-weight:500}.m5p-photo-warning{color:#a52939!important;font-weight:800;background:#fff1f1;border:1px solid #ffd6d6;padding:8px;border-radius:9px}

/* M5 PUZZLE 1.0.3 — reversible catalog archive action. */
.m5p-admin-actions{display:flex;flex-direction:column;gap:8px;align-self:flex-end;flex:0 0 auto;min-width:140px}
.m5p-btn-danger{background:#fff3f4!important;border:1px solid #eab0b7!important;color:#ab2638!important;box-shadow:none!important}
.m5p-btn-danger:hover{background:#ffe6e9!important}
.m5p-delete-dialog{max-width:min(450px,calc(100vw - 26px));width:100%;padding:0;background:#fff;color:#163b61;border:1px solid #d7e3f4;border-radius:18px;box-shadow:0 25px 60px #07193655;position:fixed;inset:0;margin:auto}
.m5p-delete-dialog::backdrop{background:rgba(7,19,43,.63)}
.m5p-delete-dialog-content{padding:24px;text-align:center}
.m5p-delete-dialog-icon{font-size:38px}
.m5p-delete-dialog h2{font-size:21px;margin:12px 0}
.m5p-delete-dialog p{line-height:1.55;color:#52708b;font-size:13px}
.m5p-delete-dialog .m5p-delete-preserve{padding:12px;background:#f0faf5;border:1px solid #c4e6d0;border-radius:10px;color:#205a43;text-align:left;font-weight:600}
.m5p-delete-dialog-actions{display:flex;gap:9px;justify-content:center;margin-top:20px;flex-wrap:wrap}
.m5p-delete-dialog-actions button{flex:1 1 150px}
@media(max-width:600px){.m5p-admin-actions{width:100%;flex-direction:row;justify-content:flex-end}.m5p-admin-actions button{flex:1 1 0}}

/* 1.0.4 — seasonal hide/show, independent of permanent removal. */
.m5p-admin-visibility-status{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border-radius:10px;font-size:12px;font-weight:800;white-space:normal}
.m5p-admin-visibility-status.is-visible{background:#e7f8ef;color:#146647;border:1px solid #b8e5ca}
.m5p-admin-visibility-status.is-hidden{background:#fff5df;color:#795512;border:1px solid #edd89d}
.m5p-admin-row-hidden{background:#f6f8fc;border-color:#d2dbe9}
.m5p-btn-show{background:#e8f5fd!important;color:#0f5b91!important;border:1px solid #93c9ed!important;box-shadow:none!important}
.m5p-btn-show:hover{background:#cfeafa!important}

/* M5 PUZZLE 1.0.5 — iOS/PWA bottom navigation safe area. */
@media (max-width:900px) {
  .m5p { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important; }
  .m5p .m5p-game-section { scroll-margin-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }
  .m5p .m5p-tray { margin-bottom: 12px; }
  .m5p .m5p-game-bottom { margin-bottom: 16px; }
  /* The fullscreen view occupies the entire screen: do not reserve space for the PWA navbar. */
  .m5p .m5p-game-section:fullscreen { padding-bottom: 25px !important; }
}
/* The profile collections link stays clickable, even near fixed-profile widgets. */
#m5p-profile-widget { position:relative; z-index:12; isolation:isolate; }
#m5p-profile-widget .m5p-profile-collections-link { position:relative;z-index:13;pointer-events:auto !important; }

/* 1.0.6 — replay actions are accessible on catalog, collection and completed game. */
.m5p .m5p-restart[hidden]{display:none!important}
.m5p .m5p-tile-text .m5p-restart{margin-top:8px!important}
.m5p-restart-dialog{position:fixed;inset:0;margin:auto;width:min(460px,calc(100vw - 26px));max-width:100%;padding:0;border:1px solid #cfdef0;border-radius:18px;background:#fff;color:#173b64;box-shadow:0 24px 64px rgba(8,26,52,.35)}
.m5p-restart-dialog::backdrop{background:rgba(8,24,47,.66)}
.m5p-restart-dialog-content{padding:24px;text-align:center}
.m5p-restart-dialog-icon{font-size:36px}
.m5p-restart-dialog h2{font-size:22px;margin:10px 0}
.m5p-restart-dialog p{color:#456784;font-size:13px;line-height:1.6;margin:10px 0}
.m5p-restart-dialog .m5p-restart-warning{padding:12px;border-radius:10px;background:#fff6e8;border:1px solid #efdbb7;color:#62451f;text-align:left;font-weight:650}
.m5p-restart-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.m5p-restart-actions button{flex:1 1 175px}

/* M5 PUZZLE 1.0.9 — profile widget matches USERPROFILE sidebar card width. */
.media5-userprofile .m5up-layout:not(.m5up-layout-messages) > .m5up-sidebar > #m5p-profile-widget {
  box-sizing:border-box!important;
  width:calc(100% - 20px)!important; max-width:calc(100% - 20px)!important;
  min-width:0!important; margin:0 10px 12px!important;
}
#m5p-profile-widget .m5p-profile-row>img{object-fit:cover;aspect-ratio:16/9;background:#e7eff8}
@media(max-width:700px){
  .media5-userprofile .m5up-layout:not(.m5up-layout-messages) > .m5up-sidebar > #m5p-profile-widget{
    width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin:0 8px 12px!important;
  }
}
.m5p-collection-heading h2{font-size:clamp(17px,2.3vw,24px);line-height:1.5;overflow-wrap:anywhere}
.m5p-owner-name{font-weight:850}
.m5p-owner-nick{font-size:.72em;font-weight:600;color:#647d97;white-space:normal}
.m5p-owner-star{font-size:.8em;display:inline-block;vertical-align:3%;text-shadow:none}
.m5p-star-official{color:#1cb66e}.m5p-star-vip{color:#e2af1b}
.m5p-crop-ready{font-weight:700;font-size:12px;color:#16734f;line-height:1.4}
.m5p-crop-dialog{position:fixed;inset:0;margin:auto;max-width:min(960px,calc(100vw - 20px));width:100%;max-height:94vh;overflow:auto;box-sizing:border-box;border:1px solid #cad9ef;border-radius:17px;padding:0;background:#fff;color:#153a60;box-shadow:0 24px 65px #0d244b70;z-index:100000}
.m5p-crop-dialog::backdrop{background:rgba(6,21,43,.76)}
.m5p-crop-dialog-content{padding:clamp(12px,2.6vw,25px)}
.m5p-crop-head{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:12px}
.m5p-crop-head h2{font-size:21px;color:#153a60}.m5p-crop-head p{font-size:13px;color:#5d7690;line-height:1.5;margin:5px 0}
.m5p-crop-close{background:#eef4fd;border:1px solid #cfdded;border-radius:10px;font-size:27px;line-height:1;width:40px;height:40px;flex:0 0 auto;cursor:pointer;color:#17466e}
#m5p-crop-canvas{display:block;width:100%;height:auto;max-height:62vh;aspect-ratio:16/9;background:#e6eef8;border-radius:12px;touch-action:none;cursor:grab;user-select:none}
#m5p-crop-canvas:active{cursor:grabbing}
.m5p-crop-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:13px 0}
.m5p-crop-controls label{font-weight:750;color:#1c4166}.m5p-crop-controls input[type=range]{flex:1 1 180px;accent-color:#6f44db;min-width:100px}
.m5p-crop-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.m5p-crop-status{color:#2c6682;min-height:18px;font-size:12px}
@media(max-width:600px){.m5p-crop-actions .m5p-btn{flex:1 1 160px}.m5p-crop-head h2{font-size:18px}}

.m5p-piece-ghost{width:135px;height:auto;aspect-ratio:16/9}

/* M5 PUZZLE 1.0.10 — large 400-piece trays, touch scrolling and filters */
.m5p-catalog-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px;padding:12px 14px;background:#f4f8ff;border:1px solid #d7e6f7;border-radius:12px}
.m5p-catalog-filters label{font-size:13px;font-weight:750;color:#244d77}
.m5p-catalog-filters select{min-height:39px;padding:7px 12px;border:1px solid #cbdff0;border-radius:9px;background:#fff;min-width:min(100%,220px);color:#173d65}
#m5p-filter-count{font-size:12px;color:#54738d}
.m5p-filter-empty{padding:15px!important;border:1px dashed #c9def0;border-radius:11px;background:#f6faff}
.m5p-filter-empty[hidden],.m5p-tile[hidden]{display:none!important}
.m5p-piece-filter{display:flex;align-items:center;flex-wrap:wrap;gap:6px;border:0!important;margin:4px 0 10px!important;padding:0!important;min-width:0}
.m5p-piece-filter legend{font-weight:800;font-size:12px;color:#254c77;margin:0 0 6px;padding:0}
.m5p-piece-filter label{display:inline-flex;gap:5px;align-items:center;cursor:pointer;border:1px solid #cddff1;border-radius:10px;padding:7px 10px;background:#f5f9ff;color:#294e78;font-size:12px;font-weight:750}
.m5p-piece-filter label:has(input:checked){background:#e9edff;border-color:#9574e4;color:#4c2794}
.m5p-piece-filter input{accent-color:#6444d6}
.m5p-tray-help{color:#60809a;font-size:11px;line-height:1.45}
/* scroll container stays independent of page and fixed PWA navigation */
.m5p .m5p-pieces{height:auto;max-height:min(64vh,650px);overflow-y:auto!important;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable}
.m5p .m5p-piece{touch-action:pan-y!important;-webkit-user-select:none;user-select:none}
.m5p .m5p-piece canvas{touch-action:pan-y!important}
@media(max-width:900px){.m5p .m5p-pieces{max-height:min(46vh,420px);min-height:150px}}
@media(max-width:600px){.m5p .m5p-pieces{max-height:min(44dvh,370px)}.m5p-piece-filter label{flex:1 1 auto;justify-content:center}.m5p-catalog-filters select{flex:1 1 200px}}


/* M5 PUZZLE 1.0.11: Kategorie bez zmiany dotychczasowego stylu katalogu. */
.m5p-category-tabs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:-6px 0 17px}
.m5p-category-tab{border:1px solid #d4dff0!important;background:#f2f6ff!important;color:#264a77!important;padding:9px 16px!important;min-height:38px;border-radius:10px!important;font-weight:800!important;cursor:pointer;line-height:1.25}
.m5p-category-tab.is-active{border-color:#684ac4!important;background:linear-gradient(110deg,#3e6cce,#7446c4)!important;color:white!important}
.m5p-category-tab:focus-visible{outline:2px solid #7756db;outline-offset:2px}
.m5p-category-admin .m5p-category-add{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:17px}
.m5p-category-add label,.m5p-category-row label{display:grid;gap:5px;font-weight:750;color:#264669;min-width:0;flex:1 1 220px}
.m5p-category-add input,.m5p-category-row input{display:block;width:100%;min-width:0;padding:10px 12px;border:1px solid #ccddf1;border-radius:10px;background:#fff;color:#173c63}
.m5p-category-admin-list{display:grid;gap:8px}
.m5p-category-row{display:flex;align-items:end;flex-wrap:wrap;gap:10px;background:#f7faff;border:1px solid #dce8f7;border-radius:12px;padding:10px}
.m5p-category-row>span{color:#607c98;font-size:12px;align-self:center}
.m5p-category-row .m5p-btn:disabled{opacity:.5;cursor:not-allowed!important}
@media(max-width:600px){.m5p-category-tab{flex:1 0 auto;text-align:center}.m5p-category-row .m5p-btn{flex:1 1 120px}}

/* M5 PUZZLE 1.0.12 - pole kolejnosci w zarzadzaniu kategoriami */
.m5p-category-admin .m5p-category-add label.m5p-category-order,
.m5p-category-admin .m5p-category-row label.m5p-category-order{flex:0 1 132px;min-width:110px}
.m5p-category-admin .m5p-category-order input{text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:550px){.m5p-category-admin .m5p-category-add label.m5p-category-order,.m5p-category-admin .m5p-category-row label.m5p-category-order{flex:1 1 100px}}

/* M5 PUZZLE 1.0.14: działania obok siebie — UŁÓŻ PONOWNIE / USUŃ */
.m5p .m5p-tile-text .m5p-tile-actions {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.54fr);gap:8px;width:100%;margin-top:8px;align-items:stretch}
.m5p .m5p-tile-text .m5p-tile-actions:has(> :only-child){grid-template-columns:1fr}
.m5p .m5p-tile-text .m5p-tile-actions .m5p-btn{margin:0!important;min-width:0!important;width:100%;min-height:40px!important;padding:10px 5px!important;font-size:11px!important;white-space:normal}
.m5p #m5p-remove-owned-dialog .m5p-restart-warning {background:#fff2f2;border-color:#f2c1c1;color:#7b2b35}
@media(max-width:380px){.m5p .m5p-tile-text .m5p-tile-actions{grid-template-columns:1fr 1fr}}
