.portal{width:min(1180px,calc(100% - 36px));margin:26px auto 58px;color:var(--text,#18283d)}
.portal-hero{padding:28px 30px;border:1px solid var(--line,#dbe4ef);border-radius:18px;background:linear-gradient(135deg,#edf8ff,#fff);box-shadow:0 12px 32px rgba(14,69,112,.08)}
.portal-hero>span{color:var(--accent,#079ee8);font-size:11px;font-weight:800;letter-spacing:.16em}.portal-hero h1{margin:7px 0 5px;font-size:28px}.portal-hero p{margin:0;color:var(--dim,#718197);font-size:13px}
.portal-tabs{display:flex;gap:7px;margin:16px 0;overflow-x:auto;padding:2px}.portal-tabs a{flex:0 0 auto;padding:9px 13px;border:1px solid var(--line,#dbe4ef);border-radius:999px;background:var(--card,#fff);color:var(--text-2,#43536b);font-size:12px;text-decoration:none}.portal-tabs a.is-active{border-color:var(--accent,#079ee8);background:var(--accent,#079ee8);color:#fff}
.portal-content{min-height:260px}.portal-loading,.portal-empty{padding:50px 20px;border:1px dashed var(--line,#dbe4ef);border-radius:15px;text-align:center;color:var(--dim,#718197);background:var(--card,#fff)}
.portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-card{padding:20px;border:1px solid var(--line,#dbe4ef);border-radius:16px;background:var(--card,#fff);box-shadow:0 7px 20px rgba(25,60,96,.06)}.portal-card.wide{grid-column:1/-1}.portal-card h2{margin:0 0 13px;font-size:17px}.portal-card h3{font-size:14px}.portal-card p.portal-note{color:var(--dim,#718197);font-size:12px;line-height:1.65}
.portal-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.portal-stat{padding:15px;border-radius:12px;background:var(--bg,#f3f7fb)}.portal-stat span{display:block;color:var(--dim,#718197);font-size:11px}.portal-stat strong{display:block;margin-top:6px;color:var(--accent,#079ee8);font-size:21px}.portal-kv{display:grid;gap:1px;border:1px solid var(--line,#dbe4ef);border-radius:12px;overflow:hidden}.portal-kv div{display:flex;justify-content:space-between;gap:20px;padding:11px 13px;background:var(--bg,#f6f8fb);font-size:12px}.portal-kv span{color:var(--dim,#718197)}
.portal-form{display:grid;gap:13px}.portal-form label{display:grid;gap:6px;color:var(--dim,#718197);font-size:12px}.portal-form input,.portal-form select,.portal-form textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid var(--line,#dbe4ef);border-radius:9px;background:var(--bg,#f8fafc);color:var(--text,#18283d);font:inherit}.portal-form textarea{min-height:130px;resize:vertical}.portal-form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.portal-actions{display:flex;gap:8px;flex-wrap:wrap}.portal-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border:0;border-radius:9px;background:var(--accent,#079ee8);color:#fff;font:inherit;font-size:12px;font-weight:750;text-decoration:none;cursor:pointer}.portal-button.secondary{border:1px solid var(--line,#dbe4ef);background:var(--bg,#f4f7fb);color:var(--text-2,#43536b)}.portal-button.danger{background:#c94f62}.portal-button:disabled{opacity:.5;cursor:not-allowed}
.portal-message{min-height:18px;color:var(--dim,#718197);font-size:12px}.portal-message.is-error{color:#d1445a}.portal-message.is-ok{color:#168866}.portal-money{font-variant-numeric:tabular-nums}.portal-money.in{color:#168866}.portal-money.out{color:#d1445a}
.portal-table-wrap{overflow:auto;border:1px solid var(--line,#dbe4ef);border-radius:12px}.portal-table{width:100%;min-width:760px;border-collapse:collapse;font-size:12px}.portal-table th,.portal-table td{padding:12px 11px;border-bottom:1px solid var(--line,#e5ebf2);text-align:left;vertical-align:top}.portal-table th{background:var(--bg,#f4f7fb);color:var(--dim,#718197);font-weight:650}.portal-table tr:last-child td{border-bottom:0}.portal-table small{display:block;margin-top:4px;color:var(--dim,#718197)}
.portal-badge{display:inline-flex;padding:3px 8px;border-radius:999px;background:#edf2f7;color:#516176;font-size:10px;font-weight:700}.portal-badge.REQUESTED,.portal-badge.OPEN,.portal-badge.CLAIMED{background:#fff4d7;color:#8e6500}.portal-badge.APPROVED,.portal-badge.ANSWERED,.portal-badge.PUBLISHED,.portal-badge.ACTIVE{background:#e3f3ff;color:#086da2}.portal-badge.PAID,.portal-badge.CLOSED,.portal-badge.CONFIRMED,.portal-badge.REDEEMED,.portal-badge.WON{background:#dff6ec;color:#147c5a}.portal-badge.REJECTED,.portal-badge.CANCELED,.portal-badge.LOST,.portal-badge.DISABLED{background:#fce8eb;color:#a83b4e}
.portal-list{display:grid;gap:10px}.portal-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:15px;border:1px solid var(--line,#dbe4ef);border-radius:12px;background:var(--card,#fff);color:inherit;font:inherit;text-align:left;cursor:pointer}.portal-list-item:hover{border-color:var(--accent,#079ee8)}.portal-list-item.is-unread{border-left:4px solid var(--accent,#079ee8);background:color-mix(in srgb,var(--accent,#079ee8) 6%,var(--card,#fff))}.portal-list-item strong{min-width:0;overflow:hidden;text-overflow:ellipsis}.portal-list-item>span{color:var(--dim,#718197);font-size:11px}.portal-list-item h3{margin:0 0 5px}.portal-list-item p{margin:0;color:var(--dim,#718197);font-size:12px;line-height:1.55;white-space:pre-wrap}.portal-list-item time{color:var(--dim,#718197);font-size:10px}.portal-plain-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.portal-thread-post{padding:13px 0;border-bottom:1px solid var(--line,#dbe4ef)}.portal-thread-post:last-child{border-bottom:0}.portal-thread-post.is-admin{padding-left:13px;border-left:3px solid var(--accent,#079ee8)}.portal-thread-meta{margin-bottom:7px;color:var(--dim,#718197);font-size:11px}.portal-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.portal-toolbar>div{display:flex;gap:7px;flex-wrap:wrap}.portal-toolbar input,.portal-toolbar select{height:39px;border:1px solid var(--line,#dbe4ef);border-radius:8px;padding:0 10px;background:var(--card,#fff);color:inherit}
.portal-rich-body{line-height:1.8;word-break:break-word}.portal-rich-body p{margin:0 0 8px}.portal-rich-body li{margin:0 0 6px 18px}.portal-rich-body img{display:block;max-width:100%;height:auto;margin:14px auto;border-radius:10px}
.portal-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.portal-day{aspect-ratio:1;display:grid;place-items:center;border:1px solid var(--line,#dbe4ef);border-radius:10px;background:var(--bg,#f7f9fc);font-size:12px}.portal-day.is-done{border-color:#69cbb0;background:#e8f8f2;color:#147c5a;font-weight:700}.portal-modal{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:18px;background:rgba(8,27,46,.62)}.portal-modal article{width:min(660px,100%);max-height:85vh;overflow:auto;padding:22px;border-radius:16px;background:var(--card,#fff);color:var(--text,#18283d)}.portal-modal header{display:flex;justify-content:space-between;gap:12px}.portal-modal header button{border:0;background:none;font-size:24px;color:inherit}.portal-modal-body{white-space:pre-wrap;line-height:1.75;font-size:13px}
@media(max-width:760px){.portal{width:calc(100% - 20px);margin:12px auto 76px}.portal-hero{padding:21px 18px}.portal-hero h1{font-size:22px}.portal-grid{grid-template-columns:1fr}.portal-card.wide{grid-column:auto}.portal-stat-grid{grid-template-columns:1fr 1fr}.portal-form-row{grid-template-columns:1fr}.portal-card{padding:15px}.portal-tabs{margin:10px 0 13px}.portal-list-item{grid-template-columns:1fr}.portal-calendar{gap:4px}.portal-day{border-radius:7px}}
.usdt-card .usdt-address{display:flex;align-items:center;gap:8px;max-width:100%}.usdt-card .usdt-address code{display:block;min-width:0;overflow-wrap:anywhere;color:var(--text,#17202a);font-weight:800}.usdt-card .usdt-address button{flex:none;border:0;border-radius:8px;padding:7px 11px;background:#07599d;color:#fff;font-weight:800;cursor:pointer}.usdt-card .usdt-field{display:grid;gap:9px}.usdt-card .usdt-field input{width:100%;box-sizing:border-box;border:1px solid var(--line,#dbe2ea);border-radius:9px;padding:12px;background:#fff}.usdt-warning{margin:14px 0;padding:12px 14px;border:1px solid #f0d7a6;border-radius:10px;background:#fff9ed;color:#795512;font-size:13px;line-height:1.6}@media(max-width:760px){.account-tabs{overflow-x:auto;white-space:nowrap}.usdt-card .usdt-address{align-items:flex-start;flex-direction:column}}
.deposit-rules .rules-scroll{min-height:96px;padding:16px;border:1px solid var(--line,#dfe7f1);border-radius:10px;background:var(--bg,#f7f9fc);color:var(--text-2,#526176);font-size:13px;white-space:pre-wrap;line-height:1.8}

/* USDT forms deliberately share the same visual language as the KRW cashier. */
.usdt-card .deposit-section,.usdt-card .withdraw-amount{margin:14px 0;padding:18px;border:1px solid var(--line,#dbe4ef);border-radius:12px;background:var(--card,#fff)}
.usdt-card .deposit-section h3,.usdt-card .withdraw-amount>label{display:block;margin:0 0 12px;color:var(--accent,#079ee8);font-size:15px;font-weight:850}
.usdt-card .withdraw-input{display:flex;align-items:center;overflow:hidden;border:1px solid #cfdbea;border-radius:9px;background:#fff;box-shadow:0 0 0 3px transparent;transition:.18s}
.usdt-card .withdraw-input:focus-within{border-color:var(--accent,#079ee8);box-shadow:0 0 0 3px rgba(7,158,232,.1)}
.usdt-card .withdraw-input input{flex:1;min-width:0;height:48px;padding:0 14px;border:0!important;outline:0;background:#fff;color:var(--text,#18283d);font-size:18px;font-weight:800;text-align:right}
.usdt-card .withdraw-input span{align-self:stretch;display:grid;place-items:center;min-width:66px;padding:0 12px;background:#edf6fc;color:#176b9b;font-size:13px;font-weight:850}
.usdt-card .withdraw-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.usdt-card .withdraw-buttons button{min-height:40px;padding:7px;border:1px solid #cfdbea;border-radius:8px;background:#f7fafc;color:#344b63;font-size:12px;font-weight:800;cursor:pointer}
.usdt-card .withdraw-buttons button:hover{border-color:var(--accent,#079ee8);background:#edf8ff;color:#087bb5}
.usdt-card .withdraw-buttons .withdraw-all{border-color:var(--accent,#079ee8);background:var(--accent,#079ee8);color:#fff}
.usdt-card .withdraw-note{margin:10px 0 0;color:var(--dim,#718197);font-size:12px}.usdt-card .withdraw-note strong{color:var(--accent,#079ee8)}
.usdt-card .bonus-section{background:#fbfdff}.usdt-card .deposit-submit{width:100%;min-height:48px;border:0;border-radius:9px;background:var(--accent,#079ee8);color:#fff;font-size:14px;font-weight:850;cursor:pointer}
@media(max-width:760px){.usdt-card .withdraw-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.usdt-card .deposit-section,.usdt-card .withdraw-amount{padding:14px}}

/* 공지는 목록형, 이벤트는 이미지 갤러리형으로 구분한다. */
body[data-site-page="portal"] .holland-events-page{max-width:100%;margin:24px auto 70px;padding:0 18px}
body[data-site-page="portal"] .holland-events-page .post-thumb{display:grid;height:100%;place-items:center;background:linear-gradient(135deg,#d8ecff,#f6f9ff);color:#079ee8;font-size:34px}
.holland-static-page .board-list{display:grid;gap:9px}
.holland-static-page .board-list .post{display:grid;grid-template-columns:minmax(0,1fr);border-radius:9px}
.holland-static-page .board-list .post-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 18px;align-items:center;padding:14px 17px}
.holland-static-page .board-list .post-body h3{grid-column:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.holland-static-page .board-list .post-body p{grid-column:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.holland-static-page .board-list .post-body small{grid-column:2;grid-row:1/3;white-space:nowrap;color:#8192a5}
.holland-static-page .board-event-gallery{display:grid;max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.holland-static-page .board-event-gallery .event-post{display:block;width:100%;max-width:100%;overflow:hidden;border:1px solid var(--line,#dbe4ef);border-radius:12px;background:var(--card,#fff);color:inherit;text-decoration:none}
.holland-static-page .board-event-gallery .post-thumb{overflow:hidden;padding:0}
.holland-static-page .board-event-gallery .post-thumb img{display:block;width:100%;height:auto;object-fit:cover;object-position:center top}
.board-modal-backdrop .board-modal{width:min(800px,100%)}
.portal-modal>article{width:min(800px,100%)}
.board-modal .board-rich-body{word-break:break-word;line-height:1.8}
.board-modal .board-rich-body p{margin:0 0 0;white-space:pre-wrap;font-size:14px}
.board-modal .board-rich-body ul{margin:0 0 14px;padding:12px 14px 12px 32px}
.board-modal .board-rich-body img{display:block;max-width:100%;height:auto;margin:14px auto;border-radius:8px}
@media(max-width:760px){body[data-site-page="portal"] .holland-events-page .gallery{grid-template-columns:1fr}.holland-static-page .board-list .post-body{grid-template-columns:minmax(0,1fr);padding:12px}.holland-static-page .board-list .post-body small{grid-column:1;grid-row:auto}.holland-static-page .board-event-gallery{grid-template-columns:1fr}.board-modal-backdrop .board-modal{width:100%}}
/* Coupon totals stay readable on both the desktop wallet and the compact
   mobile portal. Older tenant themes did not style this newer component. */
.coupon-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.coupon-summary article{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--line,#dfe5ed);border-radius:12px;background:var(--card,#fff)}.coupon-summary span{color:var(--dim,#718096);font-size:12px;white-space:nowrap}.coupon-summary strong{font-size:20px;font-variant-numeric:tabular-nums}@media(max-width:700px){.coupon-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.coupon-summary article{padding:12px}.coupon-summary strong{font-size:17px}}
