:root{--ink:#24312c;--muted:#84917b;--brand:#285e50;--lime:#d7ed98;--line:#e0e6da;--bg:#f5f6f2;font-family:Inter,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}a{color:var(--brand);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-.045em;line-height:1.45}h2{font-size:18px;letter-spacing:-.02em}h3{font-size:14px}p{color:var(--muted)}small{font-size:10px}button:focus-visible,a:focus-visible{outline:3px solid #8bb5e0;outline-offset:3px}.eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.18em;color:var(--brand);margin-bottom:10px}.layout{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.public-layout{display:block}aside{background:white;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;min-height:650px}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);font-size:15px;line-height:1.2;letter-spacing:.05em;margin-bottom:45px}.brand b{display:block;font-size:19px}.brand small{display:block;font-size:8px;color:var(--muted);margin-top:7px}.brand-icon{width:43px;height:47px;background:var(--brand);color:var(--lime);display:grid;place-items:center;font-size:32px;font-weight:800;transform:skew(-6deg);border-radius:8px}.workspace-label{font-size:9px;letter-spacing:.16em;color:#a1ac95;margin-bottom:9px}aside select{background:#f7f8f4;border:1px solid var(--line);border-radius:6px;width:100%;padding:10px 6px;font-size:11px}.sidebar-add{font-size:10px;border:0;background:transparent;text-align:left;padding:12px 5px;color:#98a487}nav{display:flex;flex-direction:column;gap:6px;margin-top:20px}nav button{background:transparent;border:0;border-radius:6px;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 16px;color:#93a184;font-size:17px}nav span{font-size:12px}nav button.active{background:#edf2e4;color:var(--brand);font-weight:650}.sidebar-note{margin-top:auto;padding:40px 13px 30px}.sidebar-note>span{font-size:23px;color:#c9d4bd;line-height:1.05;letter-spacing:-.035em;font-weight:850;display:block}.sidebar-note p{font-size:10px;line-height:2;margin-top:12px}.user-chip{border-top:1px solid var(--line);padding-top:20px;display:flex;gap:10px;align-items:center;font-size:11px}.user-chip>span{border-radius:50%;background:#edf0e5;width:31px;height:31px;display:grid;place-items:center;color:#849570}.user-chip small{display:block;font-size:9px;color:var(--muted)}.user-chip button{margin-left:auto;background:transparent;border:0}main{min-width:0;display:flex;flex-direction:column}header{height:75px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line);font-size:11px;color:#849578;background:#ffffff88;gap:16px}header i{font-style:normal;color:#b6c2a7;margin:0 15px}header>div{display:flex;gap:20px}.muted-link{font-size:11px;color:#859675}.public-brand{font-weight:800;font-size:15px;letter-spacing:.05em}.public-brand small{font-weight:400;margin-left:8px;color:var(--muted);font-size:9px}.content{width:100%;padding:40px;max-width:1570px;margin:0 auto;flex:1}.public-layout .content{max-width:1280px;padding-top:45px}footer{display:flex;gap:18px;align-items:center;margin:0 40px;padding:26px 0;border-top:1px solid var(--line);font-size:9px;letter-spacing:.1em;color:#91a180}footer span{font-size:10px;letter-spacing:0;color:#9ea88f}footer small{margin-left:auto;font-size:9px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.page-heading p{font-size:12px;margin-top:9px}.page-heading .eyebrow{margin-bottom:7px}.page-heading>div:last-child:has(.tag){display:flex;gap:12px;align-items:center}.detail-heading h1{font-size:28px}.back-link{display:inline-block;border:0;background:transparent;padding:0;color:#8d9d7e;font-size:11px;margin-bottom:13px}.separator{margin:0 9px;color:#b5c1a5}.primary,.soft,.button{border:0;border-radius:7px;min-height:41px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 19px;font-size:12px;font-weight:650;white-space:nowrap}.primary{color:white;background:var(--brand)}.primary:hover:enabled{background:#1d493d}.soft{background:white;border:1px solid #d9e2ce;color:#61784c}.soft:hover:enabled{background:#f1f5ea}.full{width:100%}.small-button{min-height:31px;padding:5px 12px;font-size:11px}.text-button{border:0;background:transparent;padding:4px;font-size:11px;color:var(--brand)}.danger{color:#b85443}.heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tag{display:inline-flex;align-items:center;padding:3px 9px;border-radius:4px;font-size:10px;font-weight:600;white-space:nowrap}.green{background:#e8f0df;color:#6b8a4a}.amber{background:#f7edd6;color:#a28a4c}.gray{background:#eef1e9;color:#9aa68a}.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:white;border-radius:12px;margin-bottom:37px;padding:26px 0}.stats>div{padding:0 32px;display:flex;flex-direction:column}.stats>div+div{border-left:1px solid var(--line)}.stats span{font-size:11px;color:#94a083}.stats strong{font-size:37px;font-weight:650;letter-spacing:-.04em;line-height:1.5}.stats small{font-size:11px;font-weight:400;margin-left:10px;color:#9eaa8d}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-title h2>span{font-size:10px;border-radius:4px;background:#e9eedf;color:#8da076;padding:3px 6px;margin-left:10px;vertical-align:middle}.section-title>span{font-size:10px;color:#9aa78b}.tournament-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.tournament-card{display:block;width:100%;text-align:left;color:var(--ink);background:white;border:1px solid var(--line);border-radius:11px;padding:25px 25px 0;box-shadow:0 2px 3px #173e2603}.tournament-card:hover{border-color:#afc391}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.card-top>span:last-child{font-size:10px;color:#9baa8b}.tournament-card h2{font-size:19px;margin-bottom:10px}.tournament-card p{font-size:11px}.division-chips{display:flex;gap:6px;flex-wrap:wrap;margin:24px 0}.division-chips span{font-size:9px;border:1px solid #e6ebde;background:#fafbf7;color:#8d9d7a;padding:3px 7px;border-radius:3px}.card-bottom{border-top:1px solid #edf1e5;padding:18px 0;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9aac88}.card-bottom b{font-size:11px;color:var(--brand);font-weight:600}.hint-panel{display:flex;align-items:center;gap:20px;border:1px solid #e0e7d6;border-radius:9px;background:#ebf1e2;padding:23px 26px;margin-top:30px}.hint-panel>span{color:#8ca66b;font-size:28px}.hint-panel b{font-size:12px;color:#677e50}.hint-panel p{font-size:10px;color:#9baa88;margin-top:6px}.panel{padding:26px;border:1px solid var(--line);border-radius:10px;background:white;margin-bottom:24px}.panel h2{margin-bottom:20px}.panel .section-title h2{margin-bottom:0}.overview-grid{display:grid;grid-template-columns:1.04fr 1fr;gap:24px}.workflow{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid #eef2e7}.workflow>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eef4e3;color:#96ad77;font-size:10px;font-weight:700}.workflow b{font-size:12px;font-weight:600}.workflow small{font-size:10px;color:#9aac85;margin-left:auto}.workflow:last-of-type{border:0}.workflow+.full{margin-top:15px}.details{display:grid;grid-template-columns:80px minmax(0,1fr);gap:17px 12px;font-size:11px;margin:0 0 25px}.details dt{color:#98a588}.details dd{margin:0;overflow-wrap:anywhere}.details .text-button{display:block;font-size:10px;margin-top:5px}.help{font-size:11px;color:#94a083;margin-top:10px;line-height:1.9}.division-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:25px}.division-summary>div>div:first-child{display:flex;flex-direction:column;gap:6px}.division-summary b{font-size:12px}.division-summary span{font-size:10px;color:#a0ae90}.division-summary strong{font-size:27px;display:block;margin:13px 0}.division-summary small{font-size:10px;font-weight:400;color:#a3b08f}.progress{background:#edf2e2;border-radius:4px;height:5px}.progress i{display:block;height:100%;background:#a8c66f;border-radius:4px}.tabs{display:flex;gap:27px;border-bottom:1px solid var(--line);margin-bottom:28px;overflow-x:auto}.tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 0 14px;font-size:12px;color:#96a587;white-space:nowrap}.tabs button.active{color:var(--brand);border-color:var(--brand);font-weight:650}.tabs small{font-size:9px;padding:2px 5px;border-radius:3px;background:#eaf0df;margin-left:4px}.notice{font-size:11px;color:#a38c54;background:#fbf5e6;border:1px solid #eee6ce;border-radius:7px;padding:13px 16px;margin:14px 0 20px}.success{background:#edf5e1;border-color:#d9e9c6;color:#7b9958}.pre-line{white-space:pre-line;overflow-wrap:anywhere}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:18px}.toolbar input,.toolbar select{background:white;border:1px solid var(--line);border-radius:6px;padding:10px 12px;font-size:11px}.toolbar input{flex:1;max-width:380px}.toolbar select{max-width:280px}.toolbar>span{font-size:11px;color:#a0ad8f;margin-left:auto}.table-panel{padding:0;overflow:hidden}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left;font-size:11px}td,th{padding:16px 20px;border-bottom:1px solid #edf2e4}th{font-size:10px;font-weight:500;background:#fafcf6;color:#a0ad90}td>b{font-weight:550}td small{font-size:9px;color:#a7b297;display:block;margin-bottom:7px}.status-dot{font-size:9px;background:transparent}.status-dot:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%;display:inline-block;margin-right:5px}.cancelled{opacity:.5}.empty{padding:80px 22px;text-align:center}.empty h1{margin:15px 0}.empty p{margin:15px 0 25px}.empty .button{margin:5px}.draw-panel{padding:0;overflow:hidden}.draw-toolbar{padding:19px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;flex-wrap:wrap}.draw-toolbar select{background:transparent;border:0;font-size:12px;font-weight:650;color:var(--ink);max-width:300px}.draw-tools{display:flex;align-items:center;gap:14px;margin-left:auto}.save-status{font-size:10px;color:#96ac7c}.selection-hint{padding:12px 22px;color:#8aa65a;background:#f0f6df;font-size:11px}.draw-panel>.notice{margin:16px 22px}.draw-empty{padding:65px 20px;text-align:center}.draw-empty-icon{display:block;color:#ceddb8;font-size:54px;line-height:1.4;margin-bottom:15px}.draw-empty h3{font-size:18px;margin-bottom:10px}.draw-empty p{font-size:11px;margin-bottom:25px}.bracket-scroll{overflow:auto;padding:22px 26px 34px}.bracket{display:grid;grid-template-columns:repeat(var(--rounds),230px);gap:42px;min-width:max-content}.round{display:flex;flex-direction:column}.round>h3{text-align:center;padding:7px 0 15px;margin-bottom:19px;border-bottom:1px solid #eaf0df;font-size:11px;color:#a0b18a;font-weight:500}.round-matches{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:25px}.match{position:relative;border:1px solid #e1e9d5;border-radius:7px;background:#fcfdf9;margin:8px 0}.match-id{position:absolute;top:-17px;left:3px;font-size:8px;letter-spacing:.04em;color:#afbc9a}.slot{background:white;border:0;border-bottom:1px solid #e8efdc;border-radius:6px;width:100%;min-height:72px;padding:10px;display:flex;align-items:center;gap:7px;text-align:left;font-size:11px;color:#6b8055}.slot:last-child{border-bottom:0}.slot.selected{outline:2px solid #8dac59;outline-offset:-2px;background:#f3fae6}.slot[draggable=true]{cursor:grab}.slot[draggable=true]:hover{background:#f4f9eb}.slot b{font-weight:550;line-height:1.6;overflow-wrap:anywhere}.slot small{display:block;font-size:9px;color:#a8b694;margin-top:3px}.player-label{min-width:0}.seed-label{font-size:8px;color:#9ab77c;min-width:15px}.grip{font-size:16px;color:#bdcda8;margin-left:auto}.bye{font-size:10px;color:#b7c3a3}.invalid-entry{font-size:10px;color:#b5855b}.league-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:25px;padding:26px}.league{border:1px solid #e8efdb;background:#fcfdf9;border-radius:8px;padding:17px}.league>h3{display:flex;align-items:center;gap:8px;font-size:11px;color:#97ac7e;margin-bottom:17px}.league h3>span{width:26px;height:26px;display:grid;place-items:center;background:#eaf2dd;border-radius:5px;color:#92ab6a}.league h3 small{margin-left:auto;font-size:10px}.league .slot{border:1px solid #e6eddb;margin:7px 0}.league details{font-size:10px;color:#a1b18d;margin-top:17px}.league summary{cursor:pointer}.fixture{border-top:1px solid var(--line);padding-top:10px;margin-top:13px}.fixture p{font-size:9px;padding:4px 0}.fixture span{padding:0 7px;color:#b4c3a0}.finals-heading{font-size:12px;padding:15px 27px;border-top:1px solid var(--line)}.finals-heading small{font-size:10px;color:#9aab87;margin-left:12px}dialog{border:1px solid var(--line);border-radius:14px;padding:35px;max-width:780px;width:calc(100% - 30px);max-height:90vh;color:var(--ink);box-shadow:0 20px 100px #1a2e262b}dialog::backdrop{background:#1a2e2655;backdrop-filter:blur(3px)}dialog>.close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#a6b393;font-size:24px}dialog h2{font-size:23px;margin:4px 0 21px}dialog .heading-actions{justify-content:flex-end;margin-top:26px}.field{display:block;margin-bottom:18px}.field>span{font-size:11px;color:#90a17c;display:block;margin-bottom:7px}.field input,.field textarea,.field select{background:white;border:1px solid #dfe7d3;border-radius:6px;padding:10px 12px;font-size:12px;color:var(--ink);width:100%;min-height:42px;outline:0}.field input:focus,.field textarea:focus,.field select:focus{border-color:#98b478;box-shadow:0 0 0 3px #bed79c25}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.division-form-row{border:1px solid var(--line);border-radius:8px;background:#fbfcf8;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin-bottom:20px}.division-form-row>.field:nth-child(2){grid-column:1/-1}.form-error{color:#b45143;font-size:11px;margin-top:15px}.checkbox{font-size:11px;color:#879c6d;display:flex;gap:9px;align-items:flex-start;margin:20px 0}.checkbox input{margin-top:4px;accent-color:var(--brand)}.honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;opacity:0}.auth-grid{display:grid;grid-template-columns:1fr 420px;gap:70px;max-width:1100px;margin:65px auto 90px;align-items:start}.auth-copy{padding:30px 0}.auth-copy h1{font-size:36px;margin-bottom:23px}.auth-copy p{font-size:13px;line-height:2.3}.auth-features{display:flex;flex-direction:column;gap:21px;margin-top:55px}.auth-features span{font-size:11px;color:#acc491}.auth-features b{font-size:12px;color:#91a77a;font-weight:550;margin-left:20px}.auth-panel{padding:32px}.auth-panel h2{font-size:19px;margin-bottom:27px}.auth-links{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:23px}.auth-links button{border:0;background:transparent;font-size:10px;color:#99b27b}.landing{padding:70px 20px 100px}.landing h1{font-size:48px;margin:22px 0}.landing>p{font-size:13px;margin-bottom:30px}.landing>.button{margin-right:12px}.landing .help{margin-top:30px}.public-hero{margin-bottom:34px}.public-hero h1{margin:14px 0 11px}.public-hero p{font-size:12px}.public-columns{display:grid;grid-template-columns:1fr 1.03fr;gap:28px}.public-columns .panel>p{font-size:12px;line-height:2}.public-columns .details{margin-top:25px}.division-public{display:flex;flex-wrap:wrap;gap:7px 12px;padding:19px 0;border-top:1px solid var(--line)}.division-public b{width:100%;font-size:12px;font-weight:550}.division-public span,.division-public small{font-size:10px;color:#a1b38b}.division-public small{margin-left:auto}.public-form h3{font-size:12px;margin:23px 0 19px}.public-entry-row{margin-top:26px;border-top:1px solid var(--line)}.public-entry-row .section-title{margin-bottom:0}.privacy{font-size:10px;color:#a2b18b;background:#f7faf1;padding:14px;border-radius:6px;margin-top:22px}.receipt{max-width:650px;margin:35px auto;text-align:center;padding:45px}.success-icon{display:grid;place-items:center;width:65px;height:65px;background:#e9f2d6;color:#99b766;border-radius:50%;font-size:28px;margin:0 auto 25px}.receipt h1{font-size:26px;margin-bottom:14px}.receipt code{display:block;font-size:16px;letter-spacing:.1em;color:var(--brand);margin:17px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;z-index:10;max-width:calc(100% - 30px);padding:14px 23px;background:#2b5645;color:white;border-radius:9px;font-size:12px;transition:.2s;box-shadow:0 7px 25px #142b2622}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading{padding:100px;text-align:center;font-size:25px}
@media(max-width:1100px){.layout{grid-template-columns:195px minmax(0,1fr)}aside{padding:25px 14px}.content{padding:30px 25px}header{padding:0 25px}.stats>div{padding:0 22px}.draw-tools{margin-left:0}.section-title{align-items:flex-start}.section-title .heading-actions{justify-content:flex-end}.auth-grid{grid-template-columns:1fr 380px;gap:30px}.auth-copy h1{font-size:29px}.overview-grid{grid-template-columns:1fr}.tournament-card{padding:22px 20px 0}.tournament-card h2{font-size:17px}}
@media(max-width:760px){.layout{display:block}aside{height:auto;min-height:0;position:static;padding:17px 20px;display:grid;grid-template-columns:1fr auto;gap:10px}.brand{margin:0;font-size:11px;gap:9px}.brand b{display:inline;font-size:13px;margin-left:4px}.brand small,.workspace-label,.sidebar-add,.sidebar-note,.user-chip{display:none}.brand-icon{width:28px;height:31px;font-size:22px}aside select{font-size:10px;max-width:175px;align-self:center}nav{grid-column:1/-1;flex-direction:row;overflow-x:auto;gap:3px;padding-top:7px;margin-top:0}nav button{font-size:13px;padding:7px 10px;gap:6px;white-space:nowrap}nav span{font-size:10px}header{height:52px;padding:0 20px;font-size:10px}.content,.public-layout .content{padding:28px 20px}.page-heading{gap:20px;align-items:flex-start;flex-wrap:wrap;margin-bottom:25px}h1{font-size:27px}.detail-heading h1{font-size:25px}.page-heading p{font-size:11px}.stats{padding:19px 0;margin-bottom:26px;border-radius:8px}.stats>div{padding:0 14px}.stats span{font-size:9px}.stats strong{font-size:28px}.stats small{font-size:9px;margin-left:5px}.tournament-grid{grid-template-columns:1fr;gap:16px}.section-title{gap:12px;flex-wrap:wrap;margin-bottom:17px}.section-title h2{font-size:16px}.tournament-card h2{font-size:18px}.hint-panel{padding:17px;gap:12px}.hint-panel p{font-size:9px}.hint-panel b{font-size:11px}.panel{padding:20px;margin-bottom:18px}.panel h2{font-size:16px}.tabs{gap:22px;margin-bottom:22px}.tabs button{font-size:11px}.overview-grid{gap:0}.division-summary{grid-template-columns:1fr;gap:12px}.toolbar{gap:7px;flex-wrap:wrap}.toolbar input{max-width:none;flex:1 1 100%}.toolbar select{max-width:85%;font-size:10px}.table-panel,.draw-panel{padding:0}td,th{padding:13px 15px}.draw-toolbar{padding:15px;gap:10px}.draw-toolbar select{max-width:100%;width:100%}.draw-tools{width:100%;gap:9px;flex-wrap:wrap}.draw-tools .save-status{margin-right:auto;font-size:9px}.draw-toolbar>.tag{display:none}.draw-empty{padding:45px 20px}.draw-empty h3{font-size:16px}.draw-empty p{font-size:10px}.bracket-scroll{padding:22px 18px 28px}.bracket{grid-template-columns:repeat(var(--rounds),205px);gap:28px}.league-grid{padding:17px;grid-template-columns:1fr;gap:16px}.finals-heading{padding:15px 18px}.finals-heading small{display:block;margin:7px 0 0}.primary,.soft{font-size:11px;padding:10px 13px}.small-button{font-size:10px;padding:5px 10px;min-height:31px}.heading-actions{gap:7px}footer{margin:0 20px;gap:10px;flex-wrap:wrap;font-size:8px;padding:22px 0}footer span,footer small{font-size:8px}.auth-grid{grid-template-columns:1fr;gap:20px;margin:15px auto 30px;max-width:450px}.auth-copy{padding:10px 0}.auth-copy h1{font-size:27px;margin-bottom:12px}.auth-copy p{font-size:11px}.auth-features{display:none}.auth-panel{padding:24px}.landing{padding:40px 3px 70px}.landing h1{font-size:36px}.landing>p{font-size:12px}.public-brand{font-size:11px}.public-brand small{display:none}.public-columns{grid-template-columns:1fr;gap:0}.public-hero h1{font-size:27px}.public-hero .back-link{font-size:10px}.public-columns .panel>p{font-size:11px}.form-grid{grid-template-columns:1fr}.public-entry-row .form-grid{grid-template-columns:1fr 1fr}.division-form-row{padding:17px 12px 6px;gap:0 12px}.division-form-row .field>span{font-size:10px}dialog{padding:27px 22px}dialog h2{font-size:21px}.receipt{padding:30px 20px;margin:15px 0}.receipt h1{font-size:23px}.help{font-size:10px}}

/* Legible operating controls; low contrast is limited to decorative copy. */
:root{--muted:#697562}nav button,.muted-link,.help,.field>span,.details dt,.save-status,.card-top>span:last-child,.division-chips span,.toolbar>span,th,td small,.slot small,.round>h3,.match-id,.league>h3,.league details,.fixture p,.division-public span,.division-public small,.privacy{color:#6c785f}.card-bottom,.hint-panel p,.workflow small,.eyebrow,.tabs button,.public-hero .back-link{color:#6b7b5e}.gray{color:#6e7a5f}.green{color:#4f6f36}.amber{color:#8b6a2f}.slot{color:#42553b}.tag{font-size:11px}.field>span,.help{font-size:12px}.bracket{position:relative}.bracket-lines{position:absolute;left:0;top:0;pointer-events:none;overflow:visible}.bracket-lines path{stroke:#bccca9;stroke-width:1.2;fill:none}.round{position:relative;z-index:1}.fixture p{overflow-wrap:anywhere}.status-dot.green{color:#4f6f36}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,15px);padding:14px 22px;border-radius:8px;background:#274c40;color:white;font-size:12px;box-shadow:0 5px 20px #163b3620;opacity:0;pointer-events:none;transition:.2s;z-index:10000;max-width:90vw;width:max-content}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading{padding:90px;text-align:center;font-size:25px;color:var(--brand)}.loading p{font-size:12px;margin-top:20px}.receipt{max-width:650px;margin:30px auto;text-align:center;padding:40px}.receipt code{display:block;background:#f1f5e8;border:1px solid #dbe5cc;border-radius:5px;padding:13px;margin:15px 0;font-size:15px;color:#567145}.success-icon{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 23px;background:#e7f0d9;border-radius:50%;color:#6d9250;font-size:25px}.receipt h1{font-size:28px;margin:10px 0 15px}.receipt .soft{margin-top:20px}.receipt>.notice{text-align:left}.public-entry-row .field{min-width:0}



/* Competition matrices and event operations */
.matrix-section{margin:22px 0;padding:18px;border:1px solid var(--line);border-radius:9px;background:white}.matrix-section h3{display:flex;align-items:center;gap:8px}.league-matrix{border-collapse:collapse;width:100%;min-width:580px}.league-matrix th,.league-matrix td{border:1px solid var(--line);padding:9px;text-align:center;vertical-align:middle;min-width:74px}.league-matrix thead th{background:#eef2e8}.league-matrix thead th:first-child{min-width:210px}.league-matrix tbody th{text-align:left;min-width:210px}.league-matrix .slot{width:100%;min-height:62px;border:0;background:none;padding:3px;box-shadow:none}.matrix-diagonal{background:#edf0e8;color:#acb5a1}.matrix-cell{border:0;background:none;display:flex;flex-direction:column;align-items:center;width:100%;min-height:60px;padding:0}.league-matrix td>small,.matrix-cell small{display:block;color:#697d5c}.league-matrix td>span,.matrix-cell span{display:block;font-size:11px;white-space:nowrap}.won,.lost{display:block;font-size:18px}.won{color:#22614e}.lost{color:#8a5945}.matrix-index{font-size:10px;color:var(--muted)}.match-result{padding:7px 12px;background:#edf3e7;font-size:11px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.match-result .text-button{margin-left:auto}.match-result span{font-size:10px}.schedule-table{width:100%;border-collapse:collapse;min-width:650px}.schedule-table th,.schedule-table td{border:1px solid var(--line);vertical-align:top;min-width:160px;padding:8px}.schedule-table th{background:#eef2e8}.schedule-table th:first-child{min-width:85px;width:85px}.schedule-slot{border:1px solid transparent;background:#f6f8f1;border-radius:5px;width:100%;text-align:left;padding:10px;min-height:100px}.schedule-slot b,.schedule-table td>b,.schedule-slot span,.schedule-table td>span{display:block}.schedule-slot span,.schedule-table td>span{font-size:11px;margin-top:8px}.selected{outline:2px solid #609543!important;outline-offset:-2px}.schedule-panel{margin-top:20px}.toolbar{flex-wrap:wrap}#print-sheet{display:none}
@media(max-width:700px){.section-title{flex-wrap:wrap}.matrix-section{padding:10px}.draw-toolbar{flex-wrap:wrap}.heading-actions{gap:6px}.toolbar{height:auto}}

#print-sheet{display:none}


.setup-panel{max-width:720px;margin:35px auto;padding:35px}.setup-panel h2{margin:24px 0 15px}.setup-panel>.heading-actions{margin-top:25px}.auth-links p{margin:12px 0}.toolbar label{display:flex;flex-direction:column;gap:4px;font-size:11px}.toolbar input,.toolbar select{max-width:280px}.toolbar .field{margin-bottom:0}.system-tag{padding:6px 10px}.tournament-card b{pointer-events:none}.matrix-section .league-matrix{font-variant-numeric:tabular-nums}

/* Completed matches use the current validated result, including live updates. */
.schedule-table td.schedule-complete{background:#e4f2eb;border-color:#adcdbb}.schedule-complete .schedule-slot{background:#e4f2eb;border-color:#adcdbb}.schedule-finished{display:block;margin-top:8px;color:#235941}.schedule-finished strong{display:inline-block;margin-right:4px;padding:2px 7px;border-radius:4px;background:#285e50;color:#fff;font-size:10px}.schedule-legend{display:flex;align-items:center;gap:6px}.schedule-complete-key{display:inline-block;width:13px;height:13px;border:1px solid #adcdbb;border-radius:3px;background:#e4f2eb}

.league-matrix tr.league-leader>th,.league-matrix tr.league-leader>td{background:#fff1ce}.league-matrix tr.league-leader>th{box-shadow:inset 4px 0 #c99b35}.league-matrix tr.league-leader>.matrix-diagonal{background:#f2e4be}.winner-badge{display:inline-block;border-radius:4px;background:#775a1e;color:white;font-size:10px;font-weight:700;padding:2px 7px;margin:4px}.slot.knockout-winner{background:#fff1ce;border-left:4px solid #c99b35;font-weight:700}.knockout-winner .winner-badge{margin-left:auto;flex-shrink:0}

/* Screen and paper use the same results, with a compact paper summary. */
.league-summary{min-width:90px}.league-summary>span{display:block;line-height:1.45}.game-scores .game-score,.game-scores .game-separator{display:inline;font-size:inherit}
@media print{
 @page{size:A4 portrait;margin:9mm}
 body{background:#fff;line-height:1.2}
 body>*:not(#print-sheet){display:none!important}
 #print-sheet{display:block!important;color:#111;background:white;font-size:8pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #print-sheet h1{font-size:15pt;line-height:1.2;margin:0 0 2mm}
 #print-sheet>p{font-size:8pt;color:#333;margin-bottom:3mm}
 #print-sheet .print-key{font-size:6.5pt;margin:0 0 2mm}
 #print-sheet .print-division{break-before:auto}
 #print-sheet .print-division>h2{font-size:11pt;margin:3mm 0 2mm;break-after:avoid}
 #print-sheet button,#print-sheet details,#print-sheet .help,#print-sheet .grip,#print-sheet .seed-label{display:none!important}
 #print-sheet .table-scroll,#print-sheet .bracket-scroll{overflow:visible!important}
 #print-sheet .matrix-section{border:0;border-radius:0;background:white;padding:0;margin:0 0 4mm;break-inside:avoid}
 #print-sheet .section-title{display:block!important;margin:0 0 1mm;break-after:avoid}
 #print-sheet .section-title>button{display:none!important}
 #print-sheet .matrix-section h3{font-size:9pt;gap:2mm;line-height:1.2;margin:0}
 #print-sheet .league h3>span{width:auto;height:auto;background:none;color:#111;border-radius:0}
 #print-sheet .matrix-section h3 small{font-size:7pt;margin:0}
 #print-sheet .league-matrix{width:100%;min-width:0;table-layout:fixed;font-size:8pt;white-space:normal}
 #print-sheet .league-matrix th,#print-sheet .league-matrix td{min-width:0;padding:1mm .7mm;border:.2mm solid #666;line-height:1.15;color:#111;vertical-align:middle}
 #print-sheet .league-matrix thead th{font-size:7.5pt;background:#eee;font-weight:600}
 #print-sheet .league-matrix thead th:first-child,#print-sheet .league-matrix tbody th{min-width:0;width:31%;text-align:left}
 #print-sheet .league-matrix .league-summary{display:table-cell;width:13%;font-size:7pt;white-space:nowrap}
 #print-sheet .league-summary span{display:block;margin:0;color:#111;font-size:7pt;line-height:1.25}
 #print-sheet .league-matrix th:last-child{width:6%}
 #print-sheet .league-matrix tr.league-leader>th{box-shadow:inset 2px 0 #c99b35}
 #print-sheet .league-matrix td:last-child{font-size:12pt}
 #print-sheet .league-matrix .slot{display:block;min-width:0;min-height:0!important;margin:0!important;padding:0!important;border:0;border-radius:0;background:transparent;color:#111;font-size:8pt}
 #print-sheet .slot b{font-size:8pt;line-height:1.15;font-weight:500}
 #print-sheet .slot small,#print-sheet .player-label small{font-size:6.5pt;line-height:1.15;margin:0;color:#333;overflow-wrap:anywhere}
 #print-sheet .matrix-index{float:left;margin-right:1mm;font-size:6pt}
 #print-sheet .league-matrix td>small{font-size:6pt;line-height:1;margin:0 0 .4mm;color:#555}
 #print-sheet .won,#print-sheet .lost{font-size:9pt;line-height:1;margin:0}
 #print-sheet .league-matrix .game-scores{font-size:7pt;line-height:1.1;white-space:normal}
 #print-sheet .game-scores .game-score{display:block;font-size:7pt}
 #print-sheet .game-separator{display:none}
 #print-sheet .winner-badge{font-size:6pt;margin:.3mm;padding:.3mm 1mm}
 #print-sheet .finals-heading{break-before:auto;break-after:avoid;font-size:10pt;padding:1mm 0;margin:2mm 0;border:0}
 #print-sheet .finals-heading small{display:inline;font-size:7pt;margin-left:2mm}
 #print-sheet .bracket-scroll{padding:2mm 0 3mm;break-inside:avoid}
 #print-sheet .bracket{grid-template-columns:repeat(var(--rounds),minmax(0,1fr));min-width:0;gap:5mm}
 #print-sheet .round{min-width:0}
 #print-sheet .round>h3{font-size:8pt;padding:0 0 1mm;margin:0 0 4mm;color:#111;border-color:#aaa}
 #print-sheet .round-matches{gap:4mm}
 #print-sheet .match{width:auto;border:.2mm solid #888;border-radius:0;margin:1mm 0;break-inside:avoid}
 #print-sheet .match-id{font-size:6pt;top:-3mm;color:#333}
 #print-sheet .match>.slot{min-height:0;padding:1mm 1.5mm;border-radius:0;font-size:7pt;line-height:1.2;color:#111;overflow-wrap:anywhere}
 #print-sheet .match-result{font-size:7pt;padding:.7mm 1mm;gap:1mm;background:#eee}
 #print-sheet .match-result span{font-size:6pt}
 #print-sheet .bracket-lines{display:block;overflow:visible}
 #print-sheet .bracket-lines path{stroke:#555;stroke-width:1;fill:none;vector-effect:non-scaling-stroke}
 #print-sheet.print-combined>.print-schedule{break-before:page}
 #print-sheet .print-schedule>h2{font-size:11pt;margin:0 0 2mm}
 #print-sheet .schedule-panel{margin:0;border:0;padding:0}
 #print-sheet .schedule-table{min-width:0;width:100%;table-layout:fixed;font-size:7pt;white-space:normal}
 #print-sheet .schedule-table th,#print-sheet .schedule-table td{min-width:0;padding:1.5mm;border:.2mm solid #888;font-size:7pt;overflow-wrap:anywhere}
 #print-sheet .schedule-table th:first-child{width:13mm}
 #print-sheet .schedule-table td>span{font-size:7pt;margin-top:1mm}
 #print-sheet .schedule-finished{font-size:6.5pt;margin-top:1mm}
 #print-sheet .schedule-finished strong{font-size:6pt}
 #print-sheet tr{break-inside:avoid}
 #print-sheet thead{display:table-header-group}
}

.knockout-club{overflow-wrap:anywhere}

.preliminary-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;gap:0 18px;border:0;padding:0;margin:0;min-width:0}.preliminary-settings[hidden]{display:none}

.tournament-meta-label{display:block;font-size:10px;letter-spacing:.08em;color:var(--muted);margin-bottom:4px}

.description-template-tools{margin:-5px 0 22px}.description-template-tools .help{margin-top:6px}.template-warning[hidden]{display:none}.template-warning .heading-actions{margin-top:8px;justify-content:flex-start}

.third-place-panel{max-width:320px;margin:24px 0 0}.third-place-panel>h3{font-size:13px;margin:0 0 24px}.third-place-panel>.match{margin:0}.third-place-panel .slot .player-label{flex:1}
@media print{#print-sheet .third-place-panel{width:65mm;max-width:100%;margin:3mm 0 0;break-inside:avoid}#print-sheet .third-place-panel>h3{font-size:9pt;margin:0 0 4mm}}

.third-place-note{font-size:12px;margin-top:14px;color:var(--muted)}

/* One vector image for print avoids hidden-element and beforeprint timing issues. */
.print-static-bracket{display:none}
@media print{
 #print-sheet .bracket{display:block;break-inside:avoid}
 #print-sheet .bracket>.round,#print-sheet .bracket-lines{display:none!important}
 #print-sheet .print-static-bracket{display:block!important;width:100%;height:auto;position:static;overflow:visible}
}

/* ENTRY STUDIO · TSUMUGI / brand system */
:root{--ink:#203d37;--muted:#65756e;--brand:#183f39;--lime:#d9e9b8;--line:#dfe5de;--bg:#f5f5f0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
.brand-mark{display:block;flex:0 0 auto;width:44px;height:44px}.brand-wordmark{display:block;font-weight:750;line-height:1.2;letter-spacing:.025em;font-size:16px;color:var(--brand);white-space:nowrap}.brand-wordmark b{display:inline;font-size:inherit}.brand-wordmark small{display:block;font-size:9px;font-weight:500;letter-spacing:.16em;margin:7px 0 0;color:var(--muted)}.public-brand{display:flex;align-items:center;gap:12px}.public-brand .brand-mark{width:36px;height:36px}.public-brand .brand-wordmark{font-size:15px}
@media screen{
 h1{letter-spacing:-.035em;font-weight:750}h2{font-weight:700}p{color:var(--muted)}.help,.field>span,.details dt,.privacy{color:var(--muted)}
 .layout{grid-template-columns:250px minmax(0,1fr)}aside{background:#183f39;color:#f3f6ed;border:0;padding:32px 20px 20px}.brand{gap:11px;margin-bottom:38px}.brand .brand-wordmark{color:#fff;font-size:16px}.brand .brand-wordmark b{display:block;font-size:19px}.brand .brand-wordmark small{color:#b8cabd}.brand .brand-mark{width:46px;height:46px;border:1px solid #ffffff24;border-radius:14px}.workspace-label{color:#a8c0b4;font-size:9px}.sidebar-add{color:#d7e4d6}.sidebar-add:hover{color:#fff}aside select{background:#ffffff0b;color:#f2f5ec;border-color:#ffffff29;min-height:42px;font-size:12px;padding:10px}aside select option{color:#203d37;background:#fff}
 nav{gap:7px;margin-top:26px}nav button{color:#c0d2c5;min-height:45px;padding:12px 14px;border-radius:9px}nav button:hover{background:#ffffff0b;color:#fff}nav span{font-size:13px}nav button.active{background:#d9e9b8;color:#183f39;box-shadow:0 3px 10px #0000000b}.sidebar-note{padding:36px 12px 25px}.sidebar-note>span{color:#9fbc9b;font-size:28px;letter-spacing:-.04em}.sidebar-note p{color:#b7cbc0;font-size:11px;line-height:1.9}.user-chip{border-color:#ffffff24;color:#edf3e9}.user-chip>span{background:#34564a;color:#dceacb}.user-chip small{color:#b4c8bc}.user-chip button{color:#dce8df;padding:8px}
 header{height:82px;background:#fff;border-color:var(--line);font-size:12px;color:#65756e}.content{padding:36px 40px 44px}.page-heading{margin-bottom:30px}.page-heading p{font-size:13px;color:#65756e}.eyebrow{font-size:10px;letter-spacing:.16em}.muted-link{color:#466458;font-size:12px}.back-link{color:#526e61;font-size:12px}.page-heading .tag{font-size:11px}.detail-heading h1{font-size:30px}.tag{border-radius:6px;padding:4px 10px}.green{background:#edf4df;color:#41643e}.gray{background:#edf0ec;color:#637168}.amber{background:#faf0dd;color:#89602c}
 .primary,.soft,.button{border-radius:9px;min-height:43px;font-size:13px;padding:11px 18px}.primary{box-shadow:0 3px 7px #183f3914}.primary:hover:enabled{background:#2c5849}.soft{border-color:#d5dfd4;color:#345b4a}.soft:hover:enabled{background:#f1f5e9}.text-button{font-size:12px}.small-button{font-size:12px;min-height:34px}.danger{color:#af4c3f}
 .panel{border-radius:14px;border-color:#dfe5de;box-shadow:0 3px 14px #173c2c03;padding:26px}.table-panel,.draw-panel{padding:0}.stats{border-radius:14px;padding:25px 0;box-shadow:0 3px 14px #173c2c03}.stats span{font-size:12px;color:#63766a}.stats strong{font-size:40px;font-weight:700;color:#224b3d}.stats small{color:#6d7f71}.tournament-grid{gap:20px}.tournament-card{border-radius:14px;box-shadow:0 4px 18px #173c2c04;transition:border-color .15s,box-shadow .15s}.tournament-card:hover{border-color:#9bb79a;box-shadow:0 7px 22px #173c2c0b}.tournament-card h2{font-size:20px;line-height:1.6}.tournament-card p,.card-top>span:last-child,.card-bottom{font-size:12px;color:#667a6b}.division-chips span{color:#566d59;font-size:11px;background:#f7f9f2;border-color:#e0e7da;padding:4px 9px;border-radius:5px}.card-bottom b{font-size:12px}.section-title h2{font-size:19px}.hint-panel{background:#edf2e4;border-color:#dce5d1;border-radius:12px}.hint-panel b{font-size:13px;color:#466243}.hint-panel p{font-size:12px;color:#61765b}.workflow b,.details,.division-summary b{font-size:13px}.workflow small,.division-summary span{font-size:12px;color:#64765e}.workflow>span{background:#edf3df;color:#4e6b43}.details{line-height:1.8}.tabs button{font-size:13px;color:#617461}.tabs button.active{border-bottom-width:3px}
 .field{margin-bottom:20px}.field>span{font-size:12px;font-weight:550;margin-bottom:8px}.field input,.field select,.field textarea{border-color:#d5dfd3;border-radius:9px;background:#fcfdfa;min-height:46px;font-size:14px;padding:11px 13px}.field input:focus,.field select:focus,.field textarea:focus{background:white;border-color:#638365;box-shadow:0 0 0 3px #7899651a}.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid #638365;outline-offset:1px}.division-form-row{background:#f8faf5;border-color:#dfe5d9;border-radius:12px}.toolbar input,.toolbar select{font-size:13px;border-radius:8px;min-height:43px}.notice{font-size:12px;line-height:1.9;border-radius:9px}.form-error{font-size:12px}.help{font-size:12px}td,th{font-size:12px}th{color:#5f735f;font-weight:600;background:#f7f9f3}td small{font-size:11px;color:#65765e}dialog{border:1px solid #dfe5d9;border-radius:18px;box-shadow:0 24px 100px #142e2a30;padding:32px}dialog::backdrop{background:#153b3260;backdrop-filter:blur(3px)}
 .public-layout{display:block}.public-layout header{height:88px;background:#fff}.public-layout .content{padding-top:38px}.public-hero h1{letter-spacing:-.035em}.public-hero{padding-bottom:28px}.public-hero p{color:#637467}.entry-form{border-radius:14px}.division-public{border-color:#dfe5d9}.tournament-meta-label{font-size:11px;font-weight:600;color:#65766b}.privacy{font-size:12px;line-height:1.9}footer{color:#617563;letter-spacing:.04em}footer span{font-size:11px;color:#647361}footer small{font-size:10px;color:#72806e}
 .auth-grid{grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:0;max-width:1080px;margin:35px auto 55px;border:1px solid #dce4d7;border-radius:22px;background:#fff;box-shadow:0 18px 65px #193e3210;overflow:hidden;align-items:stretch}.auth-copy{background:#183f39;color:#f6f8ef;padding:48px 42px;position:relative}.auth-copy>.eyebrow{color:#bacf9e;font-size:10px}.auth-copy h1{font-size:37px;line-height:1.65;letter-spacing:-.035em;color:#f7f8ef;margin:18px 0 20px;text-wrap:balance}.auth-copy>p{color:#c0d0c4;font-size:12px;line-height:2.2}.auth-panel{border:0;border-radius:0;box-shadow:none;margin:0;padding:52px 36px;align-self:center}.auth-panel>.eyebrow{font-size:9px;color:#7b8b75;margin-bottom:10px}.auth-panel h2{font-size:23px;margin-bottom:32px}.auth-panel .primary{min-height:48px;margin-top:7px}.auth-links{gap:10px;margin-top:22px}.auth-links button,.auth-links a{font-size:11px;color:#526e58}.auth-links p{font-size:11px;margin:3px 0 8px;text-align:left;line-height:1.9}.auth-story{border:1px solid #ffffff25;border-radius:13px;margin-top:30px;padding:18px 20px;background:#ffffff05}.story-caption{display:flex;justify-content:space-between;align-items:center;color:#9cb8a7;font-size:8px;letter-spacing:.17em}.story-caption i{font-style:normal;color:#b9d59c}.story-flow{display:flex;align-items:center;justify-content:space-between;margin:22px 0;color:#f2f6e9;font-size:10px;letter-spacing:.1em}.story-flow i{font-style:normal;color:#9eb78e}.story-bracket{height:62px;position:relative;margin:15px 0}.story-bracket>span{display:block;position:absolute;width:24%;height:10px;left:0;border:1px solid #8aa48d;border-radius:4px}.story-bracket>span:nth-child(1){top:0}.story-bracket>span:nth-child(2){top:25px}.story-bracket>span:nth-child(3){top:50px}.story-bracket b{position:absolute;left:24%;top:5px;width:30%;height:50px;border-top:1px solid #8aa48d;border-right:1px solid #8aa48d;border-bottom:1px solid #8aa48d}.story-bracket b:before{content:'';position:absolute;top:24px;width:100%;border-top:1px solid #8aa48d}.story-bracket i{position:absolute;left:54%;top:30px;width:46%;border-top:1px solid #bed7a5}.story-bracket i:after{content:'';width:9px;height:9px;border-radius:50%;background:#d8b186;position:absolute;right:0;top:-5px}.auth-story>p{font-size:11px;color:#c5d4c3;margin-top:16px}.auth-copy>.tsumugi-promise{font-size:12px;color:#e7eddc;margin-top:30px}.tsumugi-promise span{font-size:8px;letter-spacing:.22em;display:block;color:#a6bea9;margin-top:8px}.loading{font-size:28px;letter-spacing:.06em}.loading p{font-size:13px}
}
@media screen and (max-width:1100px){.layout{grid-template-columns:215px minmax(0,1fr)}.public-layout{display:block}.content{padding:28px}.brand .brand-wordmark{font-size:14px}.auth-copy{padding:38px 28px}.auth-copy h1{font-size:31px}.auth-panel{padding:40px 28px}.auth-grid{margin:15px auto 35px}.public-layout .content{padding:28px}.overview-grid{grid-template-columns:1fr}}
@media screen and (max-width:760px){.layout{display:block}aside{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;height:auto;min-height:0;padding:17px 18px}.brand{margin:0;gap:9px}.brand .brand-mark{width:34px;height:34px;border:0}.brand .brand-wordmark{font-size:13px}.brand .brand-wordmark b{display:inline;font-size:13px}.brand .brand-wordmark small{display:none}aside select{max-width:145px;min-height:37px;font-size:11px}.workspace-label,.sidebar-note{display:none}.user-chip{display:flex;grid-column:1/-1;border:0;padding:0;justify-content:flex-end}.user-chip>span,.user-chip>div{display:none}.user-chip button{min-height:32px;font-size:15px;padding:0 10px}.user-chip button:before{content:'ログアウト ';font-size:11px}nav{margin:0;padding-top:4px;gap:5px}nav button{min-height:38px;padding:9px 10px;font-size:13px}nav span{font-size:11px}header{height:60px;padding:0 18px;font-size:11px;gap:8px}header i{margin:0 6px}header>div{gap:9px}.content,.public-layout .content{padding:26px 18px}.public-layout header{height:77px}.public-brand{gap:9px}.public-brand .brand-wordmark{font-size:13px}.public-brand .brand-mark{width:31px;height:31px}.public-brand .brand-wordmark small{font-size:8px;margin:4px 0 0}.muted-link{font-size:10px}h1,.detail-heading h1{font-size:25px}.page-heading{gap:16px}.page-heading p{font-size:12px}.panel{padding:20px;border-radius:12px}.table-panel,.draw-panel{padding:0}.stats{padding:18px 0}.stats>div{padding:0 12px}.stats strong{font-size:29px}.stats span,.stats small{font-size:10px}.tournament-card{padding:22px 19px 0}.tournament-card h2{font-size:18px}.section-title h2{font-size:17px}.heading-actions{gap:7px}.primary,.soft,.button{font-size:12px;min-height:42px;padding:10px 13px}.toolbar input,.toolbar select{max-width:100%}.field input,.field select,.field textarea{font-size:16px;min-height:46px}.auth-grid{grid-template-columns:1fr;max-width:500px;margin:0 auto 20px;border-radius:17px}.auth-copy{padding:27px 25px}.auth-copy h1{font-size:28px;line-height:1.55;margin:10px 0 12px}.auth-copy>p{font-size:11px;line-height:2}.auth-story{display:none}.auth-copy>.tsumugi-promise{font-size:11px;margin-top:18px}.tsumugi-promise span{display:inline;margin-left:10px;font-size:7px}.auth-panel{padding:28px 25px}.auth-panel h2{font-size:21px;margin-bottom:25px}.auth-panel>.eyebrow{font-size:8px}.auth-links button{min-height:36px}.auth-links p{font-size:11px}.auth-panel .field input{font-size:16px}dialog{padding:26px 20px;border-radius:14px;max-width:calc(100vw - 24px)}footer{margin:0 18px;padding:22px 0;gap:10px;flex-wrap:wrap}footer span{font-size:10px}footer small{margin-left:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media screen and (max-width:760px){.brand .brand-mark{width:34px;height:34px;border-radius:11px}.brand .brand-wordmark{font-size:12px}.brand .brand-wordmark b{display:inline;font-size:12px;margin:0}.brand .brand-wordmark small{display:none}.brand{gap:8px;min-width:0}aside select{max-width:145px}.user-chip{min-width:0}.auth-panel .primary{min-height:46px}}
@media screen and (max-width:380px){aside{padding:16px 14px}aside select{max-width:125px}.brand .brand-wordmark{font-size:11px}.brand .brand-wordmark b{font-size:11px}header{padding:0 14px}.public-brand .brand-wordmark{font-size:12px}}

/* Compact operations view. Paper layouts stay independent. */
@media screen{
 aside{height:100vh;height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#78958a #183f39;padding-bottom:24px}
 aside>*{flex-shrink:0}.user-chip>div{min-width:0;overflow-wrap:anywhere}.user-chip>button{flex-shrink:0}.sidebar-note{padding-top:26px;padding-bottom:22px}
 .bracket-scroll{padding:20px 16px 22px}.bracket{grid-template-columns:repeat(var(--rounds),210px);gap:32px}.round-matches{gap:20px}.match>.slot{min-height:54px;padding:7px 9px;gap:5px}.slot b{line-height:1.4}.slot small{margin-top:2px;line-height:1.4}.match-result{padding:5px 8px;gap:5px;min-height:29px;font-size:11px}.match-result .text-button{font-size:11px;padding:3px 2px;min-height:25px}.winner-badge{font-size:9px;padding:2px 5px;margin:2px}.match .winner-badge{margin-left:auto}
 .matrix-section{padding:14px;margin:16px 0}.matrix-section>.section-title{margin-bottom:12px}.league-matrix{--matrix-name:164px;--matrix-cell:62px;--matrix-summary:77px;--matrix-rank:38px;table-layout:fixed;width:100%;min-width:calc(var(--matrix-name) + var(--matrix-players,4)*var(--matrix-cell) + var(--matrix-summary) + var(--matrix-rank))}
 .league-matrix th,.league-matrix td{min-width:0;padding:5px 6px;font-size:11px;white-space:normal;line-height:1.35;overflow-wrap:anywhere}
 .league-matrix thead th{width:var(--matrix-cell);font-size:11px}.league-matrix thead th:first-child,.league-matrix tbody th{width:var(--matrix-name);min-width:0}.league-matrix .league-summary{width:var(--matrix-summary);min-width:0;font-size:10px}.league-matrix th:last-child,.league-matrix td:last-child{width:var(--matrix-rank);min-width:0;padding-left:3px;padding-right:3px}
 .league-matrix .slot{min-height:45px;padding:2px;margin:0;border:0;font-size:11px;line-height:1.4}.league-matrix .slot small{font-size:9px}.league-matrix .slot b{line-height:1.4}.matrix-cell{min-height:44px;line-height:1.25}.matrix-cell small,.league-matrix td>small{font-size:9px;line-height:1.2}.matrix-cell span,.league-matrix td>span{font-size:10px;white-space:normal}.league-matrix .won,.league-matrix .lost{font-size:15px;line-height:1.2}.league-summary>span{line-height:1.35}.matrix-section>.help{font-size:11px;line-height:1.6;margin-top:8px}
 .schedule-table{--court-width:130px;--time-width:54px;width:100%;min-width:calc(var(--court-count,1)*var(--court-width) + var(--time-width));table-layout:fixed;font-variant-numeric:tabular-nums}
 .schedule-table th,.schedule-table td{min-width:0;padding:6px;font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}.schedule-table th:first-child{position:sticky;left:0;z-index:2;width:var(--time-width);min-width:0;padding:6px 3px;white-space:nowrap;text-align:center;background:#eef2e8;box-shadow:1px 0 #d8e2d1}.schedule-table thead th:first-child{z-index:3}.schedule-table abbr{border:0;text-decoration:none}.schedule-table td>b,.schedule-slot b{font-size:10px;line-height:1.4}.schedule-slot{padding:5px;min-height:70px;border-radius:4px;white-space:normal;overflow-wrap:anywhere;line-height:1.45}.schedule-slot span,.schedule-table td>span{font-size:11px;margin-top:4px;line-height:1.45}.schedule-panel .table-scroll{isolation:isolate;overscroll-behavior-x:contain}.schedule-legend{font-size:11px}
}
@media screen and (max-width:760px){
 aside{height:auto;min-height:0;overflow:visible;position:static}.user-chip{padding-bottom:2px}.content,.public-layout .content{padding-left:12px;padding-right:12px}
 .bracket-scroll{padding:18px 10px 16px}.bracket{grid-template-columns:repeat(var(--rounds),160px);gap:23px}.round>h3{font-size:11px;margin-bottom:19px}.round-matches{gap:17px}.match>.slot{min-height:45px;padding:5px 7px;gap:3px;font-size:11px}.match>.slot b{line-height:1.35}.match>.slot small{font-size:9px;line-height:1.3}.match-id{font-size:9px}.match-result{padding:3px 6px;gap:3px;font-size:10px;min-height:26px}.match-result span{font-size:9px}.match-result .text-button{font-size:10px;padding:3px 1px;min-height:24px}.match .winner-badge{font-size:8px;padding:1px 4px}.third-place-panel{max-width:190px;margin-top:18px}
 .matrix-section{padding:9px;margin:12px 0}.matrix-section h3{gap:5px;font-size:12px}.matrix-section h3 small{font-size:9px}.matrix-section>.section-title{margin-bottom:8px}.league-matrix{--matrix-name:120px;--matrix-cell:50px;--matrix-summary:62px;--matrix-rank:29px}.league-matrix th,.league-matrix td{padding:3px 4px;font-size:10px;line-height:1.3}.league-matrix thead th{font-size:10px}.league-matrix .league-summary{font-size:9px}.league-matrix .slot{min-height:39px;padding:1px;gap:3px;font-size:10px}.league-matrix .slot small{font-size:8px;line-height:1.3}.league-matrix .slot b{line-height:1.3}.league-matrix .matrix-cell{min-height:36px}.matrix-cell small,.league-matrix td>small{font-size:8px}.matrix-cell span,.league-matrix td>span{font-size:9px;line-height:1.25}.league-matrix .won,.league-matrix .lost{font-size:13px}.league-summary>span{line-height:1.3}.matrix-index{font-size:8px}.matrix-section>.help{font-size:10px;line-height:1.5}.matrix-section .winner-badge{font-size:8px;padding:1px 4px;margin:1px}.matrix-section .small-button{font-size:10px;min-height:32px;padding:5px 8px}
 .schedule-table{--court-width:96px;--time-width:42px}.schedule-table th,.schedule-table td{padding:4px;font-size:10px;line-height:1.35}.schedule-table th:first-child{padding:4px 2px;font-size:10px}.schedule-table td>b,.schedule-slot b{font-size:9px;line-height:1.3}.schedule-slot{padding:3px;min-height:60px}.schedule-slot span,.schedule-table td>span{font-size:10px;line-height:1.35;margin-top:3px}.schedule-legend{font-size:10px}
}

/* Team events: roster and individual match sheets. */
.team-settings{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:18px;border:1px solid var(--line);border-radius:10px;margin:0 0 20px;background:#f2f6ea}.team-settings[hidden]{display:none}.team-settings>.help,.team-rubber-types{grid-column:1/-1}.team-rubber-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px}.team-entry-fields[hidden]{display:none}.team-entry-fields{grid-column:1/-1}.team-roster-header,.team-roster-row{display:grid;grid-template-columns:140px minmax(0,1fr);border-bottom:1px solid var(--line);align-items:stretch}.team-roster-header{background:#f0f4e9;font-weight:600}.team-roster-header>*,.team-roster-row>b{padding:12px;font-size:12px;overflow-wrap:anywhere}.team-member-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));align-content:start}.team-member-grid>span{padding:10px 6px;font-size:12px;line-height:1.6;border-left:1px solid var(--line);border-bottom:1px solid var(--line);overflow-wrap:anywhere}.team-result-editor{border:1px solid var(--line);border-radius:9px;margin:18px 0;padding:14px}.team-result-editor>summary{cursor:pointer;color:var(--brand);font-weight:650;font-size:13px;min-height:32px}.team-rubber-editor{padding:18px 0;border-top:1px solid var(--line);margin-top:14px}.team-rubber-editor>h3{margin-bottom:16px}.team-rubber-editor .field{margin-bottom:12px}.team-tie{padding:20px 0;border-top:1px solid var(--line);margin-top:15px}.team-tie h3{line-height:1.8}.team-tie h3 strong{display:inline-block;margin:0 12px;color:var(--brand);font-size:19px}.team-tie>.section-title{margin-bottom:10px}.team-detail-table{table-layout:fixed;white-space:normal;min-width:360px}.team-detail-table th,.team-detail-table td{overflow-wrap:anywhere;padding:10px 12px;text-align:center}.team-detail-table th:first-child{width:65px}.team-result-section>h3{font-size:17px}
@media screen and (max-width:760px){.team-roster-header,.team-roster-row{grid-template-columns:85px minmax(0,1fr)}.team-roster-header>*,.team-roster-row>b{padding:8px 5px;font-size:11px}.team-member-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.team-member-grid>span{padding:6px 4px;font-size:10px}.team-rubber-types{grid-template-columns:repeat(2,minmax(0,1fr))}.team-settings{padding:12px;gap:0 10px}.team-detail-table th,.team-detail-table td{padding:7px;font-size:11px}.team-tie h3 strong{font-size:16px;margin:0 6px}.team-result-editor{padding:10px}}
@media print{#print-sheet .team-tie{break-inside:avoid;padding:2mm 0;margin-top:2mm}#print-sheet .team-tie h3{font-size:10pt}#print-sheet .team-tie h3 strong{font-size:12pt}#print-sheet .team-result-section,#print-sheet .panel{border:0;padding:0;box-shadow:none}#print-sheet .team-detail-table{min-width:0}#print-sheet .team-detail-table td,#print-sheet .team-detail-table th{font-size:8pt;padding:1mm}#print-sheet .team-roster-row{break-inside:avoid}#print-sheet .team-member-grid>span{font-size:7pt;padding:1mm}}
.team-roster-header,.team-roster-heading{background:#f0f4e9}.team-roster-table .team-roster-row{border-top:1px solid var(--line)}
@media screen and (max-width:760px){.team-member-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.team-roster-header,.team-roster-row{grid-template-columns:92px minmax(0,1fr)}.team-roster-row>b{font-size:11px;padding:9px 6px}.team-member-grid>span{font-size:10px;padding:8px 4px}.team-rubber-types{grid-template-columns:repeat(2,minmax(0,1fr))}}
.team-detail-table td.team-detail-winner{background:#edf4df;font-weight:650}

/* Honor conditional form fields even when .field sets display:flex. */
.field[hidden]{display:none!important}

.pdf-presets{margin:16px 0}.pdf-choice-list{margin:16px 0}.pdf-choice-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding:12px 0}.pdf-choice-row label{display:flex;align-items:center;gap:10px;min-width:0}.pdf-choice-row label small{display:block}.pdf-choice-row input{width:18px;height:18px;flex-shrink:0}.pdf-choice-row>div{display:flex;gap:5px;flex-shrink:0}.pdf-order{font-weight:700;color:var(--brand);min-width:16px}@media print{#print-sheet .print-output-section+.print-output-section{break-before:page}#print-sheet .print-output-section{display:block}}

.auth-guide{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.auth-guide a{display:block;color:var(--brand);font-weight:650;font-size:13px;margin:8px 0}.guide-onboarding{display:grid;grid-template-columns:85px 1fr auto;gap:22px;align-items:center;background:#edf3df;border:1px solid #d3dfba;border-radius:14px;padding:24px;margin-bottom:26px}.guide-onboarding h2{margin:5px 0}.guide-onboarding p{font-size:12px}.guide-play{display:grid;place-items:center;height:70px;border-radius:10px;background:#183f39;color:#dcebb9;font-size:30px}aside nav a.sidebar-guide{display:block;padding:12px 16px;border:1px solid #608173;border-radius:9px;color:#e4eee6;margin-top:16px;font-size:13px}@media(max-width:720px){.guide-onboarding{grid-template-columns:60px 1fr;gap:14px;padding:18px}.guide-onboarding .primary{grid-column:1/-1;text-align:center}.guide-play{height:60px}}

/* Keep mobile navigation at one row; Safari must not stretch or shrink its items. */
@media screen and (max-width:760px){
 .layout>aside{grid-template-rows:auto auto auto;grid-auto-rows:auto;align-content:start;align-items:center;gap:10px;height:auto;min-height:0;padding:14px 16px}
 .layout>aside>nav{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;align-self:start;grid-column:1/-1;min-width:0;width:100%;height:46px;min-height:46px;max-height:46px;margin:0;padding:2px 0;overflow-x:auto;overflow-y:hidden;gap:6px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
 .layout>aside>nav>button,.layout>aside>nav>a.sidebar-guide{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;align-self:center;height:40px;min-height:40px;max-height:40px;width:auto;margin:0;padding:9px 12px;line-height:20px;white-space:nowrap;font-size:12px;border-radius:8px;box-sizing:border-box}
 .layout>aside>nav>button span{font-size:12px;line-height:20px}
 .layout>aside>.user-chip{height:26px;min-height:0;margin:0;padding:0;align-self:center}
 .layout>aside>.user-chip>button{height:26px;min-height:0;line-height:24px;padding:0 4px}
 .layout>aside>.sidebar-add{grid-column:1/-1;margin:0;padding:5px;text-align:left}
}
