.team-rules-header{display:flex;justify-content:space-between;gap:2rem;padding:2.2rem 0 1.6rem;border-bottom:1px solid #494d40}.team-rules-header h2{font-size:clamp(1.8rem,3vw,2.8rem);margin:.6rem 0}.team-rules-header p{max-width:650px;line-height:1.65;color:#b9bcae}.team-rules-stamps{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.3rem;font-size:.78rem}.team-rules-stamps>span{border:1px solid #414b40;border-radius:3px;padding:.55rem .8rem;letter-spacing:.03em}.team-rules-stamps strong{color:#e5d5aa}.team-rules-stamps .team-rules-checked{border-color:#52745a;color:#b5d4b6;background:#2b423044}.team-rules-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:1rem;min-width:210px}.team-rules-scope{background:#20271e;padding:1rem 1.3rem;border-left:3px solid #a89261;margin:1.6rem 0;color:#bcc2b6;font-size:.88rem;line-height:1.65}.team-rules-scope strong{color:#e3d5b4;margin-right:.4rem}.team-rules-tools{display:flex;gap:.8rem;align-items:end;margin:1.8rem 0}.team-rules-tools label{display:flex;flex-direction:column;gap:.5rem;flex:1;font-size:.85rem;color:#c1c6b5}.team-rules-tools input{width:100%;background:#171f1a;border:1px solid #48503e;border-radius:4px;color:inherit;padding:.9rem;font-size:1rem;min-width:0}.team-rules-tools .button{padding:.9rem 1rem;font-size:.85rem}.team-rules-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:2rem;margin-bottom:4rem}.team-rules-outline{position:sticky;top:85px;align-self:start;display:flex;flex-direction:column;gap:.2rem;border-left:1px solid #454938;padding:.4rem 0}.team-rules-outline a{display:flex;gap:.7rem;padding:.8rem 1rem;text-decoration:none;color:#c3c7b8;font-size:.85rem;line-height:1.5}.team-rules-outline a:hover{background:#a28e6322;color:#eedbb5}.team-rules-outline a>span{font-size:.7rem;color:#9f926e}.team-rules-outline a>small{margin-left:auto;color:#919783}.team-rule-section{scroll-margin-top:90px;margin-bottom:2.2rem}.team-rule-section>header{display:flex;align-items:center;gap:.8rem;border-bottom:1px solid #4d503d;padding:.5rem 0 .8rem;margin-bottom:1rem}.team-rule-section>header>span{color:#ad9665;font-size:.8rem}.team-rule-section h3{margin:0;font-size:1.5rem}.team-rule-section>header>small{margin-left:auto;font-size:.75rem;color:#a9b09c}.team-rule-card{background:linear-gradient(120deg,#20291f,#171e19);border:1px solid #3c4736;border-radius:5px;margin:.7rem 0;overflow:hidden}.team-rule-card>summary{cursor:pointer;display:grid;grid-template-columns:1fr auto;align-items:center;padding:1.1rem 1.2rem;gap:.35rem 1rem;list-style:none}.team-rule-card>summary::-webkit-details-marker{display:none}.team-rule-kind{grid-column:1;color:#a5b393;font-size:.65rem;letter-spacing:.13em;text-transform:uppercase}.team-rule-card summary strong{grid-column:1;font-size:1.04rem;font-weight:500;color:#eddfbb;line-height:1.4}.team-rule-pages{grid-column:2;grid-row:1/3;color:#a5ab94;font-size:.75rem;white-space:nowrap}.team-rule-pages span{font-size:1.4rem;margin-left:1rem}.team-rule-card[open]>summary{border-bottom:1px solid #4a543c;background:#303b2522}.team-rule-card[open] .team-rule-pages span{display:inline-block;transform:rotate(45deg)}.team-rule-card-body{padding:1rem}.team-rule-figure{margin:.5rem auto 1.5rem;max-width:100%}.team-rule-figure.portrait{max-width:490px}.team-rule-figure img{display:block;width:100%;height:auto;background:white;border:1px solid #797962}.team-rule-figure figcaption{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:space-between;margin-top:.6rem;font-size:.75rem;color:#b0b59f}.team-rule-transcript{font-size:.8rem;border-top:1px solid #414a34;padding-top:1rem;color:#aab5a1}.team-rule-transcript summary{cursor:pointer}.team-rule-transcript p{line-height:1.6}.team-rule-transcript pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:.8rem;color:#c4cdb6}.team-rules-pending{padding:3rem 1rem;max-width:750px}.team-rule-template{max-width:1000px;margin:2rem 0}.team-rule-template fieldset{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;border:1px solid #4b533e;border-radius:5px;padding:1.5rem;margin:1.5rem 0;background:#1c241d}.team-rule-template legend{padding:0 .7rem;color:#decba0;font-size:1.1rem}.team-rule-template label{display:flex;flex-direction:column;gap:.5rem;font-size:.88rem;color:#bdc7b0}.team-rule-template .wide,.team-rule-template fieldset>p{grid-column:1/-1}.team-rule-template input,.team-rule-template textarea{width:100%;background:#111b16;color:#dfdfcf;border:1px solid #4b553e;border-radius:3px;padding:.8rem;font:inherit;resize:vertical}.team-rule-template p{font-size:.88rem;color:#adb79e;line-height:1.6}.team-rule-template #team-template-feedback{display:block;margin:1rem 0;color:#bdcda9}.light-paper .team-rules-header p,.light-paper .team-rules-outline a,.light-paper .team-rules-tools label{color:#554f40}.light-paper .team-rule-card,.light-paper .team-rule-template fieldset,.light-paper .team-rules-scope{background:#eee5d1;color:#554f40;border-color:#bcb093}.light-paper .team-rule-card summary strong,.light-paper .team-rules-scope strong,.light-paper .team-rules-stamps strong,.light-paper .team-rule-template legend{color:#564524}.light-paper .team-rule-kind,.light-paper .team-rule-pages,.light-paper .team-rule-transcript,.light-paper .team-rule-transcript pre{color:#5c604a}.light-paper .team-rules-tools input,.light-paper .team-rule-template input,.light-paper .team-rule-template textarea{background:#fff8e9;color:#433c2b}.light-paper .team-rules-stamps .team-rules-checked{color:#34593a}.team-rules-content [hidden]{display:none!important}@media(max-width:1050px){.team-rules-layout{grid-template-columns:190px minmax(0,1fr);gap:1.1rem}.team-rules-tools{flex-wrap:wrap}.team-rules-tools label{flex-basis:100%}.team-rules-header{flex-wrap:wrap}.team-rules-actions{flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:start}}@media(max-width:720px){.team-rules-layout{display:block}.team-rules-outline{position:static;display:flex;flex-direction:row;overflow-x:auto;border:1px solid #424b36;margin-bottom:1.5rem}.team-rules-outline a{min-width:165px;align-items:center}.team-rule-card>summary{padding:.9rem}.team-rule-card summary strong{font-size:.92rem}.team-rule-card-body{padding:.5rem}.team-rule-template fieldset{grid-template-columns:1fr;padding:1rem}.team-rules-stamps{gap:.4rem}.team-rule-section h3{font-size:1.25rem}}
/* A csapat saját hátlapja a kategóriamenü alatt. */
.team-rules-outline .team-rules-back{display:block;margin:1rem 1rem 0;padding:0;border-radius:5px;overflow:hidden;background:#101313}
.team-rules-back img{display:block;width:100%;height:auto}
@media(max-width:900px){.team-rules-outline .team-rules-back{width:min(100%,203px);margin:1rem auto 0;flex:none}}

.team-rules-categories{display:flex;flex-direction:column;gap:.2rem}
@media(max-width:720px){.team-rules-outline{flex-direction:column;overflow:visible}.team-rules-categories{flex-direction:row;overflow-x:auto}.team-rules-categories a{flex:none}.team-rules-outline .team-rules-back{margin:1rem auto}}
.team-update-review{margin:1.5rem 0;border:1px solid var(--line,#39434c);border-radius:12px;background:var(--surface,#161d24)}
.team-update-review>summary{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.1rem 1.4rem;cursor:pointer}
.team-update-review>summary strong{color:var(--accent,#f47e47);font-size:.88rem}
.team-update-review-body{padding:0 1.4rem 1.4rem;max-width:90ch}
.team-update-item{padding:1rem 0;border-top:1px solid var(--line,#39434c)}
.team-update-item h4,.team-update-missing h4{margin:.3rem 0;font-size:1.05rem}
.team-update-item pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding:1rem;background:rgba(0,0,0,.2);font:inherit;font-size:.9rem}
.team-update-missing{border-left:3px solid #efad52;padding:.6rem 1rem;margin:1rem 0;background:rgba(239,173,82,.06)}
.team-update-pending{padding:1rem;border:1px dashed var(--line,#39434c);border-radius:8px}
